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:在线编程问题

Guru**** 2445440 points
Other Parts Discussed in Thread: UNIFLASH

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1527462/tms320f2800156-q1-online-programming-issue

器件型号:TMS320F2800156-Q1
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 才能继续。
请确认此问题的触发条件以及如何避免/解决。 谢谢你。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ethan:

    从控制台窗口输出中、我看到它显示未能解锁器件 (zone1) 和(区域 2)。

    是否需要解锁器件? 以前是否对安全密码进行了编程?

    谢谢。此致、

    Charles

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Charles

    这是新芯片、我们不会烧录 OTP 区域。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Charles、

    我是这一问题的提出者。 我们公司将此器件用于已准备好进行大规模生产的产品。 随着产量的增加、编程错误的可能性已达到 15%。

    此错误主要发生在编程进度显示“完成“时、有时发生在编程开始时。 编程过程中未报告此错误。 编程器或编程软件在“finsh"阶段“阶段执行什么操作、暂停 5-10 秒? 当编程进度显示“完成“时、是否更容易受到信号干扰?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Qi:

    这是否可能是 UniFlash 接受的文件格式导致的? 您是否曾使用.s19 记录格式对器件进行编程并成功、或者测试是否通过 CCS 加载此格式? UniFlash 支持以下文件格式: .out、.hex、.bin。 .tiimages。 如果尝试转换.S19 格式或使用列出的其中一种格式、您能看到成功吗?

    当编程进度在后台的对话框中显示“完成“时、这只是一个初始语句、直到加载栏完成、这意味着它在实际完成之前就已停止。

    谢谢。此致、

    Charles