Hi!

I am currently working on a driver for the Keil ULINK adapter. The
microcontroller that is used in this adapter (Cypress EZ-USB, basically
an 8051 + a USB core) needs its firmware downloaded over the USB bus
after power-up.

I am using SDCC to compile my own firmware, the output format is Intel
HEX.

What is the preferred way of integrating such tasks into OpenOCD? Is it
OK to do that in the .init function of the driver?

The BFD library which is included in the GNU binutils distribution could
be used to read the Intel HEX file (I already have this method working
in another program), but that would introduce another dependency (no
problem for the Linux build I guess, probably also no problem for
Darwin, but what about Windows?

Another way would be to implement a minimalistic Intel HEX parser in the
ULINK driver or in a separate C module.

Can someone point me in the right direction here?

Thanks!

Best regards,
Martin Schmoelzer

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to