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

ID 683089
Date 12/09/2016
Document Table of Contents Definitions of .jam and .jbc Action and Procedure Statements

Table 3.  Definitions of .jam Action Statements
Action Description
Program Programs the device.
Blankcheck Checks the erased state of the device.
Verify Verifies the entire device against the programming data in the .jam or .jbc.
Erase Performs a bulk erase of the device.
Read_usercode Returns the JTAG USERCODE register information from the device.
Configure Configures the device.
Init_configuration Specifies that the configuration device configures the attached devices immediately after programming.
Check_idcode Compares the actual device IDCODE with the expected IDCODE generated in the .jam and .jbc.
Table 4.  Definitions of .jam Procedure Statements
Procedure Description
do_blank_check When enabled, the device is blank-checked.
do_secure When enabled, the security bit of the device is set.
do_read_usercode When enabled, the player reads the JTAG USERCODE of the device and prints it to the screen.
do_disable_isp_clamp When enabled, the ISP clamp mode of the device is ignored.
do_low_temp_programming When enabled, the procedure allows the industrial low temperature ISP for MAX 3000A, 7000B, and 7000AE devices.
do_bypass_cfm When enabled, the procedure performs the specified action only on the user flash memory (UFM).
do_bypass_ufm When enabled, the procedure performs the specified action only on the configuration flash memory (CFM).
do_real_time_isp When enabled, the real-time ISP feature is turned on for the ISP action being executed.
do_init_configuration When enabled, the configuration device configures the attached device immediately after programming.
do_halt_on_chip_cc When enabled, the procedure halts the auto-configuration controller to allow programming using the JTAG interface. The nSTATUS pin remains low even after the device is successfully configured.
do_ignore_idcode_errors When enabled, the procedure allows configuration of the device even if an IDCODE error exists.
do_erase_all_cfi When enabled, the procedure erases the common flash interface (CFI) flash memory that is attached to the parallel flash loader (PFL) of the MAX 10, MAX V, or MAX II device.
do_epcs_unprotect When enabled, the procedure removes the protection mode of the serial configuration devices (EPCS).