Skip to main content
tran
Associate III
August 22, 2009
Question

FLASH programme in application

  • August 22, 2009
  • 2 replies
  • 873 views
Posted on August 22, 2009 at 05:17

FLASH programme in application

    This topic has been closed for replies.

    2 replies

    tran
    tranAuthor
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:21

    Hello all,

    In our application, we want to do a back up of somes variables and put them in 1 page of the flash memory, we try to use it like an eeprom.

    The question is : how can i reserve 1 page in flash memory to be sure that they won't be ecrased when we programm the micro or when there is no power?

    Thx :p

    mcuisp
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:21

    Hi,tran:

    I think you shoud employ IAP in your application.

    Use the first 4KB of FLASH to store a IAP bootloader.

    Then update your Application Code page by page, and not affect unused pages(these pages then can used for data store).

    You may try the FreeIAP in mcuisp.exe, a STM32 ISP program write by me.

    James Peng

    www.mcuisp.com

    MSN:mcuisp@hotmail.com

    [ This message was edited by: mcuisp on 22-08-2009 09:15 ]

    [ This message was edited by: mcuisp on 22-08-2009 09:15 ]