AN 425: Using the Command-Line Jam STAPL Solution for Device Programming

ID 683089
Date 12/09/2016
Public
Document Table of Contents

1.7.3.1. Estimating ROM Usage

Figure 12. Equation to Estimate the Maximum Required ROM SizeUse this equation to estimate the maximum amount of ROM required to store the Jam STAPL Byte-Code Player and the .jbc.


The .jbc size can be separated into these categories:

  • The amount of memory required to store the programming data.
  • The space required for the programming algorithm.
Figure 13. Equation to Estimate .jbc Size

This equation provides a .jbc size estimate that may vary by ±10%, depending on device utilization. If device utilization is low, .jbc sizes tend to be smaller because the compression algorithm used to minimize file size will more likely find repetitive data.

This equation also indicates that the algorithm size stays constant for a device family but the programming data size grows slightly as more devices are targeted. For a given device family, the increase in the .jbc size caused by the data component is linear.



  • Alg stands for space used by the algorithm
  • Data stands for space used by the compressed programming data
  • k stands for the index representing the device being targeted
  • N stands for the number of target devices in the chain