Other Parts Discussed in Thread: CC3220S
Tool/software: Code Composer Studio
Hello!
I have been trying to use the Uniflash stand-alone programmer (dslite.sh/.bat) under both a Linux VM and the host Windows machine with an external USB UART. This fails with a slbootloader.slbootloader.BootLoaderError. This is with the CC3220S Launchpad; I have the jumpers on J20 for RX and TX disconnected and the rest in place and am powering through the USB. I get the following output when running the command "dslite.bat --mode 3220 device info --port COM8:":
c:\ti\uniflash_4.2.2>c:\ti\uniflash_4.2.2\dslite.bat --mode cc3220 device info -
-port COM8:
Executing the following command:
> c:\ti\uniflash_4.2.2\simplelink\gen2\bin\SLImageCreator.exe device info --port
COM8:
For more details and examples, please visit processors.wiki.ti.com/index.
php/UniFlash_v4_Quick_Guide#Command_Line_Interface
Config file (cfg.json) doesn't exist, using defaults
INFO:root:COM PORT COM8:
INFO:slbootloader.slbootloader:Connecting to device
INFO:slbootloader.slbootloader:--- Please power off the device ---
Press ENTER to continue
INFO:slbootloader.slbootloader:Power off
INFO:slbootloader.slbootloader:Set break signal
INFO:slbootloader.slbootloader:--- Please power on the device ---
INFO:slbootloader.slbootloader:Power on
Traceback (most recent call last):
File "<string>", line 3161, in <module>
File "<string>", line 3157, in main
File "<string>", line 3136, in cmdline
File "<string>", line 2870, in command_device_info
File "<string>", line 752, in connect_device
File "U:\slbootloader\slbootloader.py", line 392, in connect_with_reset
File "U:\slbootloader\slbootloader.py", line 276, in _expect_ack
File "U:\slbootloader\slbootloader.py", line 307, in _read_data
slbootloader.slbootloader.BootLoaderError: Timeout reading data
SLImageCreator returned -1
I disconnect the power (is pressing reset when pressing enter sufficient?) when requested and reconnect the power as requested. The same settings work with the XDS110 directly, but I need the programming without a JTAG. SOP[2:0] of 100 or 010 doesn't seem to have an effect.
Does a document exist on how to use the dslite script to program the board. Is there something missing to get the programming script through a different UART?