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.

memory regions cannot be programmed correctly

Status
Not open for further replies.

venkateshem

Junior Member level 1
Joined
Dec 14, 2010
Messages
15
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,283
Location
coimbatore
Activity points
1,356
Hello,

I hope I'm writing this post in the right thread. I'm new to PIC programming and would like some help. I too have a similar error as described in this thread, i.e.

Erasing...
Erase device complete
Programming...
The following memory regions failed to program correctly:
Program Memory
Address: 00000200 Expected Value: 000000bb Received Value: 00000000
Programming failed

Also, if I do as suggested above, I have the same:

Erasing...
Erase device complete
Blank Checking...
The following memory regions failed blank check:
Program Memory
Address: 00000200 Expected Value: 000000ff Received Value: 00000000
Blank check failed

I am using MPLAB IDE v8.56, mpasmwin.exe v5.37, mplink.exe v4.37, mcc18.exe v3.36 and mplib.exe v4.37

I am using a MPLAB ICD 3 via USB and attempting to program a PIC18F2320 device.

These errors occur with Original project and Modified projects.

I have read on the web that the above may be caused through incorrect 'Configuration Bit Settings'. However, the original project has these set in code.

Any ideas? Any help would be most appreciated.

Many thanks,
 

Address: 00000200 Expected Value: 000000bb Received Value: 00000000
Is this the only failing address?
Can you program any other address?

These received "Zeros" sounds that you are not communicating with the IC. I think that there's a problem either in the connection between the programmer and the IC or, in the configuration bytes in your programmer software.

Try the following troubleshooting steps:
1- Make sure that you have configured the programmer software correctly.
2- Make sure that the programmer identifies the IC.
3- If the programmer didn't detect the IC, try another IC as this IC may be damaged.

Hope this helps.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top