cancel
Showing results for 
Search instead for 
Did you mean: 

USB IAR Linker warning

anil23
Associate II
Posted on December 21, 2005 at 10:56

USB IAR Linker warning

2 REPLIES 2
anil23
Associate II
Posted on December 15, 2005 at 16:20

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?

Thanks

anil23
Associate II
Posted on December 21, 2005 at 10:56

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,