Picss

Solo disponible en BuenasTareas
  • Páginas : 2 (317 palabras )
  • Descarga(s) : 0
  • Publicado : 28 de febrero de 2012
Leer documento completo
Vista previa del texto
1. -------------------------------------------------
pic18f4550
-------------------------------------------------
After I found out one article regarding USB functions of PIC18F4550, I havedecided to devote some time for experiments.

At the beginning I took the necessary elements:

1 pc Universal board
1 pc. PIC18F4550
1 pc. 40PIN Socet
1 pc 20MHz Crystal
1 pc USB Connector
1pc. 470nF Capacitor
1 pc. 100nF Capacitor
2 pc. 22pF Capacitors
1 pc 4,7K Resistor
Some wires ...

There are some photos and scheme:

PIN outs of the USB connector which I used

PIN's of theused PIC18F4550:

The minimum scheme necessary for the test:

The board is done :

After the assembling the scheme, I connected it to the USB of the PC without programming the PICmicroprocessor.
The result was null- Windows does not indicated that something was connected to the USB port.

I started programming the microcontroller. I used a JDM programmer and one of my favourite softwarefor PIC - PICPgm.

At the beginning I downloaded from somewhere maybe an older version of the HEX file for the PIC.
After the programming and connecting to the PC, the following mistake occurred: "USB Device not recognized"
Unfortunately, It took me 2 hours for reading articles about this theme, until I found out where exactly is the problem.
I am not using MPLab and the relevantprogrammer, and that's why It turns out that there is no FUSE configuration in the ready compilated HEX file that I use.

"USB Device not recognized"

"Found New Hardware"

Finally I downloaded thisfile from Microchip:

http://ww1.microchip.com/downloads/e...Setup_v1.3.exe

All it does is to install files under C:\MCHPFSUSB.

I programmed the PIC with the first HEX file that I have foundout in "C:\MCHPFSUSB\fw\_factory_hex\picdemfsusb.hex"

After the programming and connecting again to the PC USB port ... ·Yeah·... the expected sound could be heard!

After drivers installed :...
tracking img