Skip to main content
heribert
Associate II
Sep 11, 2006 10:09 AM UTC
Question

write '1' to flash memory

Posted on September 11, 2006 at 12:09

write '1' to flash memory

This topic has been closed for replies.

3 replies

heribert
heribertAuthor
Associate II
Sep 8, 2006 4:50 AM UTC
Posted on September 08, 2006 at 06:50

Hello,

how is it possible to write '1' to the flash memory? Is it only possible after a complete erase of the full sector?

Or is it possible to do it with any trick?

I need to write a flag (for my Bootloader)and reset it in main application, i would prefer Bank1 Flash Sector1 (B1F1).

Thanks, Heribert

anis2
Visitor II
Sep 8, 2006 6:32 AM UTC
Posted on September 08, 2006 at 08:32

Hi,

To write '1' to the flash memory you must erase the needed sector.

Best regards,

Bouha.

heribert
heribertAuthor
Associate II
Sep 8, 2006 8:18 AM UTC
Posted on September 08, 2006 at 10:18

Thanks to Bouha,

after erase the sector and rewrite it, all works.

Thanks also RISC for the link to ''STR7 Family Flash Programming Reference Manual'' and all other posted helps.