Solution to "memory not erased: continue?" error

Tips, Tricks and methods for programming, learn ways of making your programming life easier, and share your knowledge with others.

Moderators: Benj, Mods

Post Reply
randomrichard
Posts: 41
Joined: Thu Oct 16, 2008 11:01 am
Has thanked: 21 times
Been thanked: 7 times
Contact:

Solution to "memory not erased: continue?" error

Post by randomrichard »

I am programming an 18F4550 on an EB006 at various clock settings, & crystals. I have found that although Flowcode (5.5) will recognize the chip after I have made clock settings changes, when I try immediately to "compile to chip" after saving the new version I get a "memory not erased" message and the new program is not uploaded to the chip. But if I then just "compile to chip" without any changes, the new program uploads and works. So it seems that a two-stage process: compile to hex and then to chip is a good idea with 18F chips.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Solution to "memory not erased: continue?" error

Post by medelec35 »

Yes I do agree with you on this.
So microcontrollers appear to be affected more that others.

Martin
Martin

Post Reply