[Fx2lib-devel] Problem with running bulkloop example from fx2lib against CY3684 eval
Status: Beta
Brought to you by:
mulicheng
From: bali a. <bal...@gm...> - 2009-06-25 19:02:00
|
Hello friends: Let me start by saying that this project is wonderful. Using sdcc to compile 8051 code is brilliant. I am running the fx2lib sample code against a CY3684 development platform. I am using the usb skeleton driver code with the only change being the addition of VID/PID of the FX2 after re-enumeration. On the application side, I have written a simple application that opens up /dev/skel01, and writes and then reads from it. I have been able to compile the bulkloop sample code in fx2lib, with the only change being that I had to change the call handle_setupdata(). The handle_setupdata() call needs a TRUE or FALSE paramater. What should this parameter be? I have currently set this to FALSE. I have also been able to load the compiled *.ihx file using the cycfx2prog program, and the chip re-enumerates itself to PID 0x1004. However my application to write and the read from the device fails, specifically no data is being read back. However utilizing the compiled Cypress bulkloop.hex firmware, which I load utilizing the 'fxload' program the application I wrote works. Any thoughts or ideas on this problem are welcome, any suggestions on what to try next are appreciated? Thank you. bali |