PIC32MM bootloader process explanation
Hi, Everyone! I`m making my own bootloader system. I want to use extenal flash to load the new program runtime, reset the controller and load it to the uC flash. So there are multiple things I don`t fully understand.
First: About the .hex file. Can you tell me where I can find info about the structure of the HEX file? I suppose every row starts with ':', address and info. But this is just a suggestion. I think I should remove the rows which are going to affect my bootloader section, so I need a way to determine which are they.
Second: I`m looking at EN1388 framework.c file. There a special interface is used to transfer the hex file to the controller. I don`t need that. I can do it run time. But I need to know if there are sections into the hex file row containing CRC, different type of records and so on. Or it is just pure address + data?!