Code: Select all
ERROR: SGL! header missing.
Error. Missing SGL! in .sgl file header
Code: Select all
ERROR: SGL! header missing.
Error. Missing SGL! in .sgl file header
Code: Select all
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000 53 47 4C 21 16 09 0F 77 63 77 7D 1B 9C 47 14 D7 SGL!...wcw}.œG.×
Code: Select all
$ mono GD77_FirmwareLoader.exe ~/firmware.sgl
Firmware file confirmed as SGL
- Sending Download commandERROR: Submit Async Read Failed.
Error unexpected response from GD-77: 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
Error sending command.
Error while sending initial commands
Code: Select all
[3644452.264930] usb 1-1.4: new full-speed USB device number 12 using dwc_otg
[3644452.398171] usb 1-1.4: New USB device found, idVendor=15a2, idProduct=0073, bcdDevice= 0.02
[3644452.398192] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[3644452.398207] usb 1-1.4: Product: USB COMPOSITE DEVICE
[3644452.398219] usb 1-1.4: Manufacturer: FREESCALE SEMICONDUCTOR INC.
[3644452.404720] hid-generic 0003:15A2:0073.0006: hiddev96,hidraw0: USB HID v1.00 Device [FREESCALE SEMICONDUCTOR INC. USB COMPOSITE DEVICE] on usb-3f980000.usb-1.4/input0
[3644475.287217] usb 1-1.4: usbfs: interface 0 claimed by usbhid while 'mono' sets config #1
[3644475.388202] usb 1-1.4: usbfs: process 11140 (mono) did not claim interface 0 before use
Looks like the udev file /etc/udev/rules.d/99-gd77.rules is missing, as usbdev has claimed the interface.KC7RBW wrote: ↑Thu Nov 28, 2019 4:38 amWhile trying again today, I got this:
Looking at the kernel logs, I see this:Code: Select all
$ mono GD77_FirmwareLoader.exe ~/firmware.sgl Firmware file confirmed as SGL - Sending Download commandERROR: Submit Async Read Failed. Error unexpected response from GD-77: 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 Error sending command. Error while sending initial commands
Code: Select all
[3644452.264930] usb 1-1.4: new full-speed USB device number 12 using dwc_otg [3644452.398171] usb 1-1.4: New USB device found, idVendor=15a2, idProduct=0073, bcdDevice= 0.02 [3644452.398192] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [3644452.398207] usb 1-1.4: Product: USB COMPOSITE DEVICE [3644452.398219] usb 1-1.4: Manufacturer: FREESCALE SEMICONDUCTOR INC. [3644452.404720] hid-generic 0003:15A2:0073.0006: hiddev96,hidraw0: USB HID v1.00 Device [FREESCALE SEMICONDUCTOR INC. USB COMPOSITE DEVICE] on usb-3f980000.usb-1.4/input0 [3644475.287217] usb 1-1.4: usbfs: interface 0 claimed by usbhid while 'mono' sets config #1 [3644475.388202] usb 1-1.4: usbfs: process 11140 (mono) did not claim interface 0 before use
Code: Select all
jangeloracoma:GD77_FirmwareLoader jangelo$ mono GD77_FirmwareLoader.exe OpenGD77_latest2.sgl
Firmware file confirmed as SGL
.ERROR: Submit Async Read Failed.
Error read returned
Error sending command
Error while sending initial commands
^C
The udev rule is definitely present. I'm unsure why it's not working. It did work the first time I tried it. I also tried rebooting but this didn't help. I haven't figured out how to debug udev when it's not logging to a file. The journal doesn't seem to show anything relevant except what's coming from the kernel log (already posted).
Currently running Raspbian 10 (Buster).
Okay. So, I'll try that on a RPi here, after I finished the fonts stuff.KC7RBW wrote: ↑Fri Nov 29, 2019 3:23 amThe udev rule is definitely present. I'm unsure why it's not working. It did work the first time I tried it. I also tried rebooting but this didn't help. I haven't figured out how to debug udev when it's not logging to a file. The journal doesn't seem to show anything relevant except what's coming from the kernel log (already posted).
Currently running Raspbian 10 (Buster).
Yes, as Alex reported, there is a problem with the USB HID claiming, as under Linux, where you can solve that with a udev rule. We need to find how to do that on OS-X.4I1RAC wrote: ↑Fri Nov 29, 2019 2:31 amOn OSX High Sierra 10.13.6, with mono
Mono version is:Code: Select all
jangeloracoma:GD77_FirmwareLoader jangelo$ mono GD77_FirmwareLoader.exe OpenGD77_latest2.sgl Firmware file confirmed as SGL .ERROR: Submit Async Read Failed. Error read returned Error sending command Error while sending initial commands ^C
Mono JIT compiler version 6.4.0.198 (2019-06/fe64a4765e6 Wed Sep 18 14:14:51 EDT 2019)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
Well, it took me 8 hours to install mono-complete on a RPi 3 A+KC7RBW wrote: ↑Fri Nov 29, 2019 3:23 amThe udev rule is definitely present. I'm unsure why it's not working. It did work the first time I tried it. I also tried rebooting but this didn't help. I haven't figured out how to debug udev when it's not logging to a file. The journal doesn't seem to show anything relevant except what's coming from the kernel log (already posted).
Currently running Raspbian 10 (Buster).