Skip to content
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

Sometimes getting 521 error copying hex file to v2 microbit #5196

Closed
eanders-ms opened this issue May 26, 2023 · 4 comments
Closed

Sometimes getting 521 error copying hex file to v2 microbit #5196

eanders-ms opened this issue May 26, 2023 · 4 comments
Labels

Comments

@eanders-ms
Copy link
Collaborator

eanders-ms commented May 26, 2023

When a microbit project contains v2 blocks, copying the downloaded hex to device will often result in a 521 error.

FAIL.TXT

error: The hex file cannot be decoded. Checksum calculation failure occurred.
type: transient, user

Interestingly, this only seems to happen if the project contains v2 blocks. With only v1 blocks present, the copy succeeds reliably.

OS: Windows 11 Enterprise 22H2
Browser: Chrome 113

@eanders-ms
Copy link
Collaborator Author

Copies reliably to v2: https://makecode.microbit.org/_LaCAVuA5jEJm
Does not copy reliably to v2: https://makecode.microbit.org/_RyyXPYMFtL1V

@abchatra
Copy link
Collaborator

@jaustin @carlosperate have you seen this issue?

@martinwork
Copy link
Contributor

@eanders-ms @abchatra

Related:
#5100
ARMmbed/DAPLink#1025
https://support.microbit.org/support/solutions/articles/19000145576-error-transferring-file-to-the-micro-bit-since-windows-update-in-february-2023

I saved the hex files for these projects and tested dragging each to V2.21, and the V1 one to V1.5, ten times. The error rate was about the same in all cases (3, 2, 4 fails).

@abchatra
Copy link
Collaborator

Duplicate of #5100

@abchatra abchatra marked this as a duplicate of #5100 May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants