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.

F28M36芯片C核无法正常烧写问题(Error -1156 @ 0x8050)



采用F28M36作为主控芯片进行产品开发的过程中,发现该芯片的C核出现一定概率无法正常烧写的现象。具体为本来可以正常烧写,但是在某一次烧写中报出烧写失败故障,然后再次烧写时会报出如下故障:

Can’t Run Target CPU:

(Error -1156 @ 0x8050)

Device may be operating in low-power mode. Do you want to bring it out of this mode? Choose ‘Yes’ to force the device to wake up and retry the operation. Choose ‘No’ to retry the operation without waking the device.

(Emulation package 6.0.222.0)

出现该警告后,无论点击Yes还是No,最终都会显示烧写失败。一旦出现该问题后,该芯片的C核就只能连接但是不能再烧写。

    对于类似问题,网上介绍比较多的是怀疑电源不稳的问题,但是后续通过示波器观察,并没有发现烧写前后的电压有波动的情况。而且相同电源方案,我们原来用在F28335平台上,基本上没有出现过类似烧写失败的问题。

    在论坛里看到了类似的情况(链接:e2echina.ti.com/.../151596

  那么引起上述故障的原因会有哪些,如何避免或者修复该故障?烦请有经验的大牛们不吝赐教,谢谢!

  • 在论坛里看到了类似的情况(标题:F28M35烧录时显示operating in low-power mode),该问题最终是更换了芯片解决的。但这似乎不是根本的解决方法,因为C核一定概率的烧写失败,即使更换了芯片,后续还是有出问题的可能。
  • 您可以尝试一下擦除整个flash,有客户用这种方法解决了问题

    (if question about low power mode comes -> click yes)

    • View ->Target configurations
    • Right click on target config -> launch selected configuration
    • In Debug perspective -> Menu Run -> Connect Target
    • Then setting a breakpoint at 0x80000 (in disassembly view)
    • Free run until breakpoint is hit
    • Menu Tools -> On-Chip Flash -> Erase entire flash
    • After erasing -> Stop debug -> cycle power of board

  • 您好,我按照您说的方法试了一下,但是程序跑不到断点那里,具体的截图如下:

    直观上看,好像是程序不允许访问这个区域。

        除了这个方法之外,不知道还有没有别的方法可以尝试?还有引起这个问题的可能原因是什么?烦请指导,谢谢!

  • 查了一下,现在怀疑是芯片供电电源采用LDO电源芯片,以前的方案都是开关电源供电方案,后续需要长期验证