Tool/software:
1. Debugger requires Power-On Reset (POR) to run project
On first-time debugging of an example project on the AM263Px LaunchPad, the application runs successfully.
However, on subsequent debug attempts (after terminating the debug session), the project does not run unless I perform a Power-On Reset (POR).
If I try to debug without a POR, the CPU halts and enters an infinite while
loop, as shown in the attached image.
Is it expected that a POR is required before each debug session?
Or is there a recommended way to recover or reinitialize the SoC state (e.g., via CCS reset, GEL script, or software reset) without performing a POR?
2. R5FSS core configuration and status register behavior
I am importing the HelloWorld example from MCU+ SDK and attempting to change the core configuration by writing to the R5FSS control register:
HW_WR_REG32(0x50D00020, 0x07000000); // Attempting to set dual-core mode
Then, I read the R5FSS_0 Status Register (0x50D00010), but I always get the value: 0x00000001
This same value is read even without modifying any core configuration.
According to the TRM, the default boot configuration should place the R5F cores in lockstep mode, in which case the 8th bit (bit 7) of the status register should be 1. However, this bit remains 0 in my case.
Am I missing some initialization step or sequencing requirement before reading the R5FSS status register? Should the default boot mode not reflect lockstep mode in the status register?