/
Auto Program Preparation

Auto Program Preparation

Gangflasher-N allows importing a list of commands from a .bat file produced in MCUXpresso Secure Provisioning provided by NXP.

MCUXpresso Secure Provisioning Tool

  1. Select the "Build image" tab

  2. Browse image file

  3. Depending on the type of file, you need to complete the image loading address. For .bin files, you have to set the address yourself. For .srec files, the address is filled automatically.

 

Successful configuration allows programming and creation of write_image_win.bat file

  1. Change the tab to "Write image"

  2. Preview the file "write_image_win.bat"

 

The sample file content which is shown below contains a list of commands used in IMXRT programming.

The command list can be imported into Gangflasher-N in the Auto Program window.

  1. Browse for the file "write_image_win.bat"

  2. Note whether the paths after importing the file are correct.

Once imported, the paths to the files may need to be fixed. This can be done by selecting the command from the list , fix the path in the dedicated field and overwrite the command.

  1. Select the command from the list in which you want to correct the path

  2. Click browse and look for the file in the appropriate path.

  3. Overwrite command.

  4. Save the configuration file

  5. Click “OK” button to complete the autoprogram configuration

In the main window, execute the “AUTO PROG. (F8)”

 

Related content