-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
When programming a HEX file containing odd addresses "packrow" treats the addresses as even leading to misaligned data.
uint8_t index = (address & 0x3e)>>1; uint32_t new_row = (address & 0xfffc0)>>1;
Notice the lowest bit is discarded.
In certain cases XC8 1.45 and 2.05 can produce HEX files with odd addresses, resulting in a file that won't run when programmed by the xpress.
The HEX file is technically correct and MPLAB IPE imports it successfully, and if re-exported from IPE the resulting (even start address) file does run.
Metadata
Metadata
Assignees
Labels
No labels