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
Select the "Build image" tab
Browse image file
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
Change the tab to "Write image"
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.
Browse for the file "write_image_win.bat"
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.
Select the command from the list in which you want to correct the path
Click browse and look for the file in the appropriate path.
Overwrite command.
Save the configuration file
Click “OK” button to complete the autoprogram configuration
In the main window, execute the “AUTO PROG. (F8)”