Skip to content

Firmware, Cannot Compile, MD5 Error #377

@ForrestErickson

Description

@ForrestErickson

Notes on MD5 Error

Describe the bug
A clear and concise description of what the bug is.
Short Summary of the expected behavior:
Expected to upload GPAD_API

Short Summary of the buggy behavior:

Got and MD5 mismatch error on compile.

Details of error

Windows 10 computer.
GPAD_API version 0.47 which was succsfully installed into two targets.
Was trying to install the littlefrs.bin on the OTA and through IDE.

From IDE Serial Monitor

Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00111fff...
SHA digest in image updated
Compressed 17536 bytes to 12202...
Writing at 0x00001000... (100 %)
Wrote 17536 bytes (12202 compressed) at 0x00001000 in 0.3 seconds (effective 424.2 kbit/s)...
File  md5: 70c9a76fcbc41d62b871521885c08342
Flash md5: d62d72c86a50019cb692573bcdeefc9c
MD5 of 0xFF is f2ff47604992a1a20c08e60337691b70

A fatal error occurred: MD5 of file does not match data in flash!
*** [upload] Error 2
======================================================== [FAILED] Took 39.93 seconds ========================================================

Googled and found help on clearing MD5 error
https://www.youtube.com/watch?v=lthKBGacyVs

Was instructed to run "python -m esptools --port COM6 write_flash_status --non-volaitle 0"
But did not work.
Looks like installing esptool is required.

Additional context
Add any other context about the problem here.

Image

but did not work;

 Stored in directory: c:\users\admin\appdata\local\pip\cache\wheels\58\f7\2d\067b7bc6fd27d8615481010a538e8e3eb30139ce1c02bff7ba
Successfully built esptool
Installing collected packages: intelhex, bitarray, pygments, pycparser, mdurl, bitstring, markdown-it-py, cffi, rich, cryptography, rich_click, esptool
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: 'C:\\Python312\\Scripts\\bin2hex.py'
Consider using the `--user` option or check the permissions.


[notice] A new release of pip is available: 24.0 -> 26.0.1
[notice] To update, run: C:\Python312\python.exe -m pip install --upgrade pip
PS C:\Users\Public\Downloads\Arduino\PubInv\krake\Firmware\GPAD_API>
PS C:\Users\Public\Downloads\Arduino\PubInv\krake\Firmware\GPAD_API> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions