CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

OT- no choice - SOLVED!!! - Solution Added
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

OT- no choice - SOLVED!!! - Solution Added
PostPosted: Mon Jun 18, 2012 11:05 pm     Reply with quote

After 2 hours wasted trying to find a solution in the vast uselessness of the microchip forums... I can't get my pickit3 to work on win7 64.... so i come here for yet again, your kind help... seems this is the only place where people participate with the intention of giving a solution.

Uninstalled mplab 8.60 ... reinstalled... nothing
uninstalled all HID drivers .. watch them install again once the pick kit was connected...

Works perfectly fine on my "vintage" Pentium 3 running xp...
using mplab 8.60 as well...

... i hate usb...

brand new computer... brand new compiler.. new project... USB kills the dream again....

I appologize... its 12:00 am... tiered.. frustrated...

edit... I don't see it enumerate.. or in my device manager... nothing says pickit 3 at least.

G
_________________
CCS PCM 5.078 & CCS PCH 5.093


Last edited by Gabriel on Thu Jun 28, 2012 7:15 am; edited 2 times in total
Markdem



Joined: 24 Jun 2005
Posts: 206

View user's profile Send private message Send e-mail

PostPosted: Tue Jun 19, 2012 6:00 am     Reply with quote

Don't know if this helps, but I have it working on WIN7 64 with MPLAB 8.76. Works fine.
I have just had a look, and the pickit get reported in device manager as a "HID compliant device" and "HID compliant consumer control device"

You can try to remove the device from windows, this has worked for me in the past with other crap (USB) devices.

Type the following 2 commands into a cmd window.

Set devmgr_show_nonpresent_devices=1
Devmgmt.msc

When the device manager opens, go to "view" and select "show hidden devices". Remove anything that is grayed out and starts with HID. Worst think that you can do is uninstall you keyboard or mouse. Don't stress, just reboot the computer to fix.


What is the issue you are having anyway? Does MPLAB report when you select the pickit as the programmer? What is the status LED on the pickit doing?

Mark
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Tue Jun 19, 2012 6:43 am     Reply with quote

i get "PK3Error0038" on MPLAB... Ive read every thread i can find related to this error in the microchip forums.... nothing usefull...

tried running everything as admin... nothin...

2 lights on the pickit on... no blink...

i tried removing every HID device on my machine... rebooted millions of times- nothin


thanks for your help

G
_________________
CCS PCM 5.078 & CCS PCH 5.093
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Tue Jun 19, 2012 3:21 pm     Reply with quote

Just my 2 cents...

Is there a special reason why you stick with the old MPLAB v8.60?
With every new MPLAB there is also included new firmware for your PICKit 3. Last May 11 the v8.85 was released with PICKit 3 firmware v1.27.15.

From the v8.60 PICKit 3 release notes:
Quote:
2 Operating System Support

This tool has been tested using the following operating systems:

32-Bit: Windows® 2000* SP4, Windows XP SP2, Windows Vista™ and Windows 7 OSs

64-Bit: Windows XP 64, and Windows Vista 64 OSs

NOTE: Windows NT® and Windows 98/ME OSs are NOT supported.
Note how Windows 7 64-bit is missing.... there probably is a good reason for this.
V8.63 and higher do mention specific support for PICKit 3 support on Windows7 64-bit.

For more details check the readme_for_pickit_3.htm in each MPLAB release.
Old MPLAB versions can be downloaded here

And which Windows driver are you using? From the MPLAB IDE readme included with your MPLAB installation:
Quote:
64-bit drivers are NOT located in the same place as 32-bit drivers, since 64-bit drivers support multiple tools where as 32-bit drivers are tool specific. By default they are in:

C:\Program Files (x86)\Microchip\MPLAB IDE\Drivers64
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Tue Jun 19, 2012 4:04 pm     Reply with quote

no particular reason to stick to 8.60... its just the CD it came with..
ill try out MPLAB-x and let you know.

thanks,
G
_________________
CCS PCM 5.078 & CCS PCH 5.093
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jun 19, 2012 4:12 pm     Reply with quote

But he didn't suggest that. He suggested upgrading to MPLAB vs. 8.85.
That's because MPLAB-X is a whole different IDE. You're adding all the
potential problems and frustrations if you install it, instead of simply
upgrading to the latest version of traditional MPLAB. (In short, going
to MPLAB-X will basically be doing self-sabotage).

The readme for MPLAB vs. 8.85 says this:
Quote:

Release Notes for PICkit™ 3

Operating System Support

This tool has been tested using the following operating systems:

32-Bit: Windows® 2000* SP4, Windows XP SP2, Windows Vista™ and Windows 7 OSs

64-Bit: Windows XP 64, Windows Vista 64, Windows 7 64 OSs

NOTE: Windows NT® and Windows 98/ME OSs are NOT supported.
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Wed Jun 20, 2012 6:37 am     Reply with quote

Hi PCM, i understood perfectly what he said... and infact i installed 8.85 instead of "x" yesterday noon... still not working.. however i have not had a chance to fully play with it... (work, girlfriend, prometheus came out, i sold my house, national riots, etc)...

i know i said ill install Mplabx... but i didnt... tonight i will dive into it again... hopefully ill get it to work...

thank you.

G.
_________________
CCS PCM 5.078 & CCS PCH 5.093
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Wed Jun 20, 2012 5:46 pm     Reply with quote

ok.... im going to die....

i have the power and active leds on....
ive uninstalled and reinstalled 8.85.... rebooted... uninstalled hid drivers... for everything on my machine....

tried running it as admin... as suggested in microchip forums...

my device manager as soon as i plugge it in says un know usb device... pick kit 3... and then all i see is a new hid device... so i guess its installing properly...

mplab does not see it at all...

so frustrated...

g-
_________________
CCS PCM 5.078 & CCS PCH 5.093
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

BREAKTHROUGH
PostPosted: Wed Jun 20, 2012 5:58 pm     Reply with quote

--- it works on safe mode...
i managed to upgrade the firmware while at it....

so its a local driver conflict issue...
am i supposed to unistall every single driver i have on my device manager?

..... what a drag...

g
_________________
CCS PCM 5.078 & CCS PCH 5.093
temtronic



Joined: 01 Jul 2010
Posts: 9174
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Jun 20, 2012 6:33 pm     Reply with quote

Now you know why I still use an 'old' XP PRO SP2 machine everyday....
...staying with something that works has it's merits.

...sad to say but the 'newest, latest and greatest' OS or hardware is NOT always a good thing...

Hopefully you'll get the issues 'fixed' before the next 'upgrade' comes along.

heck, I still use 30 year old laptops here....maybe you could dedicate one good old machine to your development ?
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Thu Jun 21, 2012 6:36 am     Reply with quote

Hi Temronic,

As i mentioned in some other post where you commented as well, i kept a 2002 -Sony Vaio, Pentium 3, with XP SP2, purely dedidcated to PICs.
it has dedicated RS232 and Parallel ports too!

but i was forced to change it since the clear screen cover degraded and it imposible to read fine print... or light fonts... i think someone cleaned it with some bad chemical... it still works but its got a 13inch screen.... which makes it even harder to read...

i purchased a new Dell with more power than i will ever need ---- ever....
and thats my new dedidcated PC.... should be good for the next 10 years.


to all:

.... anyways... 2 days and counting with this issue... thank you for your suggestions.

sorry for being OT... but i really am pulling my hair out...

thanks

G
_________________
CCS PCM 5.078 & CCS PCH 5.093
Ttelmah



Joined: 11 Mar 2010
Posts: 19369

View user's profile Send private message

PostPosted: Thu Jun 21, 2012 7:44 am     Reply with quote

Take a deep breath.

Key is to study what is/isn't working. It appears that MPLAB, and CCS, both 'are', but the real problem is that the PicKit3 device isn't being seen/handled correctly.

Now, there are several threads with the same problem on the Microchip forum:

<http://www.microchip.com/forums/m538256.aspx>

and another linked from this.

Now these definately say that the device should work with W7 64, and that it uses the native Windows HID driver.

At the top of the thread, the poster had found he could get the beta standalone programmer software to work!.

The device should just be visible under the HID device entry in device manager.

This thread:

<http://www.microchip.com/forums/tm.aspx?m=525698&high=PICKit3>

Has near the end, the poster being told to relocate the files used to get it working - worth trying.

If it still doesn't work, add a post to MicroChip support. The problem is somewhere in the MPLAB stuff, rather than anything from CCS.

Best Wishes
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

solved
PostPosted: Thu Jun 21, 2012 8:57 pm     Reply with quote

Found the issue...
going one by one... on the task manager... ending process ... i got it to work...

its one of 5 possible programs... i assume its conflicting with the hid driver.

anyways... thanks all for your help.

G
_________________
CCS PCM 5.078 & CCS PCH 5.093
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Jun 22, 2012 11:55 am     Reply with quote

Quote:

its one of 5 possible programs... i assume its conflicting with the hid driver.

Right, but which program was the problem ? Did you find the exact one ?
Or can you post a list of the 5 programs ?
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Fri Jun 22, 2012 12:01 pm     Reply with quote

ill let you know..
_________________
CCS PCM 5.078 & CCS PCH 5.093
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group