Open abhaysbharadwaj opened 5 years ago
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: 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.
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