AnsweredAssumed Answered

stm32f4 reprogramming from externan nand memory

Question asked by hakobyan.davit on Jan 21, 2015
Latest reply on Feb 17, 2015 by hakobyan.davit
Dear All,

I know that the question about jumping to the bootloader of STM32 without boot0/1 has been answered many time especially by clive1.
My goal is to reprogram STM32F4 from the attached external NAND memory (connected over SPI). I guess in this case one should write from scratch his own custom bootloader to properly read from the NAND the BIN data? or are there possibilities to use the default bootloader?

With a custom bootloader I guess the procedure would be as described by clive1 here:

https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https%3a%2f%2fmy.st.com%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fHelp%20with%20application%20jump%20to%20system%20memory%20boot&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=1020

i.e. jump to the default bootloader and then jump again to the custom bootloader and from there perform the application reprogramming? Is this the right procedure?

In case if customer bootloader is required, this should be like a another application code (project) which will sit at an address space of internal flash of STM32F4 which do not interfere with the main application program (for example the custormer bootloader should occupy address from 0x8000000 to 0x80001FFF) and the application program should be started from 0x80002000?

Thanks a lot for any information.

Outcomes