On 2013.03.12 05:08, Xiaofan Chen wrote:
> I think by "Flashing a firmware" you mean to be able to program the
> EEPROM, right?

Yeah. Force of habit from dealing with other devices.

> In that case, here is a patched version of fxload which can do
> that. You may want to take a look at it and integrated the
> changes to libusbx. But I have not tested it. This is from the
> author of cycfx2prog.
> http://www.triplespark.net/elec/periph/USB-FX2/eeprom/

I think I tried that one, and still had issues, as it uses the 
a3load.hex from the original fxload project.
I'm hoping to get this whole thing sorted out when I get a chance to get 
back to it.

> BTW, I believe quite some of the USB device only use the
> EEPROM for the VID/PID (for Windows driver loading) and then
> it seems to me the firmware hex is still download on the fly to the
> RAM and run from there.

Yeah, that's what I also saw out there. Uploading a firmware on the fly 
is quite nice, since it opens the door for resourceful people to produce 
their own driver and upload their own firmware, to use the hardware as 
they see fit.

For instance, if we can figure a commonly used FX2 based device, we 
could get provide our users with a libusbx benchmark device on the 
cheap, by producing a custom driver that includes the benchmark fw.

Regards,

/Pete

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to