Other Parts Discussed in Thread: SYSCONFIG, SYSBIOS
Request for assistance.
I have a complex program (see below) running on custom target hardware. I am not using an RTOS. I am not using the Bootloader. I have stripped down the project.syscfg to only 2 LEDs.
The code will ONLY run when I load and run with a debugger. I can pause and terminate the debugger and it continues to run.
When I disconnect the JTAG probe and reconnect, the program will not run. The same is true when I power up the board with external power and no debug probe.
I am using a CC1352P1F3 RevE microcontroller and have reviewed the Errata sheet SWRZ076D.
I have 5 Rev 4 prototype boards and they all do not run without debugger.
I have 2 Rev 3 prototype boards. One works fine and the other fails (same as above).
I have actually loaded the code onto a LaunchXL CC1352P-4 Evaluation Board and it works fine.
Any thoughts on solving this issue?
Code snippet:
int main(void)
{
Board_init();
NoRTOS_start();
while (1)
{
GPIO_write(GrnLED, 1);
__delay_cycles( DELAY_1S );
GPIO_write(GrnLED, 0);
__delay_cycles( DELAY_1S );
}
}