-
Notifications
You must be signed in to change notification settings - Fork 77
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
Comments
I am getting the same error, on the same lines, from a different firmware which kicks out IOERrror: Line 15496... |
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: I am currently in the process of adding 0x05 record type to the code. I'll report back when finished and working. |
Hi,
I was able to delete that line that was causing the error (I know it's not
right, and not at all recommend), but after that, the module got flashed,
and it is working without causing any noticeable issue.
I'm just putting it out there so that it may help someone, but It's not the recommended way to tackle the
issue.
|
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. |
That's great news! This can be a temporary workaround.
|
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 |
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
Using python Version 2.7.13
The text was updated successfully, but these errors were encountered: