Hello All-
I am very new at USB programming, and have a very specific need in that
regard. I have a specialized scientific device that has a usb interface
developed using Windriver in a Windows environment. I am trying to get it
to function under OSX.
I now need to download the firmware hex file onto the cy7c68013a. Therein
lies the problem - I have the device working fine under Windows XP on the
Boot Camp partition of my laptop (using the software provided by the
vendor), but I see no hexfiles there - I can only assume the hex file is
incorporated into the interface spit out by Windriver.
What is the recommended method of obtaining the firmware hex file (if there
is one in this situation) so I can proceed?
Hi Tom,
Firmware is firmware, so it doesn't matter what architecture downloads it to
the device, the same file should run the device hardware.
Hopefully I am giving good advice here (since I don't think any Apple persion
is going to see or respond to this until tomorrow), but your solution would
involve
1) finding the firmware
Yes, first you need to figure out if any firmware needs to be sent at all.
Sometimes it's stored in ROM on the device itself, in which case you have
nothing to do.
Have a look at the device in USB Prober. If its device class and all that
is 255 then you probably need to find firmware. If it's zero and the
Composite class driver has matched to the device and created all the
IOUSBInterfaces for you, then the FX2 is getting its firmware some other
way and you don't have to worry about it :)
(Also you can look for firmware-carrying chips on the board...)
That is almost certainly not the firmware for this device... that looks
like the firmware for turning the FX2 into an ATA interface, not exactly a
'scientific device'. Loading that would probably make your device very
unhappy.
If you need firmware and you can't find out where it's coming from, it'll
probably be a binary blob in the driver somewhere. It's more likely to be
a straight table rather than being in Intel hex format (in my experience).
Of course, the best way to be sure is just snoop what the Windows driver
is doing and rebuild the firmware from that. There are stacks of programs
that do this under Windows... usbsnoop/SniffUSB is a good one as is
SnoopyPro.
2) figuring out how to get the firmware file from your OS X partition down
to the device.
That is the easy bit! Just send a bunch of writes to the FX2 memory.
Actually there was a thread about this quite recently on the list.
Is what you're trying to write an application (that will interact with the
device?) or a driver that will allow other applications to use the device or
some kind of plugin?
That would indeed be interesting to know.
hth,
michael
{P^/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden