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

Programming CC1314 hangs in intel-hex #189

Open
gulweb opened this issue Jan 15, 2025 · 1 comment
Open

Programming CC1314 hangs in intel-hex #189

gulweb opened this issue Jan 15, 2025 · 1 comment

Comments

@gulweb
Copy link

gulweb commented Jan 15, 2025

I have successfully programmed cards with a CC1312. However, this does not work with a CC1314 (image).
The program hangs, while trying to read the intel hex image, so the problem is in the imported intelhex.

It does not even try to establish synch and communication with the target processor.

        mdebug(5, "Reading Firmware file: Intel Hex") ---prints OK !!
        from intelhex import IntelHex
        self.bytes = bytearray(IntelHex(path).tobinarray())
        mdebug(5, "Done Reading file: Intel Hex")       -----added by me, never hit in execution

Regards

Gullik

@gulweb
Copy link
Author

gulweb commented Jan 15, 2025

Further analysis shows that the hex file I am trying to read contains TWO sections with separate adress spaces. This is because the CC1314 maps its CCFG area to a specific address range resulting in and
running hex2bin.py from the distribution hangs without producing a bin file, indicating this is in the library. How
this should work I do not know. hexinfo.py shows this as two sections.
The hex file is produced by CCS compiler suite by Texas Instruments.

Gullik

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