[FX30] Cannot flash device

Hello,

After making some changes to the dropbear init script, I built a new
image and flashed it on two of my FX30S.
However, it turns out I made a mistake and can’t connect over SSH anymore:

xxx@xxx:~$ ssh 192.168.2.2
ssh: connect to host 192.168.2.2 port 22: Connection refused

I tried to flash a clean image (downloaded from SIERRA’s website)
through swiflash on my first device, but it never succeeded:

xxx@xxx:~$ swiflash -m "fx30_wp85" -i ./mcu-rmfw-boot-yocto-legato_wp85.cwe
Detecting USB of the target
DONE
Communicating with the target
DONE
Switching to firmware download mode
...............................................................................................................

I also tried to flash the same clean image on the other FX30S, but this
time it does not even succeed to detect my device:

xxx@xxx:~$ swiflash -m "fx30_wp85" -i ./mcu-rmfw-boot-yocto-legato_wp85.cwe
Detecting USB of the target
No device connected

However, for both of them, I can clearly see them being connected to my
computer:

xxx@xxx:~$ ls /dev/ttyUSB*
/dev/ttyUSB0  /dev/ttyUSB1  /dev/ttyUSB2

And, for the first one, a few seconds after the “Switching to firmware
download mode” message appears, doing the same command only returns:

xxx@xxx:~$ ls /dev/ttyUSB*
/dev/ttyUSB0

I can also use minicom to interact with /dev/ttyUSB2 to type some AT
commands, like:

AT!IMAGE?
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
FW   1    GOOD   1   0 0      ?_?         07.11.22.00_?
FW   2    EMPTY  0   0 0
FW   3    EMPTY  0   0 0
Max FW images: 3
Active FW image is at slot 1

TYPE SLOT STATUS LRU FAILURES UNIQUE_ID   BUILD_ID
PRI  FF   GOOD   0   0 0      001.032_000 07.11.22.00_GENERIC
Max PRI images: 50

Using the factory reset button also proved to be unsuccessful, even
though the factory recovery is enabled:

AT!FWD?FACTORYRECOVERY
ENABLED

OK

Did someone run into those issues ?

Lucas

HI Lucas
this topic should be handle by the forum dedicated to FX30 product.
I recreate your topic there, and this is the link.

I will close the current topic
Best regards