AnsweredAssumed Answered

USB_AUDIO_DEVICE_JF128_PEx example project results in 'USB not recognised'

Question asked by Lewis Markwell on Mar 21, 2016

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:

 

DescriptionResourcePathLocationType
implicit arithmetic conversion from 'int' to 'unsigned char'usb_descriptor.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 139C/C++ Problem
implicit arithmetic conversion from 'unsigned long' to 'unsigned short'usb_audio.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 287C/C++ Problem
variable / argument 'UserDataPtr' is not used in functionusb_device.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 214C/C++ Problem
variable / argument 'FrameNumber' is not used in functionusb_device.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 180C/C++ Problem
variable / argument 'UserDataPtr' is not used in functionusb_device.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 180C/C++ Problem
variable / argument 'UserDataPtr' is not used in functionusb_device.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 92C/C++ Problem
variable / argument 'CurrentSpeed' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 159C/C++ Problem
variable / argument 'UserDataPtr' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 159C/C++ Problem
variable / argument 'TDevDataPtr' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 59C/C++ Problem
variable / argument 'controller_ID' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 374C/C++ Problem
variable / argument 'flag' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 374C/C++ Problem
variable / argument 'ErrorSource' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 306C/C++ Problem
implicit arithmetic conversion from 'unsigned long' to 'unsigned short'usb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 406C/C++ Problem
variable / argument 'UserDataPtr' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 242C/C++ Problem
variable / argument 'UserDataPtr' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 306C/C++ Problem
variable / argument 'UserDataPtr' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 186C/C++ Problem
variable / argument 'UserDataPtr' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 213C/C++ Problem
implicit arithmetic conversion from 'unsigned short' to 'unsigned char'usb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 550C/C++ Problem
variable / argument 'handle' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 548C/C++ Problem
variable / argument 'handle' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 527C/C++ Problem
variable / argument 'address' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 643C/C++ Problem
variable / argument 'handle' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 662C/C++ Problem
variable / argument 'buffer_ptr' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 527C/C++ Problem
variable / argument 'handle' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 486C/C++ Problem
implicit arithmetic conversion from 'unsigned long' to 'unsigned short'usb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 622C/C++ Problem
variable / argument 'handle' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 506C/C++ Problem
variable / argument 'handle' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 619C/C++ Problem
variable / argument 'handle' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 431C/C++ Problem
implicit arithmetic conversion from 'unsigned long' to 'unsigned short'usb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 595C/C++ Problem
variable / argument 'controller_ID' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 454C/C++ Problem
variable / argument 'handle' is not used in functionusb_dci.c/USB_AUDIO_DEVICE_JF128_PEx/Generated_Codeline 571C/C++ Problem

 

Is there anyone who would be able to assist in resolving this issue, therefore effectively allowing the device to operate as intended?

Outcomes