In KSDK 1.0, there was a USB Device demo for a CDC Virtual Com port. It could be built using a variety of RTOSes, including MQX. This demo doesn't appear to be available in KSDK 1.2 except for a bare metal version. I need an MQX version. I've been trying to cobble this together myself for a day, but to no avail so far. Can anyone help? I'm working on a FRDM-KL43Z.
已解决! 转到解答。
Hi Mark,
I took frdmk64f project files, edited them and replaced all instances of K64 by KL43.
After that I opened eww workspace file and built all libraries (it shows some warnings, but it built anyway).
Finally I was able load project into FRDM-KL43Z board and successfully run (project runs as simple echo).
In attachment you can find modified files. Please, place it into:
KSDK_1.2.0\examples\frdmkl43z\demo_apps\usb\device\cdc\virtual_com
and use as example code.
I hope it helps you.
Hi Mark,
Thank you for your observation and note.
I will report this to USB team.
I suppose that Kinetis L parts do not have USB CDC example under RTOSes simply due to code size limitation. 32kB RAM (maximum size for KL43 and KL46) is probably not enough for full work of operating system together with USB stack.
In KSDK 1.2, USB CDC examples under RTOSes are available for all Kinetis K and Kinetis W24 boards.
I hope it helps you.
Have a great day,
RadekS
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks for looking into this.
It's true that the L parts are very memory constrained, but KSDK 1.0 had a working USB CDC demo running under MQX. The chip hasn't changed, so the demo ought to still be valid.
Hi Mark,
I took frdmk64f project files, edited them and replaced all instances of K64 by KL43.
After that I opened eww workspace file and built all libraries (it shows some warnings, but it built anyway).
Finally I was able load project into FRDM-KL43Z board and successfully run (project runs as simple echo).
In attachment you can find modified files. Please, place it into:
KSDK_1.2.0\examples\frdmkl43z\demo_apps\usb\device\cdc\virtual_com
and use as example code.
I hope it helps you.