lpcware

Lpc17xx.h error

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
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.

Outcomes