PICKit2 just crashes


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Location
    Kwa Dukuza, South Africa
    Posts
    19

    Default PICKit2 just crashes

    I have just loaded PICBasic Pro on my netbook running Windows 7 (32bit). It programs a device a couple of times then, during the "compile and program" the second DOS window freezes. The Power LED, Target LED and Busy LED remain lit on the PICKit 2. It won't program a device again until I delete and reload MPLAB and PICBasic Pro.

    I am using:
    MPLAB IDE v8.7
    PICBasic Pro 2.60C
    Microstudio 4.0.0.0
    PK2CMD V1.20

    The programmer is an old PICKit 2 programmer that I won about 3 years ago (may be older)

    I have searched this forum but can't find a thread with a similar problem.

    I see there is a firmware update for the PICKit 2 but it is a HEX file and the Microchip website doesn't have instructions on how to load it.

    I am so frustrated -Please help

  2. #2
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: PICKit2 just crashes

    Hi,

    In the tools menu of the PICkit2 software, at the bottom there is a download pickit 2 firmware menu item. If this does not work then you should be able to navigate to where you have manually downloaded the firmware. The programmer should then update itself. The busy LED should flash.

    A bit confused when you say DOS window. I am using a very similar setup, and see no dos windows, maybe thats a windows 7 thing, I am on XP.

  3. #3
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: PICKit2 just crashes

    Just another thought.
    Try downloading the latest PICkit2 software from microchip, yours is out of date.
    Also have you tried using MPASM in the microcode studio options, compile & program. I think this is why you are getting dos windows, maybe windows 7 does not like the PM assembler very much.

    Bob...

  4. #4
    Join Date
    Jun 2011
    Location
    Kwa Dukuza, South Africa
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Re: PICKit2 just crashes

    Thanks Bob, that was painless. I'd missed the load new operating software under tools in PICKit2 software. I must have been sleeping.

    This was an intermittent fault and it's working now so I just trust we've slammed it.

    Have a great weekend

    John in Kwa Dykuza

  5. #5
    Join Date
    Jun 2011
    Location
    Kwa Dukuza, South Africa
    Posts
    19


    Did you find this post helpful? Yes | No

    Default Re: PICKit2 just crashes

    OK So the problem persists, and it also occurs with the PICKit 2 software (so it's almost certainly not PICBasic Pro). Ive done some testing and the PICKit 2 dongle seems to fail and remain a problem for a period of time, regardless of whether I reboot, unplug the dongle or whatever. It won't reset and work again until the power is removed, both from the board and the USB cable.

    I suspect I have a dud PICKit 2 dongle. It'll take about a week to locate a new one and get it shipped to me (one of the sacrificed of choosing to live in a remote area).

    Thanks for all your help BOB

    and for information purposes - the DOS windows that open in Windows 7 are for mpasmwin.exe and pk2cmd.exe. These are probably C+ programs used by Microchip.

    Kind regards again

    John

  6. #6
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: PICKit2 just crashes

    I have (successfully ?) crashed the PICKit2 on many occasions
    What always causes my crashes are short circuits when using the PICKit2 to power my device. I then have to either check communication, reboot the pickit software, unplug the pickit from the usb or all three .
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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