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

Flashing CC2530 as Router with Arduino + CCLib #1246

Closed
GerSant opened this issue Mar 13, 2019 · 5 comments
Closed

Flashing CC2530 as Router with Arduino + CCLib #1246

GerSant opened this issue Mar 13, 2019 · 5 comments
Labels
stale Stale issues

Comments

@GerSant
Copy link

GerSant commented Mar 13, 2019

I try to flash my new CC2530 using my Arduino UNO loaded with the CCLib Proxy and i obtain this meesage:

INFO: Found a CC2530 chip on COM5

Chip information:
Chip ID : 0xa524
Flash size : 256 Kb
Page size : 2 Kb
SRAM size : 8 Kb
USB : No
Traceback (most recent call last):
File "C:\Users\T15412\Downloads\CCLib-master\Python\cc_write_flash.py", line 48, in
hexFile.load()
File "C:\Users\T15412\Downloads\CCLib-master\Python\cclib\cchex.py", line 128, in load
self._loadHex()
File "C:\Users\T15412\Downloads\CCLib-master\Python\cclib\cchex.py", line 367, in _loadHex
raise IOError("Line %i: Unknown record type %02x" % (i, bType))
IOError: Line 12527: Unknown record type 05

What can be wrong?

Thanks

@sesceu
Copy link

sesceu commented Mar 13, 2019

I ran into the exact same problem. After reading wavesoft/CCLib#16 I removed line 12527 (the second to last line of the hex file). I'm still flashing, but at least I'm not getting this error anymore.

@GerSant
Copy link
Author

GerSant commented Mar 14, 2019

Thank you very much! worked for me for flahsing the CC2530 as Router, now i still flashing the CC2531 as coordinator

@sesceu
Copy link

sesceu commented Mar 14, 2019

You're welcome. I'm glad I could help.

@GerSant
Copy link
Author

GerSant commented Mar 15, 2019

This issue can be closed :)

@stale
Copy link

stale bot commented May 14, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issues label May 14, 2019
@stale stale bot closed this as completed May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issues
Projects
None yet
Development

No branches or pull requests

2 participants