This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Debugging in Simulator LPC2888

There is example:

#include <LPC288x.h>

int main(void){
        PINS_3 = 0x03;
        return 0x00;
}


and file .ini

$=0x10400000


In debug Simulator line PINS_3 = 0x03;
causes(calls) interruption PAbt_Handler.

Why if PINS is defined in LPC288x.h as
#define PINS_3 (*((volatile unsigned int *) 0x800030C0))?

That to adjust in IDE for correct simulator?

Project is created in MDK-ARM, adjustment by default.
Keil MDK-ARM v3.80a