AnsweredAssumed Answered

stm32f407 discovery FW_update and dev app

Question asked by dantas.dan on Sep 9, 2015
Latest reply on Sep 10, 2015 by dantas.dan
good afternoon!

i'm trying to prepare my system for realise updates to the user, and him can download it to the usb flash (used in my process all time) and as FW_update says rset-> press botton 4s-> wait until green -> press botton and its running the new update

i get the point of change all the vectores in my app but after creat the .bin file and try the update doesnt run ( if code upload via SW works)

what i have done in MDK keil 5.14 on my project:
1)file system_stm32f4xx.c change to this "#define VECT_TAB_SRAM
#define VECT_TAB_OFFSET  0x8000"

2)options for target - target tab
IROM1 0x8008000
3) options for target - user tab
check Run#1 comand: $K\ARM\ARMCC\bin\fromelf.exe --bin --output=@L.bin !L

4) options for target - linker tab
uncheck "use memory layout..."
and define R/O base: 0x08008000

build and place generated .bin file in usb flash...doesnt start

i kept the FW_Update example as it is so my code should be pointed to start at 0x08008000

i bet, for the beaviour that is doing update and try to start something but not my code begin at all...
because if i rset the board as appnote says it should go direct to my code is nothing done, and nothing starts =(

what i'm missing? in keil configs??

thanks for the help

PS: during my research i found that discovery has a bootload, could it be also a option for my objective of firmware update on client?