K64F FreeRTOS USB device CDC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

K64F FreeRTOS USB device CDC

1,291 次查看
davenadler
Senior Contributor I

I'm starting an evaluation of K64F using the Freeedom board.
Need to build a project using FreeRTOS and including:

  • USB OTG, initially supporting device-mode CDC
  • TCP/IP and Telnet or SSH
  • later, USB host mode supporting MSD (memory stick for logging, and bootloader SW updates)

A pretty common set of requirements for many of our customers and projects...

 

Unfortunately the "Project Generator" doesn't display the project names so I cannot read the list
(dope-slap to whomever did the GUI here - see below for too-small drop-down list without horizontal scroll).

What is the best example project to start with to quickly get the above functionality in place?
And how can I find it in this incompletely-displayed list?

 

Thanks in advance,
Best Regards, Dave

 

 

164982_164982.pngpastedImage_1.png

标签 (1)
0 项奖励
2 回复数

574 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Dave,

First of all, there is no such complex example. Also there is no Telnet example fo KSDK 2.0.

Under older KSDK for MQX

C:\Freescale\KSDK_1.3.0\middleware\tcpip\rtcs\examples\shell

We have separate examples, which you will find under

C:\Freescale\SDK_2.0_FRDM-K64F\boards\frdmk64f

there are also usb examples and  lwip.

C:\Freescale\SDK_2.0_FRDM-K64F\boards\frdmk64f\usb_examples

C:\Freescale\SDK_2.0_FRDM-K64F\boards\frdmk64f\demo_apps\lwip

and needed documentation

C:\Freescale\SDK_2.0_FRDM-K64F_original\docs

The best way is start with some of USB demo and build up your code on this demo (add lwip etc).

At the moment there is newer GUI for Project Generator, v.2.3

pastedImage_1.png

Please see https://community.nxp.com/message/841733 

I very apologize for the late response.

I hope this helps you.

Best Regards,

Iva

0 项奖励

574 次查看
anhvotuan
NXP Employee
NXP Employee

Hello Iva,

I am using FRDM K64F, and cloned the example in KDS_v3. But I saw, there was an issue for initiation USB's pins. For this example, I didn't see setting USB's pins. Only defined UART0's pins following code:

  PORT_SetPinMux(PORTB, PIN16_IDX, kPORT_MuxAlt3);           /* PORTB16 (pin 62) is configured as UART0_RX */

  PORT_SetPinMux(PORTB, PIN17_IDX, kPORT_MuxAlt3);           /* PORTB17 (pin 63) is configured as UART0_TX */

Regards,

TA

0 项奖励