View Single Post
  #363   Spotlight this post!  
Unread 10-02-2008, 19:54
amk's Avatar
amk amk is offline
Registered User
AKA: Ann Kowalczyk
FRC #0503 (Frog Force)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Novi, MI
Posts: 30
amk is an unknown quantity at this point
Re: New C18 3.0+ Compatible FRC Code

Have you resolved this issue? We're having the same problem, but with the C18 V3.10 compiler & beta code.

Quote:
Originally Posted by ayeckley View Post
There seems to be something amiss when using the combination of MPLAB 8.0, C18 V2.4, the V2.4 beta code and the MPLAB SIM debugger. I think that's a "legal" combination, right? The simulator seems to be going off into the weeds when it hits line 373 (serial port enable) of serial_ports.c. The odd thing is that if you step through it it hangs up on that line, but if you let it run it instead hangs up on line 427 of ifi_frc.c, which is _do_cinit();

Is this just a question of the beta code not supporting MPLAB SIM? I don't think I've seen any _SIMULATOR definitions in either the 2.4 or the 3.1 beta code.

Edit: The same thing happens when I run the 3.1 beta code with C18 v3.1. Maybe I'm the only one trying to use MPLAB SIM? It worked like a champ with last year's code.