You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: