CC3200 Tool did not get entire response

Hi,
since two days I’m trying to get my CC3200 connected to the CC-Tool and I’m close to a mental breakdown. :wink:
When I try to list the filesystem I got this error: did not get entire response

Is it just because I use an Arduino instead of an USB-UART or do I have an incorrect installation?
I would be glad if somebody knows what to do.

Christian

2024-12-09 02:02:59,977 – Reading raw storage #2 start 0x0, size 0x2000…
Traceback (most recent call last):
File “/home/homie/.local/bin/cc3200tool”, line 8, in
sys.exit(main())
^^^^^^
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 1577, in main
cc.list_filesystem(command.json_output, command.inactive, command.extended)
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 1330, in list_filesystem
fat_info = self.get_fat_info(inactive=inactive, extended=extended)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 1267, in get_fat_info
fat_table_bytes = self._raw_read(0, 2 * sinfo.block_size,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 934, in _raw_read
rx_data += self._read_chunk(offset + len(rx_data),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 892, in _read_chunk
data = self._read_packet()
^^^^^^^^^^^^^^^^^^^
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 772, in _read_packet
raise CC3200Error(“did not get entire response”)
cc3200tool.cc.CC3200Error: did not get entire response

You can try another usb-port or computer. Don’t use an usb hub.
Maybe your connection is bad in general.

Please give some more details:

  • Your wiring
  • The used commands

Thx, sry, was a bit late.
I don‘t use a Hub.
Already tried another port, same problem.
My connection is via Jumper Cable and the arduino in reset mode.
I rechecked my wire connection, nothing special. But could get a more solid one.

Here is the full writing:

homie@homie:~/cc3200tool$ cc3200tool -p /dev/ttyUSB0 list_filesystem
2024-12-09 10:45:33,555 – Connecting to target…
2024-12-09 10:45:33,815 – Connected, reading version…
2024-12-09 10:45:33,819 – connected to target
2024-12-09 10:45:33,819 – Version: CC3x00VersionInfo((0, 4, 1, 2), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (16, 0, 0, 0))
2024-12-09 10:45:33,819 – This is a CC3200 device
2024-12-09 10:45:33,819 – Switching to NWP bootloader…
2024-12-09 10:45:33,823 – Switching UART to APPS…
2024-12-09 10:45:33,826 – Resetting communications …
2024-12-09 10:45:35,091 – Uploading rbtl3100s.dll…
2024-12-09 10:45:35,092 – Reading rbtl3100s.dll from file /home/homie/.local/lib/python3.12/site-packages/cc3200tool/dll/rbtl3100s.dll
2024-12-09 10:45:35,092 – Getting storage list…
2024-12-09 10:45:36,024 – APPS version: CC3x00VersionInfo((0, 4, 0, 2), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (16, 0, 0, 0))
2024-12-09 10:45:36,024 – Getting storage info…
2024-12-09 10:45:36,028 – storage #2 info bytes: 0x10, 0x0, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0
2024-12-09 10:45:36,028 – Getting storage list…
2024-12-09 10:45:36,032 – Reading raw storage #2 start 0x0, size 0x2000…
Traceback (most recent call last):
File “/home/homie/.local/bin/cc3200tool”, line 8, in
sys.exit(main())
^^^^^^
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 1577, in main
cc.list_filesystem(command.json_output, command.inactive, command.extended)
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 1330, in list_filesystem
fat_info = self.get_fat_info(inactive=inactive, extended=extended)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 1267, in get_fat_info
fat_table_bytes = self._raw_read(0, 2 * sinfo.block_size,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 934, in _raw_read
rx_data += self._read_chunk(offset + len(rx_data),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 892, in _read_chunk
data = self._read_packet()
^^^^^^^^^^^^^^^^^^^
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 772, in _read_packet
raise CC3200Error(“did not get entire response”)
cc3200tool.cc.CC3200Error: did not get entire response

vcc is connected to sop2
I am doing a reset by connecting rst with ground. green light still on.

What do you mean by “the arduino”? Is the UART 3.3V?
As alternative, use a different UART.

I use an arduino uno as usb uart. Voltage divide to get to 3.3v.
To get rid of the AT Mega i connect Rst with ground.
Maybe I have to get another uart but why shouldn‘t it work with the arduino?

This can be the problem if you don’t pull up the logic level from 3.3v to 5v for the TX line of the toniebox.

Okay.
But at the toniebox tx I don‘t have a Resistor.
Just ordered another Adapter.

So, with the new adapter I got an equal but different error.
stops one line before?

homie@homie:~$ cc3200tool -p /dev/ttyUSB0 list_filesystem
2024-12-11 12:45:20,016 – Connecting to target…
2024-12-11 12:45:20,277 – Connected, reading version…
2024-12-11 12:45:20,281 – connected to target
2024-12-11 12:45:20,281 – Version: CC3x00VersionInfo((0, 4, 1, 2), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (16, 0, 0, 0))
2024-12-11 12:45:20,281 – This is a CC3200 device
2024-12-11 12:45:20,281 – Switching to NWP bootloader…
2024-12-11 12:45:20,285 – Switching UART to APPS…
2024-12-11 12:45:20,288 – Resetting communications …
2024-12-11 12:45:21,552 – Uploading rbtl3100s.dll…
2024-12-11 12:45:21,552 – Reading rbtl3100s.dll from file /home/homie/.local/lib/python3.12/site-packages/cc3200tool/dll/rbtl3100s.dll
2024-12-11 12:45:21,553 – Getting storage list…
2024-12-11 12:45:26,622 – timed out while waiting for ack
Traceback (most recent call last):
File “/home/homie/.local/bin/cc3200tool”, line 8, in
sys.exit(main())
^^^^^^
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 1490, in main
cc.switch_to_nwp_bootloader()
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 1048, in switch_to_nwp_bootloader
self._raw_write(0, dll_data(‘rbtl3100s.dll’))
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 878, in _raw_write
self._send_chunk(offset + sent, chunk, storage_id)
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 862, in _send_chunk
self._send_packet(command + data)
File “/home/homie/.local/lib/python3.12/site-packages/cc3200tool/cc.py”, line 789, in _send_packet
raise CC3200Error(
cc3200tool.cc.CC3200Error: No ack for packet opcode=0x2d

and just to be sure.
I have connected 3,3v to sop2 all the time.
After made a command I have to connect rst with gnd again to give another command. (If I don’t do it, it says timed out while waiting).

Do I have to switch into another bootmode?

meanwhile wires are glued and soldered to the board. no shorts. no bad connection here.

I also tried without battery and connected to power supply.

new adapter is from Makershop.de CH340G TTL Konverter (hmm, it’s the same driver as arduino)

So I read the newbie article again and again.

Passage: Connect the UART programmer via USB to your computer. The green LED of the Toniebox mainboard should be constantly green (no flashing/blinking). If that’s not the case, your connections are most probably not sitting correctly.

So with no external power, just the UART, the green LED should light?

until now the 3,3v was not connected to the uart.
i changed it now, but did not solve it.
same issue.

You need external power support, either the battery or the power outlet. The UART alone is normally not enough for the CC3200, even though the led might be very light green. You notice the difference immediately after you plug in external power.

External power was always plugged in.

I am one step further. It’s neither the Arduino nor the new adapter. It’s either something with the Linux installation or with the laptop’s USB ports. The computer is already quite old, so I’m not entirely sure if it even has USB 1.0. Because otherwise, all communication works. No idea.
It worked with my adpaters on another linux machine.