|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Using MPLAB SIM
Thanks, this solved my problem.
|
|
#2
|
|||
|
|||
|
Re: Using MPLAB SIM
I am getting the exact same error, even when the _SIMULATOR macro is defined in the MPLAB C18 tab. Is anyone able to use MPLAB SIM with the most recent WPILib (WPILib2k6.lib) on the FRC? I get this error message when trying:
CORE-E0001: Stack overflow error occurred from instruction at 0x0030b2 |
|
#3
|
|||
|
|||
|
Re: Using MPLAB SIM
I solved stack overflow issue by adding the following code to ifi_frc.h:
#ifdef _SIMULATOR #define RESET_VECTOR 0x000 #define HIGH_INT_VECTOR 0x008 #define LOW_INT_VECTOR 0x018 #else #define RESET_VECTOR 0x800 #define HIGH_INT_VECTOR 0x808 #define LOW_INT_VECTOR 0x818 #endif Also, you need to remove or comment out the following lines in ifi_frc.h: //#define RESET_VECTOR 0x800 //#define HIGH_INT_VECTOR 0x808 //#define LOW_INT_VECTOR 0x818 |
|
#4
|
|||
|
|||
|
Re: Using MPLAB SIM
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MPLAB SIM debugger Questions | Chris_Elston | Programming | 2 | 16-01-2005 11:28 |
| MPLAB Variable Simulator? | Chris_Elston | Programming | 3 | 18-02-2004 12:08 |
| using the MPLAB IDE MPLAB SIM simulator | WizardOfAz | Programming | 1 | 03-11-2003 01:24 |