USB Pics, ICD2, pic basic pro


Closed Thread
Results 1 to 35 of 35

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default

    when you tried this, did it go smoothly? what were your conditions?
    I started with mister_e's code. A pluggable Breadboard. And real USB cables.

    From start to first Yahoo! was about an hour and a half.
    Had an FCMEN error...
    Had a problem with the capacitor too...
    Then ... when I saw that little "Unrecognized" window, or actually, didn't see it. I was a very happy little Nerd.



    ... i come to this stuff from basic stamps and basicX controllers...
    DT

  2. #2
    Join Date
    Jan 2007
    Posts
    70

    Default yeah. stomp stamps.

    well. of course this example highlights the benefits of basic stamps. parallax would have put together coherant instructions. i am on like hour 15 of this now(not in a row, of course!). i have read so much about so many topics, and none has really helped, it still does the same thing it did 12 hours ago. very frustrating. unfortunately I cannot give up, combination of stubornness and having too much invested allready (time and money)

    i suppose the next step is to rebuild the entire circuit on breadboard, giving up on my easy to work with protoboard... i suppose i also need to find a 4 and 20mhz crystal...as opposed to these resonators that always have worked fine for me in the past..

    why is this so hard?

  3. #3
    Join Date
    Jan 2007
    Posts
    70

    Default USB Sniffer Results

    So, Ive used the UBB USB Sniffer to see what is going on.. This is the log it makes, any ideas?

    I see that it is getting back alot of 0s.. Just like when i try to verify a pic that isnt in the programmer socket... i will now scour the USB protocol so I can troubleshoot these foreign messages. Damn, this isnt how i like to spend my little spare devlopment time...

    Code:
    000000: PnP Event: Device Connected (UP), 19.01.2007 15:57:30.4977888
    The USB device has just been connected to the system.
    
    000001: PnP Event: Query ID (UP), 19.01.2007 15:57:30.4977888 +0.0
    Device ID: USB\Vid_0000&Pid_0000
    
    000002: PnP Event: Query Device Text (UP), 19.01.2007 15:57:30.4977888 +0.0
    Description: USB Device
    
    000003: PnP Event: Query Device Text (UP), 19.01.2007 15:57:30.4977888 +0.0
    Location: USB Device
    
    000004: PnP Event: Query ID (UP), 19.01.2007 15:57:30.4977888 +0.0
    Instance ID: 3
    
    000005: PnP Event: Query ID (UP), 19.01.2007 15:57:30.4977888 +0.0
    Hardware IDs: USB\UNKNOWN
    
    000006: PnP Event: Query ID (UP), 19.01.2007 15:57:30.4977888 +0.0
    Compatible IDs: USB\UNKNOWN
    this is what the logger reports when i set it to track the next device to be plugged in, and then plug in my project.

    anyone know of any GOOD walkthroughs for this stuff? I am very close to plunking down the $60 for the Microchip.com demo board.this troubles me because i am poor enough as it is, and that is like, half my food money for the next 2 weeks!

    -R
    Last edited by vacpress; - 19th January 2007 at 22:08.

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default

    > parallax would have put together coherant instructions

    Naaa, they just make you use an FTDI chip, so they don't have to deal with it.

    > ...i suppose i also need to find a 4 and 20mhz crystal...as opposed to these resonators...

    I'm running mine on a 4mhz resonator here. Works just fine.

    DT

  5. #5
    Join Date
    Jan 2007
    Posts
    70

    Default grrrr

    off to the other room with it. i have a whole electronics lab, and ive been working on this in my bedroom for some reason.. i will now go rebuild the entire stupid circuit from scratch testing each section, use different USB cables to cut down the chance one is sketchy, etc... what a pain in the ass...

    any other hints you may have? photos of your project? anything? suggestions?

    thanks.

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default

    If it will help...

    Click image to enlargeClick image to enlarge
    DT

  7. #7
    Join Date
    Jan 2007
    Posts
    70

    Default Hooray!

    I got it working! The stinking cable had the standard colors, red, black, green, white, but they were all odd configurations... black was NOT ground!

    anyways, now on to the hard stuff.... getting the easyHID code to work in visual basic .net!

    Thanks for all the help I am actually very grateful and dont take it for granted at all that you read pages of my inability to use check my USB cable!

    I build the circuit on breadboard with a different cable, it worked right away! i tried my other cable.. didnt work, rewired it, it worked, tried my protoboard with the correct wiring: BINGO! like 12 hours later!

    glad i went out for those 2 pints in between!

    a shame the easyUSB project has 2 run errors in .net


    any .net know how mr?

  8. #8
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default

    Awesom!

    any (visual basic) .net know how
    Can't help you there, I'm a Delphi guy.

    Please hold for the next available operator......beep...
    DT

  9. #9
    Join Date
    Feb 2003
    Posts
    432

    Default

    Quote Originally Posted by Darrel Taylor View Post
    If it will help...

    Click image to enlargeClick image to enlarge

    Oi! Darrel ....NO!!!!

    Hangs head in shame

    Dont show pictures of extremely neat breadboards. Where is the possibility of accidently shorting stuff out during development.

    Your looks almost like a PCB. The "defining connections" stage of routing a PCB is called a "ratsnest" for one good reason....so it can look like the breadboard that you prototyped on
    Keith

    www.diyha.co.uk
    www.kat5.tv

  10. #10
    Join Date
    Jan 2007
    Posts
    70

    Default

    Quote Originally Posted by keithdoxey View Post
    Oi! Darrel ....NO!!!!

    Hangs head in shame

    Dont show pictures of extremely neat breadboards. Where is the possibility of accidently shorting stuff out during development.

    Your looks almost like a PCB. The "defining connections" stage of routing a PCB is called a "ratsnest" for one good reason....so it can look like the breadboard that you prototyped on
    HA! I eventually used that as inspiration to do an extremely neat breadboarding myself, which worked first time...Imagine!

    Really though, the hard part is this software. There is quite alot going on! It is really much more than I am used to, i thought my neworked BS2s had complex code....

    Thanks guys, you are a real resource in a sea of difficulties(microcontroller development)

    Robert

  11. #11
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959

    Default

    Quote Originally Posted by keithdoxey View Post
    Dont show pictures of extremely neat breadboards....
    ROFL,

    I'll take that as a compliment.

    But really, it's just that you don't want to have anything that correlates to Rats in your proto-board, when you have 2 Evil glowing eye'd monsters in the house.



    They've caused more than a few hours of troubleshooting in the past.
    DT

Similar Threads

  1. AT command using pic basic pro
    By laniboy in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 13th November 2009, 09:39
  2. About timing in pic basic pro
    By din_kt in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th October 2007, 03:09
  3. other pic basic pro users in vienna
    By Michael Wakileh in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 27th July 2007, 15:23
  4. converting assemble to pic basic pro
    By Jhdgkss in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 30th April 2006, 19:55
  5. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 17:39

Members who have read this thread : 0

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