Unable to create flash backup

Hello,
i had the same problem. After trying some hours trying it worked with the following cmd

cc3200tool -p COM7 write_file mcuimg.bin /sys/pre-img.bin

in my case it was COM7

thank you for your reply. I didn’t try this command.
Isn’t this a command for writing onto the flash of the toniebox, is it?

three times yes

I did another wiring. I used little bit of strings of my western guitar and hotglued after I measured the connection. There are no short circuits either.
I stick to your colors of your image.

c7cadebaddf2e1555766ff610d3b9f3ee6e270e5_2_690x476

I used again this command because connecting RST and GND didn’t work for me (could be that I didn’t do this correctly)

cc3200tool -p COM4 --reset dtr read_all_files ExtractedFromBox/

with this log:

C:\Users\phili\cc3200tool\Backup>cc3200tool -p COM4 --reset dtr read_all_files ExtractedFromBox/
2025-01-03 22:29:24,787 – Connecting to target…
2025-01-03 22:29:27,090 – timed out while waiting for ack
2025-01-03 22:29:29,306 – timed out while waiting for ack
2025-01-03 22:29:29,509 – Connected, reading version…
2025-01-03 22:29:29,522 – connected to target
2025-01-03 22:29:29,522 – Version: CC3x00VersionInfo((0, 4, 1, 2), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (16, 0, 0, 0))
2025-01-03 22:29:29,522 – This is a CC3200 device
2025-01-03 22:29:29,522 – Switching to NWP bootloader…
2025-01-03 22:29:29,538 – Switching UART to APPS…
2025-01-03 22:29:29,554 – Resetting communications …
2025-01-03 22:29:30,769 – Uploading rbtl3100s.dll…
2025-01-03 22:29:30,770 – Reading rbtl3100s.dll from file C:\Program Files\Python313\Lib\site-packages\cc3200tool\dll\rbtl3100s.dll
2025-01-03 22:29:30,770 – Getting storage list…
2025-01-03 22:29:31,506 – APPS version: CC3x00VersionInfo((0, 4, 0, 2), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (16, 0, 0, 0))
2025-01-03 22:29:31,506 – Getting storage info…
2025-01-03 22:29:31,522 – storage #2 info bytes: 0x10, 0x0, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0
2025-01-03 22:29:31,522 – Getting storage list…
2025-01-03 22:29:31,539 – Reading raw storage #2 start 0x0, size 0x2000…
Traceback (most recent call last):
File “”, line 198, in _run_module_as_main
File “”, line 88, in run_code
File "C:\Program Files\Python313\Scripts\cc3200tool.exe_main
.py", line 7, in
sys.exit(main())
~~~~^^
File “C:\Program Files\Python313\Lib\site-packages\cc3200tool\cc.py”, line 1580, in main
cc.read_all_files(command.local_dir, command.by_file_id, command.all_by_file_id, command.inactive, command.no_verify)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Program Files\Python313\Lib\site-packages\cc3200tool\cc.py”, line 1336, in read_all_files
fat_info = self.get_fat_info(inactive=inactive)
File “C:\Program Files\Python313\Lib\site-packages\cc3200tool\cc.py”, line 1267, in get_fat_info
fat_table_bytes = self._raw_read(0, 2 * sinfo.block_size,
storage_id=STORAGE_ID_SFLASH,
sinfo=sinfo)
File “C:\Program Files\Python313\Lib\site-packages\cc3200tool\cc.py”, line 934, in _raw_read
rx_data += self._read_chunk(offset + len(rx_data),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
min(chunk_size, size - len(rx_data)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
storage_id)
^^^^^^^^^^^
File “C:\Program Files\Python313\Lib\site-packages\cc3200tool\cc.py”, line 892, in _read_chunk
data = self._read_packet()
File “C:\Program Files\Python313\Lib\site-packages\cc3200tool\cc.py”, line 777, in _read_packet
raise CC3200Error(“rx csum failed”)
cc3200tool.cc.CC3200Error: rx csum failed

I think the good news is the quick connection of my UART to the box. IMHO the wiring seems to be working.
However, is my cc3200tool broken because some commands are inactive?

Your box is powered by battery or power cord? That’s necessary. Looks like it is not.

I plug in my UART. After the LED stops blinking and stay light green I plug in my power supply.
Just didn’t make a photo of that

i have the same problem.

I think I was successfull.
Maybe someone can confirm that the filesize looks sensible?

Anyway I tried with another machine (laptop) and it worked.
I had to use this command but as I said that worked for me.

cc3200tool -p COM3 --reset dtr read_all_files ExtractedFromBox/

screenshots



Hi,

I’ve tried to backup my box but allways got the following response.
It seems, the connection is established, but the breaks.

VCC is connected to SOP2!
DTR is connected to RST manually before starting cc3200tool

It seems to me that the connection is verified and I’m using short cables.

cc3200tool -p COM5 read_all_files ExtractedFromBox/
2025-05-11 11:06:50,389 -- Connecting to target...
2025-05-11 11:06:50,594 -- Connected, reading version...
2025-05-11 11:06:50,597 -- connected to target
2025-05-11 11:06:50,597 -- Version: CC3x00VersionInfo((0, 4, 1, 2), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (16, 0, 0, 0))
2025-05-11 11:06:50,597 -- This is a CC3200 device
2025-05-11 11:06:50,597 -- Switching to NWP bootloader...
2025-05-11 11:06:50,601 -- Switching UART to APPS...
2025-05-11 11:06:50,606 -- Resetting communications ...
2025-05-11 11:06:53,813 -- timed out while waiting for ack
2025-05-11 11:06:54,021 -- Uploading rbtl3100s.dll...
2025-05-11 11:06:54,021 -- Reading rbtl3100s.dll from file C:\Users\Birger\AppData\Local\Programs\Python\Python312\Lib\site-packages\cc3200tool\dll\rbtl3100s.dll
2025-05-11 11:06:54,023 -- Getting storage list...
2025-05-11 11:06:54,776 -- APPS version: CC3x00VersionInfo((0, 4, 0, 2), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (16, 0, 0, 0))
2025-05-11 11:06:54,776 -- Getting storage info...
2025-05-11 11:06:54,779 -- storage #2 info bytes: 0x10, 0x0, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0
2025-05-11 11:06:54,779 -- Getting storage list...
2025-05-11 11:06:54,781 -- Reading raw storage #2 start 0x0, size 0x2000...
..
2025-05-11 11:06:54,883 -- [0] detected a valid FAT revision: 88
2025-05-11 11:06:54,883 -- [1] detected a valid FAT revision: 89
2025-05-11 11:06:54,883 -- Getting storage list...
2025-05-11 11:06:54,888 -- Reading raw storage #2 start 0x1774, size 0x2774...
...
2025-05-11 11:06:55,011 -- selected FAT revision: 89 (active)
2025-05-11 11:06:55,012 -- Serial Flash block size:     4096 bytes
2025-05-11 11:06:55,012 -- Serial Flash capacity:       1024 blocks
2025-05-11 11:06:55,012 --
2025-05-11 11:06:55,012 --      file    start   size    fail    flags   total   filename
2025-05-11 11:06:55,012 --      index   block   [BLKs]  safe    [BLKs]
2025-05-11 11:06:55,012 -- ----------------------------------------------------------------------------
2025-05-11 11:06:55,012 --      N/A     0       5       N/A     N/A     5       FATFS
2025-05-11 11:06:55,012 --      0       71      8       yes     0x0     16      /sys/mcuimg.bin
2025-05-11 11:06:55,012 --      4       105     1       no      0x4     1       /sys/mcubootinfo.bin
2025-05-11 11:06:55,012 --      6       106     53      yes     0x0     106     /sys/mcuimg1.bin
2025-05-11 11:06:55,012 --      7       212     53      no      0x4     53      /sys/mcuimg2.bin
2025-05-11 11:06:55,012 --      8       265     53      no      0x4     53      /sys/mcuimg3.bin
2025-05-11 11:06:55,012 --      9       408     5       yes     0x8     10      /tmp/phy.cal
2025-05-11 11:06:55,012 --      10      418     1       yes     0x8     2       /tmp/table.arp
2025-05-11 11:06:55,012 --      11      5       33      yes     0x8     66      /sys/servicepack.ucf
2025-05-11 11:06:55,012 --      12      87      1       yes     0x8     2       /sys/mode.cfg
2025-05-11 11:06:55,012 --      13      89      1       yes     0x8     2       /sys/ipcfg.ini
2025-05-11 11:06:55,012 --      14      91      1       yes     0x8     2       /sys/ap.cfg
2025-05-11 11:06:55,012 --      15      93      1       yes     0x8     2       /sys/devname.cfg
2025-05-11 11:06:55,012 --      16      95      1       yes     0x8     2       /sys/mdns.cfg
2025-05-11 11:06:55,012 --      17      97      2       yes     0x8     4       /sys/pref.net
2025-05-11 11:06:55,012 --      18      101     1       yes     0x8     2       /sys/stacfg.ini
2025-05-11 11:06:55,012 --      19      103     1       yes     0x8     2       /sys/pmcfg.ini
2025-05-11 11:06:55,012 --      20      318     40      yes     0x8     80      /www/index.html
2025-05-11 11:06:55,012 --      21      398     4       yes     0x8     8       /www/toniebox.js
2025-05-11 11:06:55,012 --      22      406     1       yes     0x8     2       /cert/ca.der
2025-05-11 11:06:55,012 --      23      931     1       yes     0x8     2       /sys/otastat.txt
2025-05-11 11:06:55,012 --      24      421     255     yes     0x8     510     /fw/sfx.bin
2025-05-11 11:06:55,012 --      26      933     1       yes     0x8     2       /sys/date_time.cfg
2025-05-11 11:06:55,012 --      27      420     1       no      0xc     1       /cert/client.der
2025-05-11 11:06:55,012 --      28      935     1       no      0xc     1       /cert/private.der
2025-05-11 11:06:55,012 --      29      936     1       yes     0x8     2       /settings.cfg
2025-05-11 11:06:55,012 --
2025-05-11 11:06:55,012 --    Flash usage
2025-05-11 11:06:55,012 -- -------------------------
2025-05-11 11:06:55,012 -- used space:  938 blocks
2025-05-11 11:06:55,012 -- free space:  86 blocks
2025-05-11 11:06:55,012 -- memory hole: [938-1023]
2025-05-11 11:06:55,018 -- Reading file /sys/mcuimg.bin -> ExtractedFromBox/sys/mcuimg.bin
2025-05-11 11:06:55,288 -- Reading file /sys/mcuimg.bin -> C:\Users\xxxxxxxx\AppData\Local\Temp\tmpopd9uh39
2025-05-11 11:06:55,553 -- File ExtractedFromBox/sys/mcuimg.bin verified
2025-05-11 11:06:55,561 -- Reading file /sys/mcubootinfo.bin -> ExtractedFromBox/sys/mcubootinfo.bin
2025-05-11 11:06:55,574 -- Reading file /sys/mcubootinfo.bin -> C:\Users\xxxxxxxx\AppData\Local\Temp\tmpjm8ol81i
2025-05-11 11:06:55,590 -- File ExtractedFromBox/sys/mcubootinfo.bin verified
2025-05-11 11:06:55,596 -- Reading file /sys/mcuimg1.bin -> ExtractedFromBox/sys/mcuimg1.bin
2025-05-11 11:06:57,559 -- Reading file /sys/mcuimg1.bin -> C:\Users\xxxxxxxx\AppData\Local\Temp\tmp4n018btw
2025-05-11 11:07:02,728 -- File /sys/mcuimg1.bin could not be read, did not get entire response
2025-05-11 11:07:07,738 -- timed out while waiting for ack
2025-05-11 11:07:07,738 -- File /sys/mcuimg2.bin could not be read, No ack for packet opcode=0x2a
2025-05-11 11:07:12,739 -- timed out while waiting for ack
2025-05-11 11:07:12,739 -- File /sys/mcuimg3.bin could not be read, No ack for packet opcode=0x2a
2025-05-11 11:07:17,747 -- timed out while waiting for ack
2025-05-11 11:07:17,747 -- File /tmp/phy.cal could not be read, No ack for packet opcode=0x2a
2025-05-11 11:07:22,753 -- timed out while waiting for ack
2025-05-11 11:07:22,753 -- File /tmp/table.arp could not be read, No ack for packet opcode=0x2a
2025-05-11 11:07:27,762 -- timed out while waiting for ack
2025-05-11 11:07:27,762 -- File /sys/servicepack.ucf could not be read, No ack for packet opcode=0x2a
2025-05-11 11:07:32,782 -- timed out while waiting for ack
2025-05-11 11:07:32,782 -- File /sys/mode.cfg could not be read, No ack for packet opcode=0x2a
2025-05-11 11:07:37,786 -- timed out while waiting for ack
2025-05-11 11:07:37,786 -- File /sys/ipcfg.ini could not be read, No ack for packet opcode=0x2a
2025-05-11 11:07:42,797 -- timed out while waiting for ack
2025-05-11 11:07:42,797 -- File /sys/ap.cfg could not be read, No ack for packet opcode=0x2a
2025-05-11 11:07:47,800 -- timed out while waiting for ack
2025-05-11 11:07:47,800 -- File /sys/devname.cfg could not be read, No ack for packet opcode=0x2a
2025-05-11 11:07:52,811 -- timed out while waiting for ack
2025-05-11 11:07:52,811 -- File /sys/mdns.cfg could not be read, No ack for packet opcode=0x2a
2025-05-11 11:07:57,826 -- timed out while waiting for ack
2025-05-11 11:07:57,826 -- File /sys/pref.net could not be read, No ack for packet opcode=0x2a
2025-05-11 11:08:02,835 -- timed out while waiting for ack
2025-05-11 11:08:02,835 -- File /sys/stacfg.ini could not be read, No ack for packet opcode=0x2a
2025-05-11 11:08:07,849 -- timed out while waiting for ack
2025-05-11 11:08:07,849 -- File /sys/pmcfg.ini could not be read, No ack for packet opcode=0x2a
2025-05-11 11:08:12,867 -- timed out while waiting for ack
2025-05-11 11:08:12,867 -- File /www/index.html could not be read, No ack for packet opcode=0x2a
2025-05-11 11:08:17,875 -- timed out while waiting for ack
2025-05-11 11:08:17,875 -- File /www/toniebox.js could not be read, No ack for packet opcode=0x2a
2025-05-11 11:08:22,883 -- timed out while waiting for ack
2025-05-11 11:08:22,884 -- File /cert/ca.der could not be read, No ack for packet opcode=0x2a
2025-05-11 11:08:27,897 -- timed out while waiting for ack
2025-05-11 11:08:27,897 -- File /sys/otastat.txt could not be read, No ack for packet opcode=0x2a
2025-05-11 11:08:32,914 -- timed out while waiting for ack
2025-05-11 11:08:32,914 -- File /fw/sfx.bin could not be read, No ack for packet opcode=0x2a
2025-05-11 11:08:37,920 -- timed out while waiting for ack
2025-05-11 11:08:37,920 -- File /sys/date_time.cfg could not be read, No ack for packet opcode=0x2a
2025-05-11 11:08:42,930 -- timed out while waiting for ack
2025-05-11 11:08:42,930 -- File /cert/client.der could not be read, No ack for packet opcode=0x2a
2025-05-11 11:08:47,939 -- timed out while waiting for ack
2025-05-11 11:08:47,939 -- File /cert/private.der could not be read, No ack for packet opcode=0x2a
2025-05-11 11:08:52,945 -- timed out while waiting for ack
2025-05-11 11:08:52,945 -- File /settings.cfg could not be read, No ack for packet opcode=0x2a
2025-05-11 11:08:52,945 -- One or more files could not be verified or read at all

Hi
How does your wiring look like?

Did you use hot glue to fix connection temporarily?

Which command did you use? With or without reset dtr?

Hi,

Thanks for your fast reply.

I used some Isolation tape to fix the wiring on the board.
I also fixed the connectors to the UART with the tape.

During the reading procedure there was no movement between the parts.
I tried several times, but the interruption mostly happened at the same point during downloading the first or second file.

The command I used is visible in the first line of the log file above.

Do you have another machine?
My laptop Worked, however my desktop not.

Maybe try with adding reset dtr
cc3200tool -p COM5 --reset dtr read_all_files ExtractedFromBox/

Today I tried another UART.
I ordert this one: FT232-AZ USB zu TTL Serial Adapter für 3,3V und 5V

With the new UART I was able to backup the original data from my box.
I used the following commands:

cc3200tool -p COM6 --reset dtr read_all_files ExtractedFromBox/

cc3200tool -p COM6 --reset dtr read_flash D:\Downloads\Toniebox\backup.bin

But, afterwards when I try to open the backup.bin file I got the response that it is corrupt.

Did somebody have this issue too?

Sorry my fault.

I got all files and the backup.bin.
I thought the files would be inside the backup.bin

Now I understood that I get both.