I was expecting a normal firmware uploading, using a EZ-USB second stage loader (located in: /usr/share/usb/a3load.hex, this file comes with this package).
My command-line parameters:
fxload -vvvv -D /dev/bus/usb/002/036 -I inner_fw.hex -s /usr/share/usb/a3load.hex
In result I see only first code-line of loader's firmware with "" error:
<code>
root@grabber:/usr/src/usb-cpu# fxload -vvvv -D /dev/bus/usb/002/036 -I inner_fw.hex -s /usr/share/usb/a3load.hex
microcontroller type: fx2
1st stage: load 2nd stage loader
open RAM hexfile image /usr/share/usb/a3load.hex
stop CPU
** LINE: :1003570090E668E0FF74FFF0E0B40B04EFF0D322FF
record too short?
unable to download /usr/share/usb/a3load.hex
</code>
But HEX-file is correct, so there is bug in string length counting, so i presented little patch to correct this bug
Binary package hint: fxload
Description: Ubuntu 8.04.1 de.archive. ubuntu. com hardy/universe Packages dpkg/status
Release: 8.04
fxload:
Installed: 0.0.20020411-1.1
Candidate: 0.0.20020411-1.1
Versions table:
*** 0.0.20020411-1.1 0
500 http://
100 /var/lib/
I was expecting a normal firmware uploading, using a EZ-USB second stage loader (located in: /usr/share/ usb/a3load. hex, this file comes with this package). usb/002/ 036 -I inner_fw.hex -s /usr/share/ usb/a3load. hex
My command-line parameters:
fxload -vvvv -D /dev/bus/
In result I see only first code-line of loader's firmware with "" error: /usr/src/ usb-cpu# fxload -vvvv -D /dev/bus/ usb/002/ 036 -I inner_fw.hex -s /usr/share/ usb/a3load. hex usb/a3load. hex E0FF74FFF0E0B40 B04EFF0D322FF usb/a3load. hex
<code>
root@grabber:
microcontroller type: fx2
1st stage: load 2nd stage loader
open RAM hexfile image /usr/share/
stop CPU
** LINE: :1003570090E668
record too short?
unable to download /usr/share/
</code>
But HEX-file is correct, so there is bug in string length counting, so i presented little patch to correct this bug