We have a device that needs to be switched to serial bootloader mode from the device program (without pressing buttons).
1) Can I go to the bootloader by the jump command to the address? (LDR R0, ORR R0, BX R0)
2) If you can not switch to a bootloader in this way, then, as I know, it is possible to set the word in the CCFG area at CCFG_O_IMAGE_VALID_CONF to a value other than 0x00000000, which means that the firmware will not be validated, and will start the bootloader after restart.
How can I change the value of the CCFG scope?
HWREG(CCFG_BASE + CCFG_O_IMAGE_VALID_CONF) = 0x1; does not work
ti_lib_flash_sector_erase(0x50000000); also does not work.