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
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)
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 ]