Hello.
I'm developing a system using RM57. There is a problem with start up. ESM stat2 has 0x8 and turn on the red led when I turn on the system and it arrive main(). I wrote the post about similar problem at here http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/366644.aspx. I've resolved it to add this code next line to _c_int00(void).
esmREG-EKR = 0xA
esmREG->EKR = 0x0
It works fine before I use the FreeRTOS. I've made a new project with HALCoGen 'RM57_FreeRTOS'. I added above 2 lines code at same place. But led is turned on and ESM stat2 register has 0x8. I tried following the code on debug mode and found the line that make problem. it is __TI_auto_init(), it is occured when the function is executed.
Is it related using FreeRTOS? or what is problem..
Regards,
Wonjae