2021-10-22 01:57 AM
Hi folks..
I did a bootloader for the STM32F4 microcontroller..
I read a text file and I flash the bytes..
i really don't understand the following parts of the HEX file ,..
:020000040800F2
:040000050800ACB98A
The other parts of the fix are address in the flash starting from usually 0x800000 and the data to flash plus checksum ..
but what are these two'
How should handle them?
Thanks
2021-10-22 02:09 AM
I think you'll find the Intel .HEX format reasonably well documented, it's been used since the late 1970's
Record type 4 describes the memory region/ segment the next 64KB (16-bit address space) data falls within. ie 0800xxxx
Record type 5 describes the code entry point, here its likely to be Reset_Handler (or perhaps main), it's mainly there to assist the debugger in placing a break-point, it is not stored in the MCU anywhere.
2021-10-22 02:11 AM
Hi Tesla..
So you mean that when I am flashing the bootloader from the txt file I can skip this line ?