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.

TMS320F2800156-Q1: Online programming issue

Part Number: TMS320F2800156-Q1
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hi experts

When my customer uses UniFlash 8.8.1 for online programming, the following error screen appears at the start or end of the programming process, prompting "File load failed". Currently, the failure occurs with a probability of about 5%. (The chip being programmed is blank.)

The programmer is XDS100V3.

The complete error message:

[2025/6/13 下午4:27:11] [SUCCESS] Program Load completed successfully.
[2025/6/13 下午4:27:32] [INFO] C28xx_CPU1: GEL Output: RAM initialization done
[2025/6/13 下午4:27:32] [INFO] C28xx_CPU1: GEL Output: Memory Map Initialization Complete
[2025/6/13 下午4:27:32] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
[2025/6/13 下午4:27:33] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
[2025/6/13 下午4:27:33] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
[2025/6/13 下午4:27:33] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
[2025/6/13 下午4:27:35] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
[2025/6/13 下午4:27:35] [INFO] C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
[2025/6/13 下午4:27:36] [INFO] C28xx_CPU1: Warning: Failed unlocking device (zone 1) after reset.
[2025/6/13 下午4:27:36] [INFO] C28xx_CPU1: Warning: Failed unlocking device (zone 2) after reset.
[2025/6/13 下午4:27:36] [ERROR] C28xx_CPU1: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x8058: (Error -1066 @ 0x8058) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 20.0.0.3178)
[2025/6/13 下午4:27:36] [WARNING] C28xx_CPU1: Breakpoint Manager: Retrying with a AET breakpoint
[2025/6/13 下午4:27:37] [ERROR] C28xx_CPU1: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x8154: (Error -1066 @ 0x8154) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 20.0.0.3178)
[2025/6/13 下午4:27:37] [WARNING] C28xx_CPU1: Breakpoint Manager: Retrying with a AET breakpoint
[2025/6/13 下午4:27:37] [ERROR] C28xx_CPU1: Error executing PLL configuration algorithm. Operation cancelled. (0x0)
[2025/6/13 下午4:27:37] [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.
[2025/6/13 下午4:27:37] [ERROR] C28xx_CPU1: File Loader: Memory write failed: Unknown error
[2025/6/13 下午4:27:37] [ERROR] C28xx_CPU1: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x8058: (Error -1066 @ 0x8058) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 20.0.0.3178)
[2025/6/13 下午4:27:37] [WARNING] C28xx_CPU1: Breakpoint Manager: Retrying with a AET breakpoint


Currently, the following methods are used to address the issue:
1. If the error occurs at the beginning stage (when the chip is still blank), simply repeat the programming process.
2. If the error occurs at the end stage (when encrypted information exists in the chip), use a programming project with a password for programming.
3. Occasionally, powering off the device or plugging/unplugging the programmer is required before programming again.
4. In rare cases, multiple reprogramming attempts on the same chip all result in errors, and restarting UniFlash is needed to proceed.
Kindly confirm the trigger conditions for this issue and how to avoid/resolve it. Thank you.

  • Hi Ethan,

    From the console window output I see that it says it failed to unlock device (zone1) and (zone 2).

    Do you need to unlocked the device? Were security passwords previously programmed?

    Thanks and regards,

    Charles

  • Hi Charles

    It's a new chip, we don't burn the OTP area.

  • Hi Charles,

    I am the proposer of this question. Our company is using this device for a product that is ready for mass production. With the increase in production quantity, the probability of programming errors has reached 15%.

    This error mostly occurs when the programming progress displays "Finish", and occasionally occurs at the beginning of programming. This error was not reported during the programming process. What operation is the programmer or programming software performing during the "Finsh" stage, which will pause for 5-10 seconds? When the programming progress displays' Finish ', is it more susceptible to signal interference?

  • Hi Qi,

    Is this possibly due to the file format that UniFlash accepts? Have you been programming your devices previously using .s19 record format and seen success, or was the testing done loading this format through CCS? UniFlash supports the following file formats: .out, .hex, .bin. .tiimages. Can you see a success if trying to convert the .s19 format or using one of the listed formats?

    When the programming progress displays 'Finish' in the dialog box in the background, that is only an initial statement until the loading bar has completed, meaning that it was halted before a finish could actually occur.

    Thanks and regards,

    Charles