K149-A programmer problem

Author
02GF74
Senior Member
  • Total Posts : 128
  • Reward points : 0
  • Joined: 2006/11/29 08:25:28
  • Location: 0
  • Status: offline
2009/06/06 05:32:09 (permalink)
0

K149-A programmer problem

Hello

I am using K149-A usb programmer on a new laptop with Vista but get error @there appears to be a problem accessing the COM port"

DIY K149-A PICmicro Programmer v141204
Protocol: P018

I have set the port to all values from 0 to 9 (even tried A for hex) to no avail.

It used to work on old laptop (windows XP).

Now it may be OS difference or the way the USB is implemented.

The installation guide contains screen shot of Device Manager and there is a folder Ports. In that folder is USB Serial Port (COM3)
I cannot remember if I had the Serial Port entry (I don't have the old PC was works so cannot check) but I had set programming software to port 7 - (there is sticker on the programmer) and it worked.

On new laptop there is no Serial Port folder but a USB controllers with quite a few entries.

One of the entries is USB Serial Converter by FDTI that I installed when programmer USB cable was plugged in.
Looking at properties of this driver I can see number of items, looking a location information gives:
Port_#002.Hub_#0005

not that that means much to me. (I have set programmer to port 2 as already mentioned)

I am guessing the programming software uses serial com port that can support USB but I don't have this on my laptop - there are no 15-pin D sockets on it.


Am I correct in assuming the programmer software will not run due to incompatible laptop ports?

Any idea how to resolve - is there K149 forum?

Thanks.
Hope this make sense.
#1

10 Replies Related Threads

    spotty
    Super Member
    • Total Posts : 280
    • Reward points : 0
    • Joined: 2008/04/03 11:15:31
    • Location: 0
    • Status: offline
    RE: K149-A programmer problem 2009/06/06 06:04:53 (permalink)
    0
    There's a KitsRUs forum out there but the principal passed away some years ago, you might get some help over there. I keep a WI98 machine around just for the Kit 149 C; I'm not sure if the drivers even work on Vista. If Vista doesn't show an extra Com port after loading the driver then I'd think it's game over. I think, "Move on to Pickit 2 " is really the way to go. Best.
    #2
    xiaofan
    Super Member
    • Total Posts : 6247
    • Reward points : 0
    • Joined: 2005/04/14 07:05:25
    • Location: Singapore
    • Status: offline
    RE: K149-A programmer problem 2009/06/06 08:17:44 (permalink)
    0
    The forum is here.
    http://diykit.websitetoolbox.com/?forum=13943

    I am not familiar with Kit149 but if it is using FTDI chip, you can try downloading the VCP driver from FTDI. The programmer should be recognized as a com port.
    http://www.ftdichip.com/Drivers/VCP.htm

    But the advise to go to PICKit 2 is also good if you are willing to pay US$35 for a superior programmer.
    http://www.microchip.com/pickit2

      USB_Links and libusb
    #3
    BruceTElliott
    Super Member
    • Total Posts : 836
    • Reward points : 0
    • Joined: 2006/08/08 08:14:43
    • Location: Germany
    • Status: offline
    RE: K149-A programmer problem 2009/06/07 02:48:50 (permalink)
    0
    Yes, it uses FT232BM and would probably work if the OP gets the Vista FTDI driver from FTDI's site.
    Was a good old board with a 40pin zero-force socket, but the move to Pickit2 is good advice.

    #4
    02GF74
    Senior Member
    • Total Posts : 128
    • Reward points : 0
    • Joined: 2006/11/29 08:25:28
    • Location: 0
    • Status: offline
    RE: K149-A programmer problem 2009/06/08 05:46:43 (permalink)
    0
    Thanks for replies.
     
    I found the website and registered and am awaiting confirmation.
     
    When I plugged in the programer the second time (I unistall the software and driver), Vista gave option to look for driver on the web - I chose that option so would expect that it got the latest one.  I am sure I could look at the properties of the driver to verify this.
     
    As an aside, how can I tell to what com port each USB socket maps to?  Laptop is Dell E6400 - has 2 standard USB on RH side and 2 or 3 other USB (I don't recognisethe format) on LS side, plus a USB memory reader.
     
    I am looking at the pickit2 - as per link - but I don't see the module containing a ZIF socket, which my programmer has - so how then is a device prgrammed?
     
    Whereas something like this has a ZIF board.
     
    Am I missing something here?
    #5
    spotty
    Super Member
    • Total Posts : 280
    • Reward points : 0
    • Joined: 2008/04/03 11:15:31
    • Location: 0
    • Status: offline
    RE: K149-A programmer problem 2009/06/08 05:58:06 (permalink)
    0
    The other day, when I replied, I tried my 149 with a Vista laptop to see what happened: for me the "search for driver" didn't do much, it might be worth getting the FTDI drivers specifically as the other posts mentioned. It should be, whatever port that wasn't there before; if your PC had two conventional ports before then COM3 should appear. The Pickit uses the 5 (?) pin In-Circuit method of programming, like the 5 pin connector near the ZIF socket on the '149, so your target board needs to be wired for In Circuit Serial Programming.
    #6
    mvs sarma
    New Member
    • Total Posts : 18
    • Reward points : 0
    • Joined: 2006/11/25 12:24:24
    • Location: Hyderabad
    • Status: offline
    RE: K149-A programmer problem 2009/06/08 07:27:57 (permalink)
    0
    ORIGINAL: 02GF74

    Thanks for replies.

    I found the website and registered and am awaiting confirmation.

    When I plugged in the programer the second time (I unistall the software and driver), Vista gave option to look for driver on the web - I chose that option so would expect that it got the latest one.  I am sure I could look at the properties of the driver to verify this.

    As an aside, how can I tell to what com port each USB socket maps to?  Laptop is Dell E6400 - has 2 standard USB on RH side and 2 or 3 other USB (I don't recognisethe format) on LS side, plus a USB memory reader.

    I am looking at the pickit2 - as per link - but I don't see the module containing a ZIF socket, which my programmer has - so how then is a device prgrammed?

    Whereas something like this has a ZIF board.

    Am I missing something here?


     Perhaps, you can use a bread board and connect your Pickit2 to it by a small cable  to be fabricated by you using berg stick with 6 male pins.
    if the chip is aleready in a board, you may find ICSP pins or a set of pads  over there.


    Regards,
    Sarma
    #7
    BruceTElliott
    Super Member
    • Total Posts : 836
    • Reward points : 0
    • Joined: 2006/08/08 08:14:43
    • Location: Germany
    • Status: offline
    RE: K149-A programmer problem 2009/06/08 13:18:53 (permalink)
    0
    Don't have Vista (thank God!), but for XP:
    1. Start hyperterminal with device unplugged and again with device plugged. The new COM is the one. Not neccessarily what you would expect, since Bluetooth and other USB-Serial converters may have grabbed some of the COM numbers.
    2. Open device manager -> COM ports. Plug it in and it shows up with COM port number.
    3. For some detailed info, download USBDeview and use it to show what USB drivers are connected, when, etc.

    #8
    02GF74
    Senior Member
    • Total Posts : 128
    • Reward points : 0
    • Joined: 2006/11/29 08:25:28
    • Location: 0
    • Status: offline
    RE: K149-A programmer problem 2009/06/09 12:25:01 (permalink)
    0
    thx - keep the ideas coming....

    there are no com ports shown in device manager. also I cannot inf hyperterminal in vista :(

    will have a go withthe usb view utility, off to search for it now ....
    #9
    02GF74
    Senior Member
    • Total Posts : 128
    • Reward points : 0
    • Joined: 2006/11/29 08:25:28
    • Location: 0
    • Status: offline
    RE: K149-A programmer problem 2009/06/09 13:57:51 (permalink)
    0
    Sorted.

    The USBDeview told me nothing useful - regardless of whether the board as plugged in or not.

    I visited FDTI web site and dowloaded the CDM driver (Combined Driver Model) accessed via the link setup executable on
    http://www.ftdichip.com/Drivers/VCP.htm

    the link itself:
    http://www.ftdichip.com/Drivers/CDM/CDM%202.04.16.exe


    Application Note AN 103 talks a bit about CDM drivers see: http://www.ftdichip.com/Documents/AppNotes/AN_103_FTDI_Drivers_Installation_Guide_for_VISTA(FT_000080).pdf

    So what I did was:
    Running the executable installs the driver.
    Plugging in the board, Vista finds drivers and installs.

    I can see USB Serial Port (COM 3) port in device manager.
    Running the programming software and selecting Port 3 recognised the board as K149-BC. wink

    Inserting a 16F676 device and ensuring programmer polarity is positive (I had played with this previously in order to get the board going) I was able to read the device.

    Thanks to everyone for their help.
    post edited by 02GF74 - 2009/06/09 14:01:48
    #10
    spotty
    Super Member
    • Total Posts : 280
    • Reward points : 0
    • Joined: 2008/04/03 11:15:31
    • Location: 0
    • Status: offline
    RE: K149-A programmer problem 2009/06/09 16:09:16 (permalink)
    0
    Appreciate the update. If my good old Wi98 goes to the Great Blue Screen yonder it's so reassuring to know, I'll always have Vista.
    #11
    Jump to:
    © 2017 APG vNext Commercial Version 4.5