# Unable to reflash with swiflash

**URL:** <https://mangoh.discourse.group/t/unable-to-reflash-with-swiflash/177>\
**Category:** mangOH Green\
**Created:** [July 27, 2016, 10:37pm UTC](https://mangoh.discourse.group/t/unable-to-reflash-with-swiflash/177 "2016-07-27T22:37:50Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tobyjaffey](https://avatars.discourse-cdn.com/v4/letter/t/6f9a4e/32.png) [@tobyjaffey](https://mangoh.discourse.group/u/tobyjaffey)\
**Post date:** [July 27, 2016, 10:37pm UTC](https://mangoh.discourse.group/t/unable-to-reflash-with-swiflash/177/1 "2016-07-27T22:37:50Z")

</div>

I am having some problems with flashing the mangOH Green using swiflash.  
I am following the instructions from [http://source.sierrawireless.com/resources/airprime/software/swiflash/](http://source.sierrawireless.com/resources/airprime/software/swiflash/)

However, I never see a /dev/ttyUSBx device appear on my development machine, can you offer any suggestions?

I ssh into the mangOH Green then tell it to enter the bootloader.

```
root@swi-mdm9x15:~# microcom -E /dev/ttyAT
AT!BOOTHOLD 

```

This appears to work, as the ssh connection goes dead. I can also achieve the same thing by setting switch 7 on the microswitch array.

However, I never see the mangOH appear as a USB serial device and register with Linux.  
I am connecting to the micro USB port on the mangOH (labelled PRIMARY CF3 USB).

On my development machine I see the following:

```
trj@dev:~$ lsusb
Bus 002 Device 030: ID 1199:68c0 Sierra Wireless, Inc.

trj@dev:~$ dmesg

[20795485.867906] usb 2-1.1: new high-speed USB device number 30 using ehci-pci
[20795485.961432] usb 2-1.1: New USB device found, idVendor=1199, idProduct=68c0
[20795485.961445] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[20795485.961452] usb 2-1.1: Product: WP8548
[20795485.961457] usb 2-1.1: Manufacturer: Sierra Wireless, Incorporated
[20795485.961463] usb 2-1.1: SerialNumber: 0123456789ABCDEF

```

I have setup the udev rule to stop the device being grabbed by other systems.

```
trj@dev:~$ sudo swiflash -m WP85XX -i ~/1102816_9905383_WP8548_07.10.04.00_00_Generic_001.006_000-field.spk
[ERROR]
No ttyUSB ports detected; please make sure your device is connected and the udev rule is enabled, or try to power cycle the device.

```

If it helps, these are the details of the board I am using:

```
root@swi-mdm9x15:~# microcom -E /dev/ttyAT
at!priid?
PRI Part Number: 9905383
Revision: 01.02

Carrier PRI: 9999999_9904559_SWI9X15Y_07.08.02.00_00_GENERIC_001.018_000

OK
at!package?
1102816_9905383_WP8548_07.08.02.00_00_Generic_001.002_000

OK
ati
Manufacturer: Sierra Wireless, Incorporated
Model: WP8548
Revision: SWI9X15Y_07.08.02.00 r31088 CARMD-EV-FRMWR1 2016/02/05 23:29:29
IMEI: 359377060012704
IMEI SV: 41
FSN: LL542500141103
+GCAP: +CGSM

```

Thank you.

---

_[View the full topic](https://mangoh.discourse.group/t/unable-to-reflash-with-swiflash/177)._
