RIT Problems

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by deBoogle on Tue Feb 15 01:07:39 MST 2011
Hi All,
Firstly, I was going to mention the RIT in peripherals view but Skysat has got there first.


I must be missing something really obvious, but every time I try to write something to the RIT registers I generate a hard-fault, and end up in the hard-fault handler.

I should point out that I have an LPCXpresso board with an LPC1769 on board.  Not that I think this will make much difference as it should follow the format for other LPC17xx devices.

I have forward declared the handler, and the code for this at the same time.

Then when I debug and step through, the first instruction to do anything with the RIT registers jumps me to the Hard Fault handler.

Any of you got any ideas? Thanks guys.