|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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:
Roger. ______________________ Any man whose errors take ten years to correct is quite a man. J. Robert Oppenheimer |
|
#2
|
|||
|
|||
|
Re: Code Flashing Issues
Yes, I am using MP LAB.
I had previously moved everything into a new folder (and deleted all of the old hex files as to make sure that I was indeed flashing the most current). The thing that makes me believe that it's not flashing correct is that the printf statement occurs and it outputs offset1: offset2: and when I was editing the code i made a typo to where it was "offsetf" instead of offset2, however when outputting on the terminal it still says offset2. |
|
#3
|
|||||
|
|||||
|
Re: Code Flashing Issues
Make doubly sure that you're editing the right file. The editor can keep a connection to the file in the old folder until you close everything and open it again from the project window.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Issues with encoder code | jgannon | Programming | 7 | 26-03-2006 15:12 |
| problems using gyro/adc code with camera default code | tanstaafl | Programming | 7 | 22-01-2006 23:09 |
| Flashing Battery Light | Max Brin | Technical Discussion | 3 | 12-01-2006 11:46 |
| Flashing Red Robot Feedback Lights | zarf | Programming | 2 | 12-02-2005 16:01 |
| flashing LEDs | jacob_dilles | Electrical | 1 | 22-02-2004 21:52 |