TI工程师,你好,我有问题需要咨询
背景:当前代码运行在Bank 0上,同时因为自身业务需要,我需要对Bank 0的Sector进行擦写
根据F021 Flash API Reference Guide Version 2.01.01里的提示:
(1) Reading a Flash memory location from the bank that an erase command (sector or bank) is currently being performed will stall the CPU until the erase command finishes and the FMSTAT register indicates the FSM is not busy.
(2) Reading a Flash memory location from the bank that an program command is currently being performed will stall the CPU until the program command finishes and the FMSTAT register indicates the FSM is not busy
(1) Reading a Flash memory location from the bank that an erase command (sector or bank) is currently being performed will stall the CPU until the erase command finishes and the FMSTAT register indicates the FSM is not busy.
(2) Reading a Flash memory location from the bank that an program command is currently being performed will stall the CPU until the program command finishes and the FMSTAT register indicates the FSM is not busy
这两句话中有提到,读取时若当前Bank正在擦写,CPU会Stall,直到擦写完成,FMSTAT的BUSY位为0,才会继续。
这里的继续是如何实现的? 是当前的机制会自己让CPU继续,还是通过什么方法通知CPU,让CPU继续进行读取
我需要在同一个Bank上执行并擦写,是否有什么解决方案
谢谢
 
				 
		 
					