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

cc_write_flash.py ERROR: IOError: Line 514: Unknown record type 05 #26

Open
abhaysbharadwaj opened this issue Dec 17, 2018 · 6 comments

Comments

@abhaysbharadwaj
Copy link

Hi,
I am successfully able to read the "Device Info" using the "cc_info.py" file. But when I try to write my firmware, I get the following error:
IOError: Line 514: Unknown record type 05

image

Using python Version 2.7.13

@jbkuma
Copy link

jbkuma commented Dec 31, 2018

I am getting the same error, on the same lines, from a different firmware which kicks out IOERrror: Line 15496...

@henriz
Copy link

henriz commented Jan 1, 2019

This is an omission in the python code. Apparently the newer firmware have a record of type 05, and this is not implemented in the python library.

The code accepts 0x00, 0x01, 0x02 and 0x04.

See:
https://en.wikipedia.org/wiki/Intel_HEX#Record_types

I am currently in the process of adding 0x05 record type to the code. I'll report back when finished and working.

@abhaysbharadwaj
Copy link
Author

abhaysbharadwaj commented Jan 1, 2019 via email

@henriz
Copy link

henriz commented Jan 1, 2019

Actually, I think it's ok. As on that wiki page, the 0x05 record means the value should be written to the EIP register. However, these chips have no such register.

@abhaysbharadwaj
Copy link
Author

abhaysbharadwaj commented Jan 1, 2019 via email

@yterza
Copy link

yterza commented Jan 15, 2019

Hi, any news about ? Is there a workaround ? I tried to remove the two lines generating this issue in the hex file, but my CC2530 was not responding to my raspberry after flash. Don't know if it's coming from firmware or something else in my config/wiring... Thanks

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

4 participants