cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to create custom bootloader for STM32F7 * AN4854 incomprehensibility

rBlr
Associate III

I'm studying and discovering how to create custom bootloader for STM32F7 MCU.

I starting with looking at official ST docs, eg. AN4854 "In-application programming with SD cards and examples" docs (AN4854 pdf, readme.txt from en.x-cube-iap-sd sources files archive) and available source files, and I have found that 

for STM32L476G-EVAL board program (as I understand it is bootloader) "size is 13 Kbytes" and user application starting from address 0x0800E000 (that is 56Kbytes offset from 0x08000000). Compiling source files, I got STM32L476G_EVAL.bin file with size 44.712 bytes (or almost 44 Kbytes).

I can't figure out why docs state that "program is about 13 Kbytes" while bin size is 44 Kbytes and why there used such larger than bootloader offset E000 (56Kbytes instead stated 13 KBytes). Than what is "The image is uploaded with the IAP from the STM32L4xx, size 4 Kbytes".

Same question for STM32072B-EVAL implementation about stated sizes and offsets.

Thank you for any explanation how to understand all these or may be there mistakes?

 

P.S. original readme.txt (documentation) from en.x-cube-iap-sd.zip is attached

0 REPLIES 0