Content originally posted in LPCWare by micronpn on Mon Apr 19 00:13:14 MST 2010
I found a wrong definition in Lpc17xx.h installed by LpcXpresso:
/* Repetitive Interrupt Timer (RIT) */
// #define RIT_BASE_ADDR 0x400B4000 this is the wrong definition
#define RIT_BASE_ADDR 0x400B0000 // this is the correct definition
the effect is that writing to a rit register produce an hard fault interrupt.