Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] PIC18F4550 generic HID device not seen by one of the computers

Status
Not open for further replies.

K33rg4t3

Full Member level 3
Joined
Aug 2, 2015
Messages
165
Helped
7
Reputation
14
Reaction score
7
Trophy points
1,298
Activity points
2,607
Hey
I compiled simple BLINK LED by USB example.
The example works well on my every day workstation PC.
But when I plug it to the laptop, it says "unknown device" (error code 43).
What's wrong, am I forgetting some kind of drivers?
I am using USBHIDnetClass.org example HID Read Write Interrupt (EasyPIC v7 for PIC18F4550).

The board conncetions are the following:
- 10k reset resistor
- LED with 1k resistor
- 100nF capacitor between power linse
- 12 MHz crystal (as in the project settings)
- two 22 nF capacitors between crystal pins and GND
And as I said, it works on PC but not on another laptop.
Please help!
 

100uF added, no changes.

Everything works on PC but laptop still can't recognize the device. Tested multiple USB ports.

Btw: PC is windows XP, and laptop is windows 7 - maybe windows 7 is missing some drivers???
 

Driver for HID a preinstalled in all windows. Try to implement any confirmation that mcu is working like a led blinking if you do not have proper debug option.
 

MCU is blinking LED, obviously.
As I said - I have USB code which blinks the LED according to Windows application.
It works on PC but doesn't work on laptop.
 

Try uninstall and re-install corresponding USB controller driver.
 

PROBLEM SOLVED.

THAT WAS A HARDWARE ERROR.
The "VUSB" capacitor was missing (vusb pin for usb supply)
I don't know why one of the PCs recognized the device, it should not work anyway. It was confusing.
The drivers were OK all the time.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top