Re: PIC32 field updating with a bootloader using compression
You can do two things to make the .hex file format more efficient.
1) As previously stated, convert from ASCII plain text, where you use two characters per data byte, to binary so that you only use one byte per byte.
2) If you examine the format of the .hex files, you will see that the data portion is very short and most commands are just a continuation of the previous one. Combine sequential commands into a larger one. This will reduce the overhead of the format.
Michael W. Mann
Principal Applications Engineer
MCU32 Applications, Microchip