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
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: