Author Topic: PIC18F24K50 programming problems  (Read 11742 times)

0 Members and 1 Guest are viewing this topic.

Offline 22swg

  • Frequent Contributor
  • **
  • Posts: 274
  • Country: gb
Re: PIC18F24K50 programming problems
« Reply #25 on: January 16, 2015, 10:30:52 pm »
Dashboard ...Green arrows ?
Check your tongue, your belly and your lust. Better to enjoy someone else’s madness.
 

Offline Howardlong

  • Super Contributor
  • ***
  • Posts: 4814
  • Country: gb
Re: PIC18F24K50 programming problems
« Reply #26 on: January 16, 2015, 11:00:42 pm »
These were the DLLs that fixed the 2.05 problem, and I also include the DLLs that are current, and working, with 2.30.

You need to put one in your Windows\System32 and the other in your Windows\Syswow64: the subdirectory structure within the zip file will make it clear which one is which.

Save your old DLLs with an appropriate rename!

One further test is that as I remember it, Pickit 3 worked perfectly with the old MPLAB 8.92, it was just the MPLAB X nonsense that didn't.

The bad DLLs were:

Code: [Select]
Directory of C:\Windows\System32
14/01/2014  20:18           243,200 USBAccessLink.dll

Directory of C:\Windows\syswow64
14/01/2014  20:18           199,680 USBAccessLink.dll

 

Offline Emil

  • Regular Contributor
  • *
  • Posts: 156
  • Country: no
    • ZeptoBit
Re: PIC18F24K50 programming problems
« Reply #27 on: January 17, 2015, 01:39:27 am »
 

Offline 22swg

  • Frequent Contributor
  • **
  • Posts: 274
  • Country: gb
Re: PIC18F24K50 programming problems
« Reply #28 on: January 17, 2015, 09:07:21 am »
Too many green arrows  :)  Have you clicked ' Refresh Debug tool status ' (round arrows) on the dashboard side bar ...
Check your tongue, your belly and your lust. Better to enjoy someone else’s madness.
 

Offline Emil

  • Regular Contributor
  • *
  • Posts: 156
  • Country: no
    • ZeptoBit
Re: PIC18F24K50 programming problems
« Reply #29 on: January 17, 2015, 10:02:58 pm »
Too many green arrows  :)  Have you clicked ' Refresh Debug tool status ' (round arrows) on the dashboard side bar ...

Found 5 :) Now I understand which one you ment :)

When clicking "refresh debug tool status" I get another "Connection Failed" message after a while.
 

Offline Skimask

  • Super Contributor
  • ***
  • Posts: 1425
  • Country: us
Re: PIC18F24K50 programming problems
« Reply #30 on: January 17, 2015, 11:02:50 pm »
Pictures...
I didn't take it apart.
I turned it on.

The only stupid question is, well, most of them...

Save a fuse...Blow an electrician.
 

Offline 22swg

  • Frequent Contributor
  • **
  • Posts: 274
  • Country: gb
Re: PIC18F24K50 programming problems
« Reply #31 on: January 18, 2015, 09:52:25 am »
So MPLABX can resolve the serial number but not connect for other comms ?   is your "PK3"  in the win 7 Device manager as 'HID-compliant device' and 'USB input device ' (2 entries)
Check your tongue, your belly and your lust. Better to enjoy someone else’s madness.
 

Offline Emil

  • Regular Contributor
  • *
  • Posts: 156
  • Country: no
    • ZeptoBit
Re: PIC18F24K50 programming problems
« Reply #32 on: January 18, 2015, 12:05:02 pm »
The problem is solved :)

I found the solution in the last post of this tread: http://www.electro-tech-online.com/threads/pickit-3-windows-7-64-bit-mplab-ide-issues.141424/

-I ran MPLAB 8.92 as Administrator. (Probably would have worked in MPLAB X and as normal user too.)
-I unplugged the PK3, pressed the button on it and held it while connecting usb again, then released the button.
-A dialog poped up asking to update the firmware, which it then did.

The PK works in MPLAB now. (Both v8.92 and MPLAB X v2.26).

If I try with the standalone programmer software I get this message: "The PICkit 3 is in MPLAB mode. Use the tools menu to download an OS compatible with this application."

Thank you to everyone who helped me with this.
 

Offline 22swg

  • Frequent Contributor
  • **
  • Posts: 274
  • Country: gb
Re: PIC18F24K50 programming problems
« Reply #33 on: January 18, 2015, 03:15:13 pm »
 8) :-+
Check your tongue, your belly and your lust. Better to enjoy someone else’s madness.
 

Offline Howardlong

  • Super Contributor
  • ***
  • Posts: 4814
  • Country: gb
Re: PIC18F24K50 programming problems
« Reply #34 on: January 18, 2015, 04:34:23 pm »
Well done! Can't ever remember having to do that on a PK3, but I may be mistaken.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf