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.

TMS320F28069: Device locked and unable to flash

Part Number: TMS320F28069
Other Parts Discussed in Thread: UNIFLASH

We have been using 2806x piccolo devices in many products so far - right now we have an issue with the F28069. We made a board with these ICs and are trying to control different types of motors.

The ICs, board, code  all work perfectly fine with different motors.

When we connect a serial port (we use an isolated RS485 driver from Analog Devices) and try to flash the program, the IC gets locked and we are not able to program the IC at all after this - we need to replace the IC to start with the board.

I have tried this with 3 devices so far - the behaviour is exactly the same and I now have 3 locked devices.

The serial port pins that I use are: GPIO28 and GPIO29.

Boot mode GPIO34 is open.

What could be the issue?

Can we somehow unlock the locked devices?

I tried Uniflash after reading a post, but even uniflash reports device is locked.

  • Hi Vaidyanathan,

    Sorry to know that you have 3 device locked. Is this new .out file you are trying to program now or are there any change in board setup?

    Device can get locked in following conditions-

    • Password locations are programmed because of wrong .out file
      • For this please check your .map file to see if anything is mapped at password locations in Flash.
    • Any interruption during Flash operation
      • For this please check if there is any dip in voltage during flash operation
      • Also make sure Watchdog is disabled before flash operation because that could timeout during flash operation and cause a reset to device hence interrupting the flash operation.

    If device is locked and passwords are not known then it can not be unlocked. If it was due to .out file then you could check the map file and .out file to know the value which got programmed at password locations and use that to unlock the device.

    Regards,

    Vivek Singh