Hi,
I am currently using the example project 'USB_AUDIO_DEVICE_JF128_PEx' provided with Freescale USB Stack v4.1.1 within Codewarrior for MCU v10.6.4.
I have encountered an issue whereby when building the project and uploading the resulting .s19 to both the TWR-MCF51JF development board and my own custom board based around the MCF51JF128 (at separate times) have resulted in the following the following message when connected to Windows 7 and 10:
"
Windows has stopped this device because it has reported problems. (Code 43)
A request for the USB device descriptor failed.
"
Notable warnings provided by Codewarrior are as follows:
Description | Resource | Path | Location | Type |
implicit arithmetic conversion from 'int' to 'unsigned char' | usb_descriptor.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 139 | C/C++ Problem |
implicit arithmetic conversion from 'unsigned long' to 'unsigned short' | usb_audio.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 287 | C/C++ Problem |
variable / argument 'UserDataPtr' is not used in function | usb_device.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 214 | C/C++ Problem |
variable / argument 'FrameNumber' is not used in function | usb_device.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 180 | C/C++ Problem |
variable / argument 'UserDataPtr' is not used in function | usb_device.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 180 | C/C++ Problem |
variable / argument 'UserDataPtr' is not used in function | usb_device.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 92 | C/C++ Problem |
variable / argument 'CurrentSpeed' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 159 | C/C++ Problem |
variable / argument 'UserDataPtr' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 159 | C/C++ Problem |
variable / argument 'TDevDataPtr' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 59 | C/C++ Problem |
variable / argument 'controller_ID' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 374 | C/C++ Problem |
variable / argument 'flag' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 374 | C/C++ Problem |
variable / argument 'ErrorSource' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 306 | C/C++ Problem |
implicit arithmetic conversion from 'unsigned long' to 'unsigned short' | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 406 | C/C++ Problem |
variable / argument 'UserDataPtr' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 242 | C/C++ Problem |
variable / argument 'UserDataPtr' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 306 | C/C++ Problem |
variable / argument 'UserDataPtr' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 186 | C/C++ Problem |
variable / argument 'UserDataPtr' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 213 | C/C++ Problem |
implicit arithmetic conversion from 'unsigned short' to 'unsigned char' | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 550 | C/C++ Problem |
variable / argument 'handle' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 548 | C/C++ Problem |
variable / argument 'handle' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 527 | C/C++ Problem |
variable / argument 'address' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 643 | C/C++ Problem |
variable / argument 'handle' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 662 | C/C++ Problem |
variable / argument 'buffer_ptr' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 527 | C/C++ Problem |
variable / argument 'handle' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 486 | C/C++ Problem |
implicit arithmetic conversion from 'unsigned long' to 'unsigned short' | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 622 | C/C++ Problem |
variable / argument 'handle' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 506 | C/C++ Problem |
variable / argument 'handle' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 619 | C/C++ Problem |
variable / argument 'handle' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 431 | C/C++ Problem |
implicit arithmetic conversion from 'unsigned long' to 'unsigned short' | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 595 | C/C++ Problem |
variable / argument 'controller_ID' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 454 | C/C++ Problem |
variable / argument 'handle' is not used in function | usb_dci.c | /USB_AUDIO_DEVICE_JF128_PEx/Generated_Code | line 571 | C/C++ Problem |
Is there anyone who would be able to assist in resolving this issue, therefore effectively allowing the device to operate as intended?