can't normal parse HEX files

Bug #256908 reported by tipok on 2008-08-11
6
Affects Status Importance Assigned to Milestone
fxload (Ubuntu)
Undecided
Unassigned

Bug Description

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 -t fx2 -s /usr/share/usb/a3load.hex

In result I see only first code-line of loader's firmware with "record too short?" error:

root@grabber:/usr/src/usb-cpu# fxload -vvvv -D /dev/bus/usb/002/036 -I inner_fw.hex -t fx2 -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

But HEX-file is correct, so there is bug in string length counting, so i presented little patch to correct this bug

Revision history for this message
tipok (piratfm) wrote :
tipok (piratfm) on 2008-08-11
description: updated
Andreas Moog (ampelbein) on 2008-08-11
Changed in fxload:
status: New → Confirmed
tipok (piratfm) on 2008-08-11
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers