BusPirate / Bus_Pirate

Community driven firmware and hardware for Bus Pirate version 3 and 4
625 stars 131 forks source link

hex corrupted? #143

Closed nlambuca closed 4 years ago

nlambuca commented 4 years ago

Just compiled code as is on repository, all good. BPv3 with bootloader 4.4 loaded. When I run ds30 to load image.. I get a nothing to do message. If I try to load a precompiled on repository image, loads fine.

If I try pirate loader gives me crc error....

So it must be compiler settings. Using XC16 and MPLABX 5.3

Ideas? I need to change SPI clock to lower possible clock... but stuck on this...

nlambuca commented 4 years ago

I read now The hex-file contains code that will overwrite the bootloader

I didn't change a line of code... Config bits?

nlambuca commented 4 years ago

okay... normalize option seems to make it work.