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.

TMS320F280023: UniFlash: Error occurred during flash operation

Part Number: TMS320F280023
Other Parts Discussed in Thread: UNIFLASH, TMDSHSECDOCK

Hi team,

I am facing a problem while loading my flash image using UniFlash (v 8.3.0.4307). I am using XDS110 Debug Probe to flash a ".out" image file to an on-board F280023PMS (64-pin LQFP). For this, I am using the following pins:

pin 39 - GPIO35/TDI
pin 37 - GPIO37/TDO
pin 38 - TMS
pin 36 - TCK
Also GND and a 3.3V Vref

Apart from this, there are no external connections and the voltage levels across the chip are optimal.

When loading the program, I get the following logs in the console:

[12/19/2023, 1:00:54 PM] [INFO] C28xx_CPU1: GEL Output: RAM initialization done
[12/19/2023, 1:00:54 PM] [INFO] C28xx_CPU1: GEL Output: Memory Map Initialization Complete
[12/19/2023, 1:00:54 PM] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
[12/19/2023, 1:00:54 PM] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
[12/19/2023, 1:00:54 PM] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
[12/19/2023, 1:00:55 PM] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
[12/19/2023, 1:00:55 PM] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
[12/19/2023, 1:00:55 PM] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
[12/19/2023, 1:01:17 PM] [ERROR] C28xx_CPU1: Error occurred during flash operation: Timed out waiting for target to halt while executing wr_pll.alg
[12/19/2023, 1:01:17 PM] [ERROR] C28xx_CPU1: Error writing the PLL values (Flash algorithm timed out). Operation cancelled.
[12/19/2023, 1:01:17 PM] [ERROR] C28xx_CPU1: Perform a debugger reset and execute the Boot-ROM code (click on the RESUME button in CCS debug window) before erasing/loading the Flash. If that does not help to perform a successful Flash erase/load, check the Reset cause (RESC) register, NMI shadow flag (NMISHDFLG) register and the Boot-ROM status register for further debug.
[12/19/2023, 1:01:17 PM] [ERROR] C28xx_CPU1: File Loader: Memory write failed: Unknown error

I am using the following configuration settings for the session:

Using the same settings, I tried flashing my image on the evaluation kit (F280025C controlCARD and TMDSHSECDOCK - Docking Station) and I was successfully able to do so. Therefore, I can confirm that there is no issue with the image file or the connections of the debug probe and the microcontroller.

Please let me know why this error occurs.

Thanks,

Mahesh