Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ezloader example with an EZ-USB FX2 chip



Hi Philippe ,
The mac example needs the PID and VID to match exactly. In the system profiler you should see the USB PID and VID before and after the device is booted.


I have used the same example code to boot our USB FX device and it is quite easy to get going after you have modified the #defines at the beginning to make sure the VID and PIDs are the same as your device both before and after booting.

I have not tried it with the FX2 though. Could the bootloader code need tweaking ? Does the same firmware re-enumerate properly on Windows using the Cypress control panel ?


Jonathan Selby Director - Software Development Xaxero Marine Software Engineering Ltd at skype.com - xaxjon Satellite Phone (00) 88163 142 9922 Cell Argentina (54) 929 0160 2064 (00) 64 (0)9 412 7580 fax (00) 64 (0)9 412 7579 http://www.xaxero.com Software for extending your horizon....



philippe wicker wrote:
Hello all,

I'm really new to USB programming and these are my first experiments. I'm trying to download a firmware into an EZ-USB FX2 chip using the Ezloader sample code. This chip is actually hosted by a Cypress evaluation board. The downloaded firmware contains descriptors for a class compliant midi device (this is at least what I assume....). I already changed the k8051_USBCS constant (0x7f92) with k8051_CPUCS (0xE600) which is I believe the correct register to address to manage the reset state for the FX2 8051. The downloading and "assert reset" and "de-assert reset" requests seems to complete successfully, but the "new" device doesn't show up in USBProber (USBProber still shows the Cypress default device 0x4b4/0x8613) and NewDeviceAdded loop body is not executed after the downloading.

Any idea about the problem? Should the "new" device automatically shows up in USBProber? As it is a class compliant midi device, do I need to load a driver (as is done by Ezloader)?

Thanks for any tips or pointers.

Regards

Philippe

_______________________________________________
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

This email sent to email@hidden

_______________________________________________
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

This email sent to email@hidden
References: 
 >Ezloader example with an EZ-USB FX2 chip (From: philippe wicker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.