Other Parts Discussed in Thread: UNIFLASH
Hello,
I'm developing a Python scrip to automate flashing firmware. I want to control Flash Programmer 2 using CLI but I cannot connect to a device. I list connected devices using the command srfprog -ls auto. Here's the response I get:
0 Device: XDS110, ID:XDS-L2000SCQ
Chip: CC1310
Chip Revision: B (2.1)
1 Device: Intel(R) Active Management Technology - SOL (COM3), ID:COM3
Chip: Unknown
2 Device: Standard Serial over Bluetooth link (COM4), ID:COM4
Chip: Unknown
3 Device: Standard Serial over Bluetooth link (COM5), ID:COM5
Chip: Unknown
4 Device: XDS110 Class Application/User UART (COM8), ID:COM8
Chip: Unknown
After that I tried to connect to my device (index 0) using the command "srfprog -t soc(XDS-L2000SCQ, CC1310)" or "srfprog --target lsidx(0)"
and here's the respond I get:
ERROR: Unknown Action: 0
I don't know what I'm doing wrong. Flash Programmer 2 is up to date.
Thanks in advance