Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
pcbcainiao
Level 1
Level 1
First question asked First reply posted
带FreeRTOS的情况下,一个任务中在解析上位机命令后进行擦除flash指令。此时只擦除APP,执行后系统的调度定时器会不工作。各位有遇到类似的问题吗
0 Likes
3 Replies
harvis
Level 5
Level 5
10 solutions authored First like received First like given
缩小擦除flash指令擦除的范围,如果把FreeRTOS的代码和调度定时器ISR的代码擦除了,代码都没了,就没法从Flash运行代码了。如果APP全部代码拷贝到RAM里面执行应该没有这种问题。
0 Likes
pcbcainiao
Level 1
Level 1
First question asked First reply posted
我将整个flash分成了两部分 一部分是BOOT 一部分是APP 擦除只擦除APP哎,中断向量表BOOT有一张,APP也有一张自己的向量表
0 Likes
wyx
Level 2
Level 2
First solution authored 10 replies posted 5 replies posted
执行擦除会关中断,而且擦除时间挺久的,会影响到定时器。
0 Likes