Welcome, Guest

Author Topic: Fail to enumerate HID USB device on PIC-P26J50 board  (Read 1575 times)

dag

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Fail to enumerate HID USB device on PIC-P26J50 board
« on: November 03, 2014, 12:51:43 AM »
Hi
Using the PIC-P26J50 board, I am trying to define an HID USB interface with a PC host software.
I tried to modify a couple of Demos that are available for other PIC18 MCU's with no success. I get Unknown Device message when the MCU powers up.
Is there any such demo for the board?
Thanks

JohnS

  • Hero Member
  • *****
  • Posts: 1723
  • Karma: +33/-48
Re: Fail to enumerate HID USB device on PIC-P26J50 board
« Reply #1 on: November 03, 2014, 01:21:41 AM »
Does Microchip USB code on their site not support the cpu?

John

dag

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Fail to enumerate HID USB device on PIC-P26J50 board
« Reply #2 on: November 03, 2014, 01:54:31 AM »
The PIC18F26j50 is a part of Microchip PIC18F46J50 FAMILY all are Fast USB capable devices.
The Microchip demo is a CDC device comes up as a Com port on the host. I need to implement an HID device or better yet a combination HID + MSD Device. I tried to adopt the Simple USB project from:
http://www.pyroelectro.com/tutorials/simple_pic_usb_interface/software.html
for this but I keep getting Unknown Device error on the host indicating that the Enumeration fails.
Any ideas?