I’m trying to flash a device with “swiflash” tool.
For constraints related to my need, I have to use swiflash with the “-p” option to specify a port.
This method works well unless the fx30 has not been flashed before.
Let me explain. If I execute this command : "swiflash -p /dev/serial/by-path/pci-0000:00:14.0-usb-0:1:1.3-port0 -m wp77xx -i mySPK.spk", I get this error message: "Detecting USB of the target. No device connected"
On the other hand, if I first do :
"swiflash -m wp77xx -i mySPK.spk", it works and then the first command: "swiflash -p /dev/serial/by-path/pci-0000:00:14.0-usb-0:1:1.3-port0 -m wp77xx -i mySPK.spk" also works.
owner@ubuntu:~$ swiflash -p /dev/serial/by-path/pci-0000\:03\:00.0-usb-0\:2.1\:1.0-port0 -m wp76xx -i /home/owner/leaf/leaf-data/wp76/wp76-image/modem/9999999_9907152_SWI9X07Y_02.37.03.00_00_GENERIC_002.095_000.spk
Detecting USB of the target
Communicating with the target
Switching to firmware download mode
Downloading the firmware
Rebooting the module
Firmware Download SUCCESS
Maybe you did with AT!BOOTHOLD, after module reboots, check whether if there is a really port called “/dev/serial/by-path/pci-0000:00:14.0-usb-0:1:1.0-port0”