Re: looking for library to convert intel hex



On Mon, 16 Jun 2008 20:28:37 +0800, Roedy Green wrote
(in article <utmc54d9v8mpgc8q9aoo3mk20e79htk5j8@xxxxxxx>):

On Sat, 14 Jun 2008 14:54:25 +0800, steve <steve@xxxxxxx> wrote,
quoted or indirectly quoted someone who said :

I'm looking for a java library to convert intel hex into it's binary so i
can download it to a usb device.

For some odd reason I enjoy writing that sort of code. I guess it
reminds me a bit of the old assembler days of bit fiddling.

If you could tell me what sort of format you want the stream converted
TO, I would be happy to write you such a beast for $75 (usd or cad).

Somebody has already kindly provided a description of the Intel
format.

This takes me back to the days of getting EPROMS burned.


Hi roedy,
Thanks ,
it's not that difficult , I was only asking about a library (we are supposed
to re-use java right?), at no time did I ask for anyone to write it for me,
in fact I thought I was very clear in my requirements.

Obviously not clear enough for Daniel. A simple "no I have not seen any
libraries" or "sorry I don't know what intel format is" would have been
fine.


In the end I coded it myself to the intel spec (Intel Corporation 1988), the
java was maybe 60 lines , and the C library worked out at just under 100,
which was mainly pinched from the Ez-usb example in apples developer kit.

I also like bit diddling, hence I wanted to download to a Cypress EZ-USB
device,
(which i like because there is NO eprom, you download into ram and the
embedded processor executes from there, so it cuts down on development time)
and since it want to use it for forensic analysis it seemed faster to write
a GUI in java than bugger about with C++ at both ends. (Driver & embedded
8051)


Steve

References
Intel Corporation, (1988)
Hexadecimal Object File Format Specification
Available at: http://microsym.com/editor/assets/intelhex.pdf

.



Relevant Pages

  • NewestShareware.com Issue #263
    ... An easier to read version of this newsletter in HTML format can ... Download file size: 67.5 Mb ... Program Homepage/Download url ...
    (comp.software.shareware.announce)
  • Re: Graphic converter query - transparency
    ... I spent most of my childhood being dragged from one castle to the next. ... Why didn't you just leave it to download? ... Can't InDesign work with that format? ... > For the jobs I had, I always preferred Graphic Converter to DeBabelizer ...
    (uk.comp.sys.mac)
  • Re: SMP/E packaging for RECEIVE ORDER?
    ... both expect to handle GIMZIP format packages. ... Download z/OS software protocols (was SMP/E packaging for RECEIVE ... FTP ...
    (bit.listserv.ibm-main)
  • Value/modem/PPP/download (was: Lisp/Unix impedance [a programming...])
    ... Better than the 56K modem on my Mac, which is already faster than my ... your claim you cannot download any data is also bogus. ... whereby it expects all files to be in DOS format before download and it ...
    (comp.lang.lisp)
  • Re: Plugin Functionality
    ... I don't mind users having to download the plugin. ... I can't use another format because these type files ... If I could just get IE 6 to run the modplug it, ...
    (microsoft.public.frontpage.client)