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

Improve error when reading beyond device size ( ERROR: Timeout waiting for ACK/NACK after 'Mem Read (0x2A)' ) #187

Open
joriswit opened this issue Jan 2, 2025 · 0 comments

Comments

@joriswit
Copy link
Contributor

joriswit commented Jan 2, 2025

When reading the current data from the device with the --read option, it's easy to forget the --len parameter. If that parameter is omitted, it defaults to 512KiB. When this is larger than the device size, it reads the data correctly, but shows a vague error message:

ERROR: Timeout waiting for ACK/NACK after 'Mem Read (0x2A)'

I suggest adding a warning message.

Tested with CC2652RB

joriswit added a commit to joriswit/cc2538-bsl that referenced this issue Jan 2, 2025
JelmerT added a commit that referenced this issue Jan 14, 2025
Added warning when reading beyond device size ( #187 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant