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.

CCS/TMS320F2812: Programming MCU (TMS320F2812) Works on Some Units and Not Others

Part Number: TMS320F2812


Tool/software: Code Composer Studio

Hi, I have run into a problem this past weekend that I have never seen before. I made some modifications to our code and programmed 3 units. The first 3 programmed successfully. The next three were not successful. If I got back to the first 3, they program just fine each time. The next 3, do not.

All 6 units are production units that have been received through manufacturing and went through final test methods. I have verified the boot resistors on all boards.

Below is the message I am getting when the failure occurs. 

I am using code composer V.7.4.0 with programmer Spectrum Digital XDS100V2.

I simply can't understand how this is possible. If the debugger settings are identical in code composer and the hardware is identical, why would the programmer not work?

does anyone have any thoughts?

Thank you

  • Daniel,

    Thanks for reaching out to us on the E2E.

    I'd like to double check the settings for the inbuilt programmer in CCS.  This is what is performing the flashing when you load code that is identified to be in the flash memory.

    Go ahead and start CCS and connect to the F281x; I want to avoid trying to auto load using the "debug" button for this, so make sure to find the appriopriate .ccxml in your "Target configs" window and right click and "Launch" in this manner.

    Once we are in the debug perspective click "Tools->On-chip Flash" which should bring up a new window/panel for these settings.

    "Download Settings" should be immediately visible, make sure "Erase and Program" are selected.  This will ensure that every time you load code that is in flash it will do a complete erase before attempting to program.

    Let's see where this gets us and then we can proceed; in terms of the other 3 devices working, it could be that they were never programmed(all devices ship from TI factory erased), or whatever code was already there did not interfere with your changes.  This is because any bit that is a "1" can be programmed to a "0", but in order to get a bit from "0" to a "1" we have to erase the entire flash sector and re-program the sector.

    Look forward to your reply.

    Best,

    Matthew

  • Daniel,

    Checking to see if you had any progress with regard to my last post.  I'm going to mark as TI thinks resolved, but feel free to reply back and it will re-open the thread on my end.

    Best,
    Matthew