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:

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.