我想把程序x 放在flash d区,然后copy 到flash a区在运行。(flash d区 是为了还原)。当需要升级是,通过uart 或can 导入,把程序放在flash a 运行。怎么设计?求教
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.
我想把程序x 放在flash d区,然后copy 到flash a区在运行。(flash d区 是为了还原)。当需要升级是,通过uart 或can 导入,把程序放在flash a 运行。怎么设计?求教
在烧写FLASH的时候其他FLASH扇区是无法被读取的,所以如果要备份程序在flash d区烧写到FLASH c区,步骤是拷贝FLASH D中的内容到RAM,从RAM烧写FLASH C。
下面这份资料可以看一下,另外您使用的芯片的FLASH-API说明文档也请读一下。