Document error fix

pull/932/head
Chen Guokai 2020-04-25 18:13:08 +08:00
rodzic 36bb77dd6f
commit 489a37e3c7
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -39,7 +39,7 @@ English version can be found below.
每次写入数据宽度为2字节半字
每完成一次写入需等待flash完成写入检查方式为读取FLASH_SR处4字节内容若取值为1则说明写入尚未完成需继续轮询等待否则需要检查FLASH_SR处值是否为44则应直接准备退出。
每完成一次写入需等待flash完成写入检查方式为读取FLASH_SR处4字节内容若取值为1则说明写入尚未完成需继续轮询等待否则需要检查FLASH_SR处值是否为44则应直接准备退出。
退出全部拷贝执行完毕后触发断点前将FLASH_CR处4字节内容最低bit清为0写回FLASH_CR。
@ -155,7 +155,7 @@ Copy data from source to destination, after which trigger a breakpint to exit. B
Before every copy, read a word from FLASH_CR, set the lowest bit to 1 and write back. Copy one half word each time.
How to wait for the write process: read a word from FLASH_SR, loop until the content is not 1. After that, check FLASH_SR, proceed if the content is not 4, otherwise exit.
How to wait for the write process: read a word from FLASH_SR, loop until the content is not 1. After that, check FLASH_SR, proceed if the content is 4, otherwise exit.
Exit: after the copying process and before triggering the breakpoint, clear the lowest bit in FLASH_CR.