View Single Post
  #3   Spotlight this post!  
Unread 07-11-2007, 15:43
Roger Roger is offline
Registered User
FRC #1153
 
Join Date: Jan 2006
Rookie Year: 1900
Location: Walpole MA
Posts: 685
Roger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond repute
Re: Code Flashing Issues

MP-LAB? Assuming yes...

Make sure MP-LAB is working the correct subdirectory.

(Easy way, Project -> Close: see what subdirectory it says it's in.)

Make sure IFI Loader is getting from the correct subdirectory.

If you put everything in a new subdirectory to make a new project, the MP-LAB workspace may still be pointing to the old subdirectory.

Sometimes if things aren't working right, the best bet is to copy all the files to a new subdirectory and use project wizard to create a new project. There is a time limit sometimes of how many different things you could try to fix it versus just recreate it.

After Preview: I suppose JamesBrown could be right, that the code isn't reaching the printf, but ...
Quote:
Originally Posted by bluenp
When it was running, in the terminal I noticed that the change I made in the printf statement had not been made.
I just figured the old printf was printing, so, yes, if there were changes in code around the printf, it could be code issues. Or it may be MP-LAB looking at the wrong locations. (Hey! That sounds like a song!)

Roger.
______________________
Any man whose errors take ten years to correct is quite a man.
J. Robert Oppenheimer