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.

TMS320F28386D: Flash Reprogramming issues

Part Number: TMS320F28386D

Hi,

We have developed a bootloader for the TMS320F28386D.  Its purpose is to allow us to reprogram application code in the field via CAN without having to open up the module to reprogram via JTAG.  The bootloader works and programs fine when it is connected to CodeComposerStudio via the XDS110 Debug Probe.  

When we use it apart from the CCS IDE, it works sometimes and sometimes does not.  When it does not, it appears the system goes into a periodic reset from which it does not recover.  The reset appears to be shorter than the timeout for the Watchdog, so we do not think that is the problem. If we connect CCS to the module while it is in this state without reprogramming it, the program counter appears to say we are executing code at 0x3FB114 - which is boot rom, we think.  

Have you seen anything like this before?  We are at a loss to determine exactly where to look to solve the problem.  Thanks

  • Hello,

    If we connect CCS to the module while it is in this state without reprogramming it, the program counter appears to say we are executing code at 0x3FB114 - which is boot rom, we think.  

    Address 0x3FB114 means CPU1 is spinning in wait boot mode (in the boot ROM):

    There are a few things we need to check to help isolate the issue first:

    • What boot mode do you have configured (with GPIO24 and GPIO32)? Did you program the DCSM OTP with custom configs?
    • Please check the NMISHDFLG register to rule out NMI-related issues. Please also check the RESC register.

    Best,
    Matt