I am using a TMS570LS3137 HDK dev board and with the demo code it will power up and execute the program.
When I create a new program using HALCoGen (Version 3.0) the code will run from the built in debugger.
The program (put in sys_main.c) simply loops turning on and off one of the LEDs. I can unplug the debugger USB cable and hit either reset and the program will run. But when I power cycle the HDK dev board itself the nERROR led comes on and the program does not run and no reset makes the program run.
Does the HALCoGen startup code work form power up? I tried both the TMS570LS3137 as the HAL target and the TMS570LS3137HDK as the target with the same result. I did not change any HALCoGen settings.
Thanks,
John