The NXP Flasher communicates with the MCU via Serial Data Protocol (SDP). This protocol is used for the MCU Bootloader and Flashloader.
Communication with the MCU Bootloader is used to scan the MCU and load the indicated Flashloader binary file to the indicated RAM address and boot it from the indicated address.
If the Flashloader is loaded the following set of commands is used by the NXP Flasher:
DLL Function | Descritpion | Config File related values | Flashloader related command (blhost) |
---|---|---|---|
F_AutoProgram() | The autoprogram executes a sequence of commands:
| All values associated with the commands contained in Autoprogram | |
F_Connect() | |||
F_Load_Flashloader() | |||
F_MemoryConfig() | External memory configuration sequence. Uses two commands: loading configuration word and running configure memory | Memory_Configuration_Address | fill-memory configure-memory |
F_Write() | Image file programming command depending on file type | Image_FileName, | write-memory if file extension of Image_FileName is .bin or .srec receive-sb-file if file extension of Image_FileName is .sb |
F_Verify() | |||
F_Read() | |||
F_OTP_Write() | |||
F_OTP_Verify() | |||
F_OTP_Read() | |||
F_Erase() | flash-erase-region if EraseAll = 0 flash-erase-all if EraseAll = 1 | ||
F_GetProperty() | |||
F_SetProperty() |