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.
各位同事:
您能否澄清一下、在 CPU 复位期间是否有任何方法可以存储2个字节的数据? 在任务中、我们 需要写入2个字节的数据、然后通过软件执行 CPU 复位、然后在此复位之后、读取这2个字节。 RAM 或任何寄存器是否适合用于这些用途?
目前我们暂时使用外部 NVM、但由于该存储器将用于其他用途、我们正在寻找替代解决方案。
提前感谢您的帮助。
您应该能够为此使用任何未使用的 RAM 位置。 请注意、不要为此定义变量。 而是使用直接内存读取/写入、因为变量将通过 cinit 代码初始化为0x0。
此致、
维维克·辛格