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.

Programming failed error when using certain libraries

Status
Not open for further replies.

Elyments

Junior Member level 3
Joined
Apr 11, 2010
Messages
31
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Cambridge, UK
Activity points
1,493
Programming failed error when using certain libraries in MikroC PRO

Hello all. I am experiencing a very strange problem when attempting to program my PIC18f8722. I am using the MikroC PRO compiler.

The problem is that whenever I try to use the 'FloatToStr' function and then program device I get the error:

The following memory regions failed to program correctly:
Program Memory
Address: 00000900 Expected Value: 0000004b Received Value: 00000000
Programming failed

Interestingly if I am persistent and keep trying it eventually works but I'm pretty sure there is something wrong here.

On the same note, whenever I try to use the mmc libraries I also get the error:

Programming...
The following memory regions failed to program correctly:
Program Memory
Address: 00000700 Expected Value: 00000005 Received Value: 00000000
Programming failed

Anyone know what is going wrong here?

Many thanks, Ely
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top