Comment 0 for bug 256908

Revision history for this message
tipok (piratfm) wrote :

Binary package hint: fxload

Description: Ubuntu 8.04.1
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://de.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

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