-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Checksum does not match, line 6 #135
Comments
I tried to use the hex file in different tool now it's solved... |
load the file, convert to uppercase then save. Use that and the checksum will be ok. |
how to convert to uppercase?? |
UPPERCASE |
Did that, it works, sort of:
But the firmware does update:
|
This comment didn't make a lot of sense, so here's a bit more detail:
The busPirate.X.production.hex file generated by MPLAB has lowercase hex characters and the loader expects uppercase hex characters to pass the checksum. The easiest way to fix this is to open the generated hex file in Notepad++, select all, right-click and select UPPERCASE, and save over the old file.
This is a known issue (the firmware was successfully loaded) - it happens when the loader tries to program over the protected bootloader space, but since we're not changing the bootloader the loader just bails. See #26 (comment) The issue can probably be closed. |
thank you very much @Top-Dog |
Loading new firmware to my Bus Pirate 3.6A I got this message:
+++++++++++++++++++++++++++++++++++++++++++
Pirate-Loader for BP with Bootloader v4+
Loader version: 1.0.2 OS: WINDOWS
+++++++++++++++++++++++++++++++++++++++++++
Parsing HEX file [C:\ONTWIKKELING\Arduino\Buspirate\Firmware_29-07-2019\busPirate.X.production.hex]
Checksum does not match, line 6
Could not load HEX file, result=-1
In MPLAB:
BUILD SUCCESSFUL (total time: 13s)
Loading code from O:/Arduino/Buspirate/Bus_Pirate-master/Bus_Pirate-master/Firmware/busPirate.X/dist/BusPirate_v3/production/busPirate.X.production.hex...
Loading completed
So no succes...
The text was updated successfully, but these errors were encountered: