This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: IMAGE_VALID_CONF (and resetVectorAddress) has to be multiple of 0x80

Part Number: CC2640R2F
Other Parts Discussed in Thread: LAUNCHXL-CC2640R2

Tool/software:

Following up on this question, I also encountered such issue during development using LAUNCHXL-CC2640R2. If I set IMAGE_VALID_CONF (and resetVectorAddress) to 0x70, the device will boot successfully upon flashing a new image but fail to boot for all subsequent system resets. I dug into the disassembly and found that the boot process would fail in this IsAppImageValid() function. Specifically, the line "tst.w r5, #0x7f" tests if the value of IMAGE_VALID_CONF register is a multiple of 0x80. If not, the app image is treated as invalid. I wonder what is the purpose of this requirement? This is also not stated anywhere in the Technical Reference Manual.