OTA_update_AVR_using_ESP32 icon indicating copy to clipboard operation
OTA_update_AVR_using_ESP32 copied to clipboard

hexparser gives invalid page data

Open zama737 opened this issue 1 year ago • 1 comments

Debugging this for atmega2560

Got invalid page data, had to change hex_parser.c from

        if (strlen(buff) > 12)
        {
            int start = 9;
            int end = strlen(buff) - 4;
            int size = (end - start) + 1;

to

        if (strlen(buff) > 12)
        {
            int start = 9;
            int end = strlen(buff) - 2;
            int size = (end - start) + 1;

When using hex file starting

:020000040000FA
:100000000C9417010C942B010C942B010C942B01D4
:100010000C942B010C942B010C942B010C942B01B0
:100020000C942B010C942B010C942B010C942B01A0

zama737 avatar Dec 08 '22 21:12 zama737