1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Can't connect to the PK2-LITE

Discussion in 'Microcontrollers' started by avi, Oct 1, 2008.

  1. avi

    avi New Member

    Joined:
    Sep 14, 2008
    Messages:
    25
    Likes:
    0
    Location:
    ISRAEL
    Hi all,
    I've built the PK2 LITE circuit and I've installed the picKIT2 application from Microchip web site.
    But, the application cann't identfy the Circuit,
    even when I plug-in the USB cable to the PC, the Win. doesn't recognize nothing, no sound or window is opened.
    where can I find an istructions how to use the PK2?

    Another question, the +5v in the circuit is comes from the USB or should I connect an external voltage source?

    TNX, your assistance will be appreciated.
    Avi.
     
  2. 3v0

    3v0 Coop Build Coordinator Forum Supporter

    Joined:
    Jul 14, 2006
    Messages:
    9,404
    Likes:
    227
    Location:
    OKLAHOMA USA
    Did you program the 18F2550 ?

     
  3. avi

    avi New Member

    Joined:
    Sep 14, 2008
    Messages:
    25
    Likes:
    0
    Location:
    ISRAEL
    Yes, i've programmed the PIC2550 using ART2003

    But, it still doesn't work..
    my PC even doesn't recognize nothing when I plug in the USB cable to the PC
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada

    All the USB needs to see a PK2 is a programmed 18f2550 a 20MHz crystal and caps , plus the USB connector and .47uF vreg cap. There are some versions of the schematc with the D+ & D- pins on the USB connector reversed.
     
  6. avi

    avi New Member

    Joined:
    Sep 14, 2008
    Messages:
    25
    Likes:
    0
    Location:
    ISRAEL
    It still doesn't work

    It's driving me crazy ...:eek:
    I've reproggramed the PIC18F4552, and I've checked the circuit again..everything is OK..
    Windows doesn't detect nothing when I plug-in the usb.

    When I press SW1 (RB5 pull down) and plug-in the usb, then the Windows detects some un-recognized usb connection, and the "busy" LED blinks for a few sec.

    I really don't know what to do...pls hlp.

    TIA,
    Avi.
     
  7. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    What is a 18F4552? The Lite schematic uses a 18F2550
     
  8. mvs sarma

    mvs sarma Well-Known Member

    Joined:
    Oct 29, 2006
    Messages:
    3,512
    Likes:
    76
    Location:
    Hyderabad, India.
    @Bill of Blueroomelectronics,
    Sir, what is this PK2 LITE?Is it part of Junebug less tutor?
     
  9. mvs sarma

    mvs sarma Well-Known Member

    Joined:
    Oct 29, 2006
    Messages:
    3,512
    Likes:
    76
    Location:
    Hyderabad, India.
    Many times I saw cases whether D- and D+ wires of USB get interchanged? Even published articles from Elektor have issued corrections Later.

    please check carefully. the USB B socket pin counting confuses, seeing from bottom or top. In USB A it can be clearly located pin adjacent to Ground is D+
     
    Last edited: Oct 10, 2008
  10. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    Pretty much it's the prototype PICkit2 built to the bare minimum without tutor. The D+ & D- lines were switched but the Junebug manual versions are correct.
     
  11. mvs sarma

    mvs sarma Well-Known Member

    Joined:
    Oct 29, 2006
    Messages:
    3,512
    Likes:
    76
    Location:
    Hyderabad, India.
    Thanks Bill
     
  12. avi

    avi New Member

    Joined:
    Sep 14, 2008
    Messages:
    25
    Likes:
    0
    Location:
    ISRAEL
    Sorry, I mean PIC18F2550...

    -------------


     
  13. Mickster

    Mickster Well-Known Member

    Joined:
    Feb 24, 2008
    Messages:
    1,085
    Likes:
    57
    Location:
    BDA
    Have you checked the D+ and D- lines, as Sarma suggested?

    One less problem to rule out.
     
  14. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    It doesn't require any special drivers; it'll appear as a simple HID device like a mouse. Run the PICKit2 standalone software to see if it sees it.
    You must have the .47uf cap and it must be a 20MHz crystal. The flashing red led should only flash if you hold down the button before plugging in the USB.
    How did you initially program the 18f2550?
     
  15. Mickster

    Mickster Well-Known Member

    Joined:
    Feb 24, 2008
    Messages:
    1,085
    Likes:
    57
    Location:
    BDA
    His 2nd post in this thread, 3rd post from the top, says he programmed the '2550 with "ART2003".
     
  16. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    That's what I get for doing this on an iPhone. I'll have to see what an ART2003 is.
     
  17. Mickster

    Mickster Well-Known Member

    Joined:
    Feb 24, 2008
    Messages:
    1,085
    Likes:
    57
    Location:
    BDA
  18. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    It's a LVP only programmer. 3VO an I had a discussion on if this would work. My opinion was no as it would always appear the button was pressed.
     
  19. mvs sarma

    mvs sarma Well-Known Member

    Joined:
    Oct 29, 2006
    Messages:
    3,512
    Likes:
    76
    Location:
    Hyderabad, India.
    Try to put a schematic of your programmer and even a photo of the unit you assembled(not what the site has shown)here . It would help faster discussion.
     
  20. Mickster

    Mickster Well-Known Member

    Joined:
    Feb 24, 2008
    Messages:
    1,085
    Likes:
    57
    Location:
    BDA
  21. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    That's the thread.
     

Share This Page