Error while generating PE Code for USB_DEVICE_STACK (KDS 1.01   KL25Z)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error while generating PE Code for USB_DEVICE_STACK (KDS 1.01   KL25Z)

Jump to solution
1,001 Views
sandeeprw
Contributor I

Hi,

 

I am using KL25Z and want to develop a new USB Device application.

 

I have created new KDS project and added Freescale USB_DEVICE_STACK (PE Component).

 

While generating code for PE components, it is giving following error. (I tried with verison 4.0.3 as well as version 4.1.1 of USB Stack)

 

DescriptionResourcePathLocationType
Generator: FAILURE: at line 3920: Duplicated %EMBED_CODE identification (file: Drivers\sw\USB_DEVICE_STACK.drv)USB_Test_Deviceusb_deviceProcessor Expert Problem
Generator: FAILURE: at line 3953: %EMBED_END without %EMBED_CODE (file: Drivers\sw\USB_DEVICE_STACK.drv)USB_Test_Deviceusb_deviceProcessor Expert Problem

 

How to fix this issue?

 

Thanks,

Labels (1)
0 Kudos
Reply
1 Solution
784 Views
BlackNight
NXP Employee
NXP Employee

Hi Sandeep,

I have now a workaround (attached). You need to update/replace your existing USB_DEVICE_STACK.drv with the attached one.

The file is located here:

C:\ProgramData\Processor Expert\PEXDRV_PE5_3\Drivers\sw\USB_DEVICE_STACK.drv

I hope this helps.

View solution in original post

0 Kudos
Reply
2 Replies
785 Views
BlackNight
NXP Employee
NXP Employee

Hi Sandeep,

I have now a workaround (attached). You need to update/replace your existing USB_DEVICE_STACK.drv with the attached one.

The file is located here:

C:\ProgramData\Processor Expert\PEXDRV_PE5_3\Drivers\sw\USB_DEVICE_STACK.drv

I hope this helps.

0 Kudos
Reply
784 Views
BlackNight
NXP Employee
NXP Employee

Hello,

I can reproduce the issue, and I have filed a ticket (CR:ENGR00318012). But I do not have a workaround (yet).

Erich

0 Kudos
Reply