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.
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.
举报