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.

TIDA-01281: TMS320F28035 How to avoid locking the device

Part Number: TIDA-01281

Hello,

When I attempted to flash the program to the device (for the TIDA-00951 DC-DC converter), I received the error messages seen in the screenshots below. The operation timed out while attempting to erase sector A and now all read 0x0000. The power supply is has also dropped from 5V to about 3.9V since first connecting to the target. 

I have another device to replace the locked one with, but I want to avoid making the same mistake. Is there anything specific I may be doing wrong or steps I can take to make the accidental lock less likely to occur?

Thank you,

Sandy

  • Sandy,

    Thanks for reaching out to the E2E.

    During flash programmation the C2000 device can draw a bit more current on the 3.3V supply than during normal operation.  I'm not sure why the board would be drawing extra current post programming(even if there was an issue post programming).  

    I noticed that your supply has a 130mA current clamp and in this case the voltage is only 3.9V, the typical current draw for this device is in the 128mA range.  We may have clamped the supply during programming and that could have caused the timeout.

    I'm not sure what other components are on this particular board offhand, but you may consider bumping up the limit to 250mA or so to give some headroom for both programming and just normal operation.  

    Aside from that, if you have enough unused flash space I would recommend placing the code outside of sector A and H.  Sector A contains the passwords, and is balanced with Sector H.  The more we can avoid touching each of these sectors the less likely if we have a timeout or power event it will compromise the passwords which can lock the device.

    Best,

    Matthew

  • Hi Matthew,

    Thank you for your help. I used your suggestions and had no problems with programming this time.

    However, there is still extra current draw post programming.

    Best,

    Sandy

  • Sandy,

    Glad that you were able to program the device.  I wouldn't be overly concerned with the extra current draw, especially if the board is not connected to another comms module that would terminate the driver signals.  

    Let me know if you have any additional questions.

    Best,

    Matthew