18f4550 Device not recognized


Closed Thread
Results 1 to 4 of 4
  1. #1

    Default 18f4550 Device not recognized

    Hi all,

    Today was my first day taking a crack at testing an 18F4550 as a USB device. My first attempt was to get the PICBasic Mouse demo application working, but so far no luck.

    The only oscillator I have lying about is 6MHz, so I was trying to run the chip as a low-speed device. However, when I plug in the USB cable Windows throws a message stating that the 'Device is not recognized'.

    I read through the USB.txt file and changed a single line in the MOUSEDESC.ASM file (commented out the hi-speed line and uncommented the low-speed line). But perhaps I'm missing some other configuration settings? Or is this more likely a wiring issue?

    Thanks for any pointers.

    Best,
    Gareth

  2. #2

    Default

    To be more specific, in MOUSEDESC.ASM I made this change:

    ;#define UCFG_VAL _PUEN|_TRINT|_FS|MODE_PP ; Full-speed
    #define UCFG_VAL _PUEN|_TRINT|MODE_PP ; Low-speed

    Best regards,
    Gareth

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    I think You'll need to change your configuration fuses as well.

    I'll suggest you to have a look at the following thread, USBDemo is probably something you want to give a shot.
    http://www.picbasic.co.uk/forum/showthread.php?t=7760
    Last edited by mister_e; - 21st December 2007 at 17:03.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4

    Default

    Hi Steve,

    Thanks for the tip. I'll read through the thread you linked to, I'm sure that'll help.

    I appreciate the response, thanks for your help.

    Best regards,
    Gareth

Similar Threads

  1. device not recognized
    By Hylan in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 21st November 2009, 17:21
  2. USB Device Not Recognized ???
    By keymuu in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 8th October 2008, 00:53
  3. EasyHID 18f4550 - DEVICE NOT RECOGNISED?
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 3rd July 2007, 23:54
  4. Replies: 0
    Last Post: - 5th September 2005, 09:09
  5. usb device not recognized
    By NL2TTL in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 2nd June 2005, 05:22

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts