Add USB Device CDC firmware support

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

Add USB Device CDC firmware support

Jump to solution
1,017 Views
markpotts123
Contributor II

I am trying to add USB CDC VCOM device functionality to bare metal firmware running on an LPC55S26-based design. I have updated to the latest MCUXpresso IDE and SDK (with the USB Device middleware included). When I add the USB device to the project via the Peripherals tool and configure pins, clocks, etc I am left with two errors (both the same) and one warning as follows:

Error: "USB device CDC" driver is missing in the project.
Warning: An unsupported version of the USB Common Header in the toolchain/IDE project. Required: 2.8.0, actual: 2.12.1. The project might not compile correctly.

If I try to add the SDK component "USB Device CDC" I get a message that the component was not found in the SDK, however when I look in Available SDK Components it is present. Any suggestions much appreciated.

0 Kudos
Reply
1 Solution
883 Views
markpotts123
Contributor II
This turned out to be a mismatch between the IDE and SDK versions. Swirching to the latest versions fixed the symptom.

View solution in original post

0 Kudos
Reply
2 Replies
884 Views
markpotts123
Contributor II
This turned out to be a mismatch between the IDE and SDK versions. Swirching to the latest versions fixed the symptom.
0 Kudos
Reply
950 Views
Celeste_Liu
NXP Employee
NXP Employee

Hello @markpotts123 ,

Thank you for your post. I noticed that you also have a private case on the same topic, and I have already replied to you there. If you have any new updates, please feel free to respond in that case, and I will continue to support you.

Have a nice day.

BR

Celeste

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2336842%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EAdd%20USB%20Device%20CDC%20firmware%20support%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2336842%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20trying%20to%20add%20USB%20CDC%20VCOM%20device%20functionality%20to%20bare%20metal%20firmware%20running%20on%20an%20LPC55S26-based%20design.%20I%20have%20updated%20to%20the%20latest%20MCUXpresso%20IDE%20and%20SDK%20(with%20the%20USB%20Device%20middleware%20included).%20When%20I%20add%20the%20USB%20device%20to%20the%20project%20via%20the%20Peripherals%20tool%20and%20configure%20pins%2C%20clocks%2C%20etc%20I%20am%20left%20with%20two%20errors%20(both%20the%20same)%20and%20one%20warning%20as%20follows%3A%3C%2FP%3E%3CP%3EError%3A%20%22USB%20device%20CDC%22%20driver%20is%20missing%20in%20the%20project.%3CBR%20%2F%3EWarning%3A%20An%20unsupported%20version%20of%20the%20USB%20Common%20Header%20in%20the%20toolchain%2FIDE%20project.%20Required%3A%202.8.0%2C%20actual%3A%202.12.1.%20The%20project%20might%20not%20compile%20correctly.%3C%2FP%3E%3CP%3EIf%20I%20try%20to%20add%20the%20SDK%20component%20%22USB%20Device%20CDC%22%20I%20get%20a%20message%20that%20the%20component%20was%20not%20found%20in%20the%20SDK%2C%20however%20when%20I%20look%20in%20Available%20SDK%20Components%20it%20is%20present.%20Any%20suggestions%20much%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2337597%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Add%20USB%20Device%20CDC%20firmware%20support%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2337597%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F240903%22%20target%3D%22_blank%22%3E%40markpotts123%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20your%20post.%20I%20noticed%20that%20you%20also%20have%20a%20private%20case%20on%20the%20same%20topic%2C%20and%20I%20have%20already%20replied%20to%20you%20there.%20If%20you%20have%20any%20new%20updates%2C%20please%20feel%20free%20to%20respond%20in%20that%20case%2C%20and%20I%20will%20continue%20to%20support%20you.%3C%2FP%3E%0A%3CP%3EHave%20a%20nice%20day.%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3ECeleste%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2339423%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Add%20USB%20Device%20CDC%20firmware%20support%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2339423%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThis%20turned%20out%20to%20be%20a%20mismatch%20between%20the%20IDE%20and%20SDK%20versions.%20Swirching%20to%20the%20latest%20versions%20fixed%20the%20symptom.%3C%2FLINGO-BODY%3E