Skip to main content
Visitor II
September 11, 2006
Question

write '1' to flash memory

  • September 11, 2006
  • 3 replies
  • 888 views
Posted on September 11, 2006 at 12:09

write '1' to flash memory

    This topic has been closed for replies.

    3 replies

    heribertAuthor
    Visitor II
    September 8, 2006
    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

    Visitor II
    September 8, 2006
    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.

    heribertAuthor
    Visitor II
    September 8, 2006
    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.