2005-12-21 01:56 AM
2005-12-15 07:20 AM
Hi,
When i tried to link the usb project for IAR..I get the following warnings: Warning[w6]: Type conflict for external/entry ''BULK_IN_callback'', in module USB_istr against external/entry in module USB_endp; prototyped function vs K&R function /* In module USB_istr: */ /* Function, args 0, attr 0 */ void (__atpcs __arm BULK_IN_callback)(void); /* In module USB_endp: */ /* K&R Function, args 0, attr 0 */ void (__atpcs __arm BULK_IN_callback)(); Warning[w6]: Type conflict for external/entry ''BULK_OUT_callback'', in module USB_istr against external/entry in module USB_endp; prototyped function vs K&R function /* In module USB_istr: */ /* Function, args 0, attr 0 */ void (__atpcs __arm BULK_OUT_callback)(void); /* In module USB_endp: */ /* K&R Function, args 0, attr 0 */ void (__atpcs __arm BULK_OUT_callback)(); Also, I haven’t had any success in making the bulk USB work.... I was trying to write 64 bytes and read them back from the multiple times. It works fine for the first attempt and the device is disconnect from the PC...anyone had this problem? Thanks2005-12-21 01:56 AM
Again, I have the same warning messages. Also, I have problems implementing the bulk transfer for more than once. The first write and read to the USB is done with no errors. But, any simultaneous read causes it to error out and pulls the device out of the USB bus.
Thanks,