bbcmicrobit / bbcmicrobit/PythonEditor

Occaisional corruption of the downloaded hex file --> The hex file cannot be decoded. Checksum calculation failure occurred

Aberta
#55 29 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
JavaScript
Estrelas
201
Forks
126
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

This is a tricky to track down issue, so hopefully posting it here we'll find other people with the same problem...

Though we haven't ever seen or reproduced it ourselves in the foundation, a number of people have sent us hex files that are missing large chunks of data, and the result is that the checksums fail and DAPLink refuses (correctly!) to flash the file.

The error DAPLink puts in the fail.txt is:
The hex file cannot be decoded. Checksum calculation failure occurred

Missing chunks are not on line boundaries.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

No source files or tests are named. Start by reproducing the browser's downloaded .hex file and comparing it with the expected file, then inspect DAPLink's fail.txt output and the missing non-line-boundary chunks. Done means identifying the corruption path, preventing truncated downloads, and confirming the resulting file passes checksum validation.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
javascript
Domínio
embedded-iot, web-dev
Tipo de issue
Bug
Dificuldade
5/5
Tempo estimado
Mais de uma semana
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.