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.