Cypress技术论坛
直播中

张玉兰

7年用户 1344经验值
私信 关注
[问答]

如何才能在PSoC3中实现从看门狗复位中恢复?

“从看门狗复位中恢复”可以在PSoC中实现
喜欢它& gt;HTTP://wwwyCyPress?RID=40391
如何在PSoC3中实现它??
谢谢。

以上来自于百度翻译


     以下为原文
  the "recovering from a watchdog reset" can do it in psoc
    like it >>  http://www.cypress.com/?rID=40391
    how can i do it function in the psoc3??
     
    thanks.

回帖(5)

王淑珍

2019-6-11 09:13:09
RAM的内容通常由编译器生成的函数初始化,这将在复位期间调用。
虽然您可以尝试破解代码,以保存RAM内容,但这是不推荐的。最好将RAM内容保存到EEPROM/FLASH中,在重新设置或使用外部RAM之前,需要某种机制来更新内容。

以上来自于百度翻译


     以下为原文
  Content of RAM are normally initialized by functions generated by the compiler which would be called during reset.
    While you can tried to hack the code to preserved the RAM content but this is not recommened. It would be better to save the RAM content to EEPROM/FLASH -you need some sort of mechnism to update the content before it resets or use external RAM.
举报

张玉兰

2019-6-11 09:26:57
原来的PSoC1可以节省RAM值,更新功能,但不能在PSoC3之后使用,真的很糟糕。我该怎么跟客户解释呢?:(

以上来自于百度翻译


     以下为原文
   The original PSoC1 can save RAM value, updated to the function but can not be used after the PSOC3, really bad.How do I explain it with the customer? : (
举报

姜钰

2019-6-11 09:33:35
对于PSoC3,在设计范围内的资源中有一个标志,称为“启动期间清除SRAM”。不检查,你应该很好。

以上来自于百度翻译


     以下为原文
  For the PSoC3, there is a flag in the design wide resources called "Clear SRAM during startup". Uncheck that, and you should be fine.
举报

王淑珍

2019-6-11 09:55:41
看来我错过了这个选择。
每天都有一些新的东西需要学习。-)

以上来自于百度翻译


     以下为原文
   Looks like I missed this option. 
    There are always some new to learn everyday. :-)
举报

更多回帖

发帖
×
20
完善资料,
赚取积分