View Single Post
  #1   Spotlight this post!  
Unread 21-12-2006, 14:11
B.Johnston B.Johnston is offline
Registered User
AKA: Bruce Johnston
no team
Team Role: Mentor
 
Join Date: Apr 2006
Rookie Year: 2004
Location: Niagara Falls
Posts: 44
B.Johnston will become famous soon enough
Re: Printf has just entirely failed to do anything

I had the same sort of occurrence myself this week as I was trying to program one of the 2005 units.

Since you haven't mentioned which controller you're using this may not work.

If you have a 2005 CPU it's likely using a 8520 pic, which needs the following environment changes in mplab:

From the Configure >> Select Device... menu choose "PIC18F8520"
as the pic type

In your project use the "FRC_library.lib" for the 8520

(mine is named FRC_library_8520.lib) -To keep my sanity I
renamed it in the same
fashion as last years revised
libraries and linkers were.

Also In your project use the "18F8520.lkr" for the 8520

NOW the last ingredient for success in restoring printf's (in my case anyway)

Load the FRC_MASTER_V12.BIN and reload your first compiled code
(before all of your changes)

If you're using a pre 2006 CPU it's probably not been loaded with a FRC_MASTER_V12.BIN but an older version.

I'm just guessing (since it's now gone) but ours was probably using the V11 master code as distributed in April 2005.

Once the master code was updated my printf's worked fine (no more IFI> terminal freeze ups)