Skip to main content
franco2
Associate II
October 17, 2007
Question

flash up-date firmware

  • October 17, 2007
  • 3 replies
  • 723 views
Posted on October 17, 2007 at 06:30

flash up-date firmware

    This topic has been closed for replies.

    3 replies

    franco2
    franco2Author
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 12:16

    He at all

    In the special application I must use the SPI for up-date the firmware in the STM32F10xxx microcontroller is possiple this?

    If yes I must place the code for the SPI function on flash proteted area and read the new data for up-date the firmware from it and after write this new data in flash, is possible this or is correct this procedure?

    Exsiting a sample of the code for implement this?

    Franco

    franco2
    franco2Author
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 12:16

    Thanks for your information

    16-32micros
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:16

    Dear Franco,

    Yes, this is possible and this Method is called IAP ( In-Application programming) you can choose your preferred Communcation Protocol, here in your case the SPI. There is an example on ST web site using the UART (RS232)

    http://www.st.com/stonline/products/literature/an/13588.pdf

    and its associated

    http://www.st.com/stonline/products/support/micro/files/an2557.zip

    that you can tailor to SPI with your preferred memory or using another SPI Device.

    Regards, ;)

    [ This message was edited by: STOne-32 on 15-10-2007 19:35 ]