Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

TMS320F28027: Load Program Error: .out Load Failed

Part Number: TMS320F28027

Hello, 

I am working on flashing to this device and getting super frustrated. 

I can successfully program / flash the device a handful of times, then the following error message starts appearing:

Based on this thread (https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/736227/ccs-tms320f28027-load-program-error) I connect to the the target and check for the CMS passwords at FLASH memory location, 0x3F 7FF8 to 0x3F 7FFF. I see all FFFFs and am able to use the on-chip flash tool to successfully erase the flash, unlock the device and run the depletion recovery. But then when I go back to program the chip I get the same error again.

I am very confused as to why the chip is flashing multiple times before seeing this error message. The device is clearly not locked up and I don't know what could be causing these issues.

Thanks

  • Hi , 

    One of our experts will soon get back to you on this.

    Best Regards

    Siddharth

  • Braden,

    I'd like to see if this related to a specific method in CCS when it tries to program the device.

    Can you confirm that you are using the "debug" icon/button to compile/connect/download the code to the device?

    I'd like to try to do these steps manually to see if it has any effect on the issue:

    1)Open the target configurations view "View->Target Configurations"

    2)Find the appropriate .ccxml file for your emulator/target.  If you were using the .ccxml file included in a project then you may need to create a new target config.  This will bring up a dialogue that should be fairly straightforward(select target and emulation connection)

    3)Right click on the .ccxml file a "Launch Selected Configuration"

    4)This will bring up the debug view, you should see the emulator connection followed by the C28x CPU.  Right click on this and "Connect Target"

    5)Let's try to load/program the device with your project code; go to "Run->Load->Load Program"

    6)One option is to browse by project, pick the appropriate project and find the .out file and load it.

    At this point it will erase/program the device; let me know if this still errors out or not.

    Perhaps one more clarification on your original post, once CCS fails to program the device, are you stuck permanently or if you re-start CCS are things OK again, etc?

    Best,

    Matthew