How to stop flash erase operate in 9S08AW32?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to stop flash erase operate in 9S08AW32?

1,611件の閲覧回数
wackestar
Contributor I
9S08AW32 need 20ms to earse a flash page, this is to long.  Is there some methos to stop erase operate when a out accident is happening ?I need return to run program in flash immediately .
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

712件の閲覧回数
Ake
Contributor III
Hi,
If you look in the MC9S08AW60 book, chapter 4.4.5 Access Errors, there are a number of things that will stop the erasure/programming execution.
 
I would try to write 0 into the FCBEF, which will cancel the command.
 
I have not tried it myself, but it seems quite simple to try it.
 
 
Regards,
Ake
0 件の賞賛
返信

712件の閲覧回数
peg
Senior Contributor IV
Hi wackestar,
I don't think you can do this!
If you can't tolerate the delay or can't only erase when you can then you need to use external EEPROM (IIC or SPI). Or change to a MPU with real EEPROM or two flash arrays.

0 件の賞賛
返信