How to configure USB for TWR-K20D50M / FRDM-K20D50M using PE and code warrior?

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

How to configure USB for TWR-K20D50M / FRDM-K20D50M using PE and code warrior?

跳至解决方案
1,259 次查看
Amit_Kumar1
Senior Contributor II

Hello

I want to configure the USB but it is not being detected by the PC, I have tried with both TWR and FRDM k20d50m boards. I changed the uc in the example code given in codewarrior 10.5 and after building it I dumped the code in the uc but still no device was discovered. I also went through the blog MCU on Eclipse | Everything on Eclipse, Microcontrollers and Software but still couldn't figure out how to deal with K20D50M boards. Kindly look into the matter.

Thanks in advance

Regards,

Amit Kumar

标记 (5)
1 解答
831 次查看
BlackNight
NXP Employee
NXP Employee

I have attached a project I use with the FRDM-K20 which uses USB CDC.

That project is available on GitHub here: mcuoneclipse/Examples/FRDM-K20D50M/FRDM-K20_CDC at master · ErichStyger/mcuoneclipse · GitHub

The project is described here:

USB CDC with the FRDM-K20D50M | MCU on Eclipse

I hope this helps.

在原帖中查看解决方案

7 回复数
831 次查看
BlackNight
NXP Employee
NXP Employee

It looks like you are using Windows 8? 8.0 or 8.1?

I do not have Windows 8, but it looks like it only allows you to install signed drivers?

0 项奖励
831 次查看
Amit_Kumar1
Senior Contributor II

Hi Erich

The driver problem was resolved by allowing the installation of unsigned driver in the windows settings.

831 次查看
BlackNight
NXP Employee
NXP Employee

Good to know that there is a setting for this :-)

0 项奖励
831 次查看
Amit_Kumar1
Senior Contributor II

Its Windows 8.0 . So this problem will arise in all the USB related projects with the freescale library through which we are making our projects? And I want to know is there any document regarding this libraries? As I want to make a master and slave device which on detecting a flash drive automatically create a file(in text/ excel format) and dump the data in it. and on connecting to PC acts as slave and do the same there?

Thanks and Regards

Amit Kumar

0 项奖励
832 次查看
BlackNight
NXP Employee
NXP Employee

I have attached a project I use with the FRDM-K20 which uses USB CDC.

That project is available on GitHub here: mcuoneclipse/Examples/FRDM-K20D50M/FRDM-K20_CDC at master · ErichStyger/mcuoneclipse · GitHub

The project is described here:

USB CDC with the FRDM-K20D50M | MCU on Eclipse

I hope this helps.

831 次查看
Amit_Kumar1
Senior Contributor II

Hi Erich

I am having problem in updating the driver, When I browsed the required file an error message appeared that the driver is not digitally signed and it didn't updated.

pastedImage_0.png

after clicking next, the following message displayed

pastedImage_1.png

How to resolve this issue ?

thanks and regards

Amit Kumar

0 项奖励
831 次查看
Amit_Kumar1
Senior Contributor II

Thanks a lot Erich. It worked  :smileyhappy:

0 项奖励