KSDK 1.2 Demo: CDC / Virtual Com Port using MQX

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KSDK 1.2 Demo: CDC / Virtual Com Port using MQX

ソリューションへジャンプ
1,756件の閲覧回数
markdobrosielsk
Contributor II

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.

ラベル(1)
0 件の賞賛
返信
1 解決策
1,403件の閲覧回数
RadekS
NXP Employee
NXP Employee

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.

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
1,403件の閲覧回数
RadekS
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,403件の閲覧回数
markdobrosielsk
Contributor II

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.

0 件の賞賛
返信
1,404件の閲覧回数
RadekS
NXP Employee
NXP Employee

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.

0 件の賞賛
返信
1,403件の閲覧回数
markdobrosielsk
Contributor II

Thanks, works great! I appreciate your help on this.

0 件の賞賛
返信
1,403件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Mark,

Good question and observation.

I will ask around.

Regards,

David

0 件の賞賛
返信