Background
The CC2642 is reset and started in its ROM bootloader mode.
Bootloader configuration:
All Sectors are erased and each erase command is followed by an ACK response and GET_STATUS command that returns a good response.
The DOWNLOAD command is sent with a start address of 0x00000000, and number of bytes to write of 0x00058000. The DOWNLOAD
command is followed by the send data commands to deliver all the chunks.
The are 1430 chunks of 252 bytes each, plus a final one of 88 bytes. (360448 = 88 + (252*1430) total size of flash = final chunk +
problem
The problem is that the 1430th SEND data command returns an ACK followed by a COMMAND_STATUS failure code == COMMAND_RET_INVALID_ADR 0x43?
The ROM Bootloader was sent a start address of 0 and number of bytes of 0x58000, so why does it stop here?
note: I am going to try sending another CC264x_CMD_DOWNLOAD = 0x21, command to send the final chunk.
Thanks,
Dan