SWCU193A April 2023 – August 2024 CC2340R2 , CC2340R5 , CC2340R5-Q1
This command is sent to the bootloader to indicate where to store data and how many bytes are sent by the BLDR_CMD_SEND_DATA commands that follow. The command consists of two 32-bit values that are both transferred MSB first.
The first 32-bit value is the address to start programming data into, while the second is the 32-bit size of the data that is to be sent.
This command should be followed by BLDR_CMD_GET_STATUS to ensure that the program address and program size were valid for the device running the bootloader.
Byte | Field | Description |
---|---|---|
0 | cmdId | BLDR_CMD_DOWNLOAD command ID |
1 | Program Address [31:24] | Start address of the download |
2 | Program Address [23:16] | |
3 | Program Address [15:8] | |
4 | Program Address [7:0] | |
5 | Program Size [31:24] | Number of bytes (length of the download) |
6 | Program Size [23:16] | |
7 | Program Size [15:8] | |
8 | Program Size [7:0] |