User-defined Windows Scripts
Users can also write custom scripts on Windows to call command-line programs. Two sample script files are provided in the GR5xxx_script file in the GProgrammer installation directory.
GR5xxx, representing the name of SoC series, includes GR551x.
encryptAndSignatureFirmware.bat can encrypt and sign firmware with firmware_origin.bin in the same directory and the files saved in the eFuse directory. The encrypted and signed firmware is available in firmware_encryptAndSign\firmware_encryptAndSign.bin.
program_Firmware_EncryptAndSign.bat can erase all internal flash memories, and download the firmware firmware_encryptAndSign\firmware_encryptAndSign.bin and save the firmware file in the internal flash memories.