Good evening everybody,
It seems like i bricked my ToniBox will trying to make a backup of all crucial files.
Maybe I’m just doing something wrong, but the box isn’t booting anymore.
When I tried to get a copy of the flash content and the filesystem the following happened:
cc3200tool -p /dev/ttyUSB0 --reset rts read_flash firmware.dmp read_all_files ./filedump
2024-01-20 18:46:53,252 -- Connecting to target...
2024-01-20 18:46:55,630 -- timed out while waiting for ack
2024-01-20 18:46:55,901 -- Connected, reading version...
2024-01-20 18:46:55,908 -- connected to target
2024-01-20 18:46:55,908 -- Version: CC3x00VersionInfo((0, 4, 1, 2), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (16, 0, 0, 0))
2024-01-20 18:46:55,909 -- This is a CC3200 device
2024-01-20 18:46:55,909 -- Switching to NWP bootloader...
2024-01-20 18:46:55,925 -- Switching UART to APPS...
2024-01-20 18:46:55,940 -- Resetting communications ...
2024-01-20 18:46:57,220 -- Uploading rbtl3100s.dll...
2024-01-20 18:46:57,221 -- Getting storage list...
2024-01-20 18:46:57,941 -- APPS version: CC3x00VersionInfo((0, 4, 0, 2), (0, 0, 0, 0), (0, 0, 0, 0), (0, 0, 0, 0), (16, 0, 0, 0))
2024-01-20 18:46:57,941 -- Getting storage list...
2024-01-20 18:46:57,957 -- Getting storage info...
2024-01-20 18:46:57,973 -- storage #2 info bytes: 0x10, 0x0, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0
2024-01-20 18:46:57,973 -- Setting raw read size to maximum: 4194304
2024-01-20 18:46:57,973 -- Reading raw storage #2 start 0x0, size 0x400000...
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
2024-01-20 18:48:04,255 -- Getting storage info...
2024-01-20 18:48:04,261 -- storage #2 info bytes: 0x10, 0x0, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0
2024-01-20 18:48:04,261 -- Getting storage list...
2024-01-20 18:48:04,277 -- Reading raw storage #2 start 0x0, size 0x2000...
..
2024-01-20 18:48:04,403 -- [0] detected a valid FAT revision: 58
2024-01-20 18:48:04,403 -- broken FAT: (invalid header signature: 0x00000010, 0x00001040)
2024-01-20 18:48:04,403 -- Getting storage list...
2024-01-20 18:48:04,419 -- Reading raw storage #2 start 0x774, size 0x1774...
..
2024-01-20 18:48:04,520 -- selected FAT revision: 58 (active)
Traceback (most recent call last):
File "/usr/local/bin/cc3200tool", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/cc3200tool/cc.py", line 1419, in main
cc.read_all_files(command.local_dir, command.by_file_id)
File "/usr/local/lib/python3.10/dist-packages/cc3200tool/cc.py", line 1278, in read_all_files
fat_info = self.get_fat_info(inactive=False)
File "/usr/local/lib/python3.10/dist-packages/cc3200tool/cc.py", line 1261, in get_fat_info
fat_info = CC3x00SffsInfo(fat_hdr, sinfo, meta2, self._device)
File "/usr/local/lib/python3.10/dist-packages/cc3200tool/cc.py", line 532, in __init__
mirrored, flags, fname.decode('ascii'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcb in position 98: ordinal not in range(128)
So it seems as if the download of the raw flash content succeed, but the cc3200tool wasn’t able to get the content of the filesystem.
When I try to boot the box normally it also doesn’t boot . Seems like it’s running into some sort of bootloop.
CC3200 bootloader v1472818501 (09c6374) build: Fri Sep 2 14:15:01 CEST 2016 dl:1.2.0 sl:1.0.1.6 hw:tb-smt-16:3:24
loaded battery critical level = 3600
battery_level = 4780
Error [1] - ID=[-77] Sender=[6]
Error [1] - ID=[-78] Sender=[2]
ERROR: FsOpen (/sys/mcubootinfo.bin) -> -49
/sys/mcuimg1.bin: -49
/sys/mcuimg2.bin: -49
/sys/mcuimg3.bin: -49
ASSERT (main.c @ 364):
No bootable images found
Rebooting to complete WDT recovery...
Rebooting...
Did I manage to brick my box?
Or is there anything I can do?
Any help would be much appreciated.
Greetings…