FOME-Tech / FOME-Tech/fome-fw

automatic firmware update on linux: can't find bootloader

Open
#750 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
138
Forks
69
Avg merge
5d 20h
Merged PRs (30d)
4

Description

Sometimes when you auto-update on Linux, the ECU reboots to the bootloader but the console can't find it on the other side. Manual (separate) reboot to openblt -> program finds it OK, so the ECU is alive.

dmesg looks fine:

connect:
```
[ 2146.793205] usb 1-1: new high-speed USB device number 20 using xhci_hcd
[ 2146.922244] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice= 6.63
[ 2146.922261] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2146.922268] usb 1-1: Product: USB2.1 Hub
[ 2146.922274] usb 1-1: Manufacturer: GenesysLogic
[ 2146.927154] hub 1-1:1.0: USB hub found
[ 2146.927459] hub 1-1:1.0: 4 ports detected
[ 2147.034872] usb 2-1: new SuperSpeed USB device number 6 using xhci_hcd
[ 2147.053973] usb 2-1: New USB device found, idVendor=05e3, idProduct=0626, bcdDevice= 6.63
[ 2147.053977] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2147.053978] usb 2-1: Product: USB3.1 Hub
[ 2147.053980] usb 2-1: Manufacturer: GenesysLogic
[ 2147.059562] hub 2-1:1.0: USB hub found
[ 2147.060442] hub 2-1:1.0: 4 ports detected
[ 2147.224907] usb 1-1.1: new full-speed USB device number 21 using xhci_hcd
[ 2147.327205] usb 1-1.1: New USB device found, idVendor=0483, idProduct=5740, bcdDevice= 2.00
[ 2147.327211] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2147.327213] usb 1-1.1: Product: FOME Engine Management ECU
[ 2147.327215] usb 1-1.1: Manufacturer: FOME
[ 2147.327216] usb 1-1.1: SerialNumber: 4B003F001451333135363231
[ 2147.342898] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[ 2147.343362] scsi host6: usb-storage 1-1.1:1.0
[ 2147.343803] cdc_acm 1-1.1:1.1: ttyACM0: USB ACM device
[ 2148.367891] scsi 6:0:0:0: Direct-Access FOME INI Drive v6.1 PQ: 0 ANSI: 4
[ 2148.368464] scsi 6:0:0:1: Direct-Access FOME SD Card v6.1 PQ: 0 ANSI: 4
[ 2148.369600] sd 6:0:0:0: Attached scsi generic sg1 type 0
[ 2148.370482] sd 6:0:0:1: Attached scsi generic sg2 type 0
[ 2148.371736] sd 6:0:0:0: [sda] 2176 512-byte logical blocks: (1.11 MB/1.06 MiB)
[ 2148.372403] sd 6:0:0:1: [sdb] Media removed, stopped polling
[ 2148.372703] sd 6:0:0:0: [sda] Write Protect is on
[ 2148.372715] sd 6:0:0:0: [sda] Mode Sense: 03 00 80 00
[ 2148.372950] sd 6:0:0:0: [sda] No Caching mode page found
[ 2148.372962] sd 6:0:0:0: [sda] Assuming drive cache: write through
[ 2148.373381] sd 6:0:0:1: [sdb] Attached SCSI removable disk
[ 2148.382663] sda:
[ 2148.383073] sd 6:0:0:0: [sda] Attached SCSI removable disk
```
disconnect:
```
[ 2157.834323] usb 1-1.1: USB disconnect, device number 21
```
bootloader reconnect:
```
[ 2158.376009] usb 1-1.1: new full-speed USB device number 22 using xhci_hcd
[ 2158.477703] usb 1-1.1: New USB device found, idVendor=0483, idProduct=5740, bcdDevice= 2.00
[ 2158.477720] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2158.477728] usb 1-1.1: Product: FOME Engine Management ECU
[ 2158.477734] usb 1-1.1: Manufacturer: FOME
[ 2158.477739] usb 1-1.1: SerialNumber: 4B003F001451333135363231
[ 2158.489422] cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.