Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Erasing code-protected PIC using MPLAB 7.20

Status
Not open for further replies.

coolchip

Full Member level 2
Joined
Nov 17, 2003
Messages
125
Helped
1
Reputation
2
Reaction score
2
Trophy points
1,298
Activity points
1,109
mplab 7.20

I'm trying to erase a PIC16f877 using Picstart plus and mplab 7.20.
Selecting Porgrammer -> Erase device does nothing!
On selecting read, mplab seems to be reading the memory ( as seen in taskbar on left bottom) but then I get the message :

Device is data protected! Data memory may be invalid.

Device is code protected! Program memory may be invalid.

Verify gives following message :

PICSTART Error Log File
09-Sep-2005, 16:25:04

Device Type: PIC16F877A
Address Range 0-1fff


Programming/Verification completed successfully!

Is it possible to erase a code-protected PIC ?

Also what are LP, HS under config bits --> osc ?

thank you
 

read code protected pic

It is possible to erase a code protected PIC, you won't be allowed to read the code from it.
HS, LP, etc refers to the oscillator you're using with your PIC. HS is a high speed crystal, RC is a RC circuit, and so on...
Good luck
 

device is code protected

insaniac said:
It is possible to erase a code protected PIC, you won't be allowed to read the code from it.
HS, LP, etc refers to the oscillator you're using with your PIC. HS is a high speed crystal, RC is a RC circuit, and so on...
Good luck

Please tell me the way to erase the PIC.The one from mplab menu isn't working.
Thank U !
 

device is blank.pic start error log file

I think you won't be able to verify whatever code you put into the PIC. You may have a chance at programming the pic but not being able to verify it, so you can't really know if the program is already transferred to the pic (it returns verification error because MPLAB can't read it) unless you connect it to your circuit.:|
 

mplab code ptrotected

You have to go in: PROGRAMER -> ERASE FLASH DEVICE, then you have to verify if it's erase in PROGRAMER -> blank check all, if it gives "device is blank" PIC is erased ... if not try change MCU an try again ... look on file support versions of PICStart firmware ... are you using ICSP?


leomecma
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top