PIC programming usi...
 
Notifications
Clear all

[Sticky] PIC programming using MPLAB/MPASMWIN software

26 Posts
18 Users
0 Reactions
85.6 K Views
CaptKirk
Posts: 2200
(@captkirk)
Noble Member
Joined: 16 years ago

Re: PIC programming using MPLAB software

ALWAYS erase before programming. Always run a verify afterwards. If you try to program over an unerased part it will probably try to do the programming but only be able to change the bits that were in an erased state to their opposit state (I hate to say "programmed" state but that is the case). You get an unusable mess usually.

Hope this helps.


Reply
Posts: 6728
(@p-short)
Illustrious Member
Joined: 19 years ago

Re: PIC programming using MPLAB software

In my experience the MPLAB software erases before programming and verifies after programming, no user intervention needed.


Reply
griffixdc
Posts: 2512
(@griffixdc)
Famed Member
Joined: 16 years ago

Re: PIC programming using MPLAB software

what pickit tool is best or better for doing this...i am search for one that works 🙂


Reply
Matt_Edwards
Posts: 2664
(@matt-edwards)
Famed Member
Joined: 18 years ago
P. Short wrote:In my experience the MPLAB software erases before programming and verifies after programming, no user intervention needed.

This must be a setting 'cause it isn't my experience with the fast pics.
When i wanted to program them using the program button top RHS on home screen, it failed until i hit the erase button first.
Matthew
Sent from my GT-I9100 using Tapatalk 2


Reply
crazy_carpenter
Posts: 369
(@crazy-carpenter)
Reputable Member
Joined: 15 years ago

Re: PIC programming using MPLAB software

CaptKirk wrote:ALWAYS erase before programming. Always run a verify afterwards. If you try to program over an unerased part it will probably try to do the programming but only be able to change the bits that were in an erased state to their opposit state (I hate to say "programmed" state but that is the case). You get an unusable mess usually.

Hope this helps.

Thanks Capt. I was kinda leaning towards that answer since I do recall seeing an "erase" button somewhere in the process.

@ P & Matt : going back thru the process to check, the erase function was in the pickit 2 software during the write operation. I can't speak to MPLAB because I used MPASMWIN as per the video tutorial.
@ griffixdc : Don't know the best because I am by no means an expert, but I used the pickit2 w/ ICSP14 adapter from j1sys. Hope that helps you out.


Reply
Page 2 / 6
Share: