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

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

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

Jump to solution
1,723 Views
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

Tags (5)
1 Solution
1,295 Views
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.

View solution in original post

7 Replies
1,295 Views
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 Kudos
Reply
1,295 Views
Amit_Kumar1
Senior Contributor II

Hi Erich

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

1,295 Views
BlackNight
NXP Employee
NXP Employee

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

0 Kudos
Reply
1,295 Views
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 Kudos
Reply
1,296 Views
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.

1,295 Views
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 Kudos
Reply
1,295 Views
Amit_Kumar1
Senior Contributor II

Thanks a lot Erich. It worked  :smileyhappy:

0 Kudos
Reply