Thread 中讨论的其他器件:UNIFLASH
工具/软件:
您好、专家
当 客户 使用 UniFlash 8.8.1 进行在线编程时、编程过程开始或结束时会显示以下错误屏幕、提示“文件加载失败“。 目前、发生故障的概率约为 5%。 (正在编程的芯片为空白。)
编程器为 XDS100V3。

完整的错误消息:
[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
目前、使用以下方法来解决该问题:
1.如果错误发生在初始阶段(当芯片仍然为空时),只需重复编程过程即可。
2.如果错误发生在末尾阶段(当芯片中存在加密信息时),请使用带有密码的编程项目进行编程。
3.有时,需要先关闭设备电源或插拔编程器,然后再重新编程。
4.在极少数情况下、在同一芯片上多次重新编程尝试都会导致错误、需要重新启动 UniFlash 才能继续。
请确认此问题的触发条件以及如何避免/解决。 谢谢你。