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.

[FAQ] TMS320F28P550SJ: Error during Flash Programming / .out file Load failed / Device is getting completely locked - unable to Flash any program

Part Number: TMS320F28P550SJ
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hello,

I am facing an issue where in my program builds succesfully however, when I try to flash it/ launch a debug session, I get the following error. 

After flashing the device, the MCU becomes completely unresponsive and locked. It stops responding to any debug or communication attempts. Once locked, I cannot flash any other code to the device, including the recovery firmware.

Please help out with this issue.

Thank you!

  • Hello, please follow the below steps to get the device out of the locked state.

    • Enter into Wait Boot Mode 

      Put the device in Wait Boot mode ( S3 = 0 ) by changing the switch position on the board. 

                

    • Find Target configurations

      In your CCS Window, go to View -> Target Configurations  

                

    • Enter Debug Mode

                1. In Target Configurations, navigate to "Projects" and locate your project (for example mine is called empty_driverlib_project)

                2. Expand the folder and right-click the LaunchPad target configuration (.ccxml file) . Select “Launch Selected Configuration

                

                 3. Right click the first option in the debug window that pops up and select “Connect Target” 

                 

    • Go to On-Chip Flash Plugin

      Navigate to Tools > On-Chip Flash. If the “Tools” dropdown doesn’t show up, ensure that you’re in the CCS Debug editor 

                

    • Erase settings

      Scroll down in the On-Chip Flash tool and confirm the “Erase Settings” are the same as below

                 

    • Erase Flash

      Click on Erase Flash

                

    After you have done this, try importing a generic example from C2000Ware (for example C2000Ware_5_05_00_00\driverlib\f28p55x\examples\empty_projects). Flash the program to the device and see if you're able to launch a debug session. The device should not be locked anymore and the program should be able to run as normal. 

    Thank You!