cancel
Showing results for 
Search instead for 
Did you mean: 

Flash status register - CE

raffaele
Associate II
Posted on May 09, 2007 at 08:20

Flash status register - CE

4 REPLIES 4
raffaele
Associate II
Posted on May 08, 2007 at 14:19

How can i read the flash status register during chip erasing?

raffaele
Associate II
Posted on May 09, 2007 at 05:48

Notting, i lunch the command erase, and run ok, but now i whant poll the register fot test the end of erase cicle.

raffaele
Associate II
Posted on May 09, 2007 at 07:31

I have copy and past the code , but not exit from routine never :

loop_erase:

mov R0,#0h

mov R3,#1

exts R3,#1

mov R1,[R0]

JB R1.7,continue_erase

jnb R1.5,loop_erase

exts R3,#1

mov R1,[R0]

JNB R1.7,erase_error

continue_erase:

ret

erase_error:

ret

[ This message was edited by: invisigothux on 09-05-2007 11:18 ]

raffaele
Associate II
Posted on May 09, 2007 at 08:20

I have resolve the problem, i poll address #0 page 0# and run ok. Thanks