Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Gang image programming #2

Open
nfbraun opened this issue Sep 22, 2016 · 1 comment
Open

Gang image programming #2

nfbraun opened this issue Sep 22, 2016 · 1 comment

Comments

@nfbraun
Copy link

nfbraun commented Sep 22, 2016

Gang image programming
cc3200tool -p /dev/ttyUSB0 write_flash gangimage.bin
fails with:
TypeError: _send_packet() takes at least 2 arguments (1 given)

After changing line 424 of cc.py from
self._send_packet()
to
self._send_packet(command)
I get a new error:
cc3200tool.cc.CC3200Error: No ack for packet opcode=0x30

Using the --no-erase option makes write_flash work,
cc3200tool -p /dev/ttyUSB0 write_flash --no-erase true gangimage.bin
however, the written gang image does not boot (presumably because the flash was not initially empty).

@kzyapkov
Copy link
Contributor

Sorry, this feature was never tested. I'll have a chance to test in a couple of weeks, but you can try self._send_packet(command, timeout=1) -- maybe this command needs longer to execute.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants