Part Number: LAUNCHXL-F280049C
I load my program into flash and it runs fine. When I subsequently power the board again the program does not run until I press the reset button. Reset button always works, power on reset never works.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: LAUNCHXL-F280049C
I load my program into flash and it runs fine. When I subsequently power the board again the program does not run until I press the reset button. Reset button always works, power on reset never works.
Jeffrey,
How are the boot mod pins configured? Try flash boot configuration.
Please take a look at this FAQ: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/878674/faq-flash---how-to-modify-an-application-from-ram-configuration-to-flash-configuration
Thanks and regards,
Vamsi
It is configured for flash boot. I've read the referenced FAQ and all seems to be correct. My problem is not that the code is not in flash or not that it doesn't boot. The problem is that it acts different if I power up the board or if I press the reset button.
Is there a difference between the reset button and power up reset?
1. If I load the program into flash from CCS, the program runs and responds to serial input as expected.
2. If I disconnect power and reconnect it, the program does not respond to serial input until I press the reset button.
So, the program is in flash and runs after a manual reset but not on power up (without a manual reset).
Hi Jeffrey,
Is there a difference between the reset button and power up reset?
There are some additional steps performed by BOOTROM code when power-up like all the RAMs are initialized to 0x0 which is not the case with normal reset. So yes, there is some difference.
Have you changed any setting in USER OTP section ?
Regards,
Vivek Singh
But if I follow a power up with a normal reset, it works. Just not with a power up.
No changes in USER OTP
Is it possible to probe the XRSn pin along with BOOTMODE pins in both case (power-up and reset) and compare to see if there is any difference ?
Regards,
Vivek Singh
I think I found the problem. I am using a Nextion board as my HMI. The TI board is sending the HMI initialize code before the Nextion is ready to accept it. Adding a delay before initialization seems to have fixed it. Thanks for your help.