Skip to main content
raffaele
Associate III
May 9, 2007
Question

Flash status register - CE

  • May 9, 2007
  • 4 replies
  • 749 views
Posted on May 09, 2007 at 08:20

Flash status register - CE

This topic has been closed for replies.

4 replies

raffaele
raffaeleAuthor
Associate III
May 8, 2007
Posted on May 08, 2007 at 14:19

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

raffaele
raffaeleAuthor
Associate III
May 9, 2007
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
raffaeleAuthor
Associate III
May 9, 2007
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
raffaeleAuthor
Associate III
May 9, 2007
Posted on May 09, 2007 at 08:20

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