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.
Tool/software: TI C/C++ Compiler
Hi Team,
I am posting this on behalf of our customer.
Our customer was working on the sample program: dual_axis_servo_drive_fcl_qep_f28004x
They want to boot it from flash, however, when they try to, nothing happens.
They already downloaded it into the flash and the switches are in the right positions as well, however it does not boot.
Though they can boot it from CCS.
It can operate when connected to ccs however cannot operate individually from flash.
Please let me know if you have any questions for the customer.
Thanks,
Jonathan
Hi Jonathan,
They selected and programmed the 'F28004x_FLASH' build configuration of the example code?
Best,
Kevin
I don't see the CodeStartBranch.asm file in that project. Without it, there's nothing at the flash entry address to tell the application to jump to _c_int00. Try adding it to the project and see if it's able to boot from flash then. It can be found in the SDK under
c2000ware\device_support\f28004x\common\source\f28004x_codestartbranch.asm
I'll file a bug report to get this corrected.
Whitney
I had a chance to try it myself and found there were a few additional steps I needed to take to get it to boot from flash.
Whitney
Hi Whitney,
the program can successfully boot to flash. However, when I encrypt the OTP and boot from zero boot pin mode together, it will not boot into flash. Other programs can be booted successfully, even when encrypted. Can you try it out when encrypting and booting it from zero boot pin mode and let me know if it works?
Thank you again and best regards,
Fenghai
Thanks for your patience. Were you able to find the cause of your issue? If not, can you tell whether or not the application is reaching main() or if it's getting stuck somewhere before that like in boot ROM? If you aren't sure, can you toggle a pin at the start of main() so you can observe whether or not it's being reached?
Whitney
Can you also try the debugging technique I describe in this thread to try to narrow down where it's getting stuck if it's not reaching main()?
TMDSCNCD280049C: The device won't wake up after powered on if a modified linker command file is utilized...
Whitney