Kuzito
Newbie level 6
- Joined
- Nov 5, 2006
- Messages
- 14
- Helped
- 2
- Reputation
- 4
- Reaction score
- 2
- Trophy points
- 1,283
- Activity points
- 1,459
pic18f4550
After I found out one article regarding USB functions of PIC18F4550, I have decided 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
1 pc. 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 the used 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 PIC microprocessor.
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 software for 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 relevant programmer, 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 this file from Microchip:
https://ww1.microchip.com/downloads/en/DeviceDoc/MCHPFSUSB_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 found out 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 :
To be contunied ...
After I found out one article regarding USB functions of PIC18F4550, I have decided 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
1 pc. 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 the used 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 PIC microprocessor.
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 software for 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 relevant programmer, 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 this file from Microchip:
https://ww1.microchip.com/downloads/en/DeviceDoc/MCHPFSUSB_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 found out 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 :
To be contunied ...