lpcware

lpcxpresso fault: not showing status register values

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by jcottier on Fri Jun 21 07:20:16 MST 2013
LPC122x M0 debugging

When viewing the SPP0 registers in "Peripherals" in Eclipse (on a breakpoint within the interrupt routine), the interrupt status registers SSPRIS and SSPMIS do not show the correct value. IE the bits are not set to reflect what the source of the SSP interrupt was. However reading the same register in C code works correctly EG status= LPC_SSP->RIS; shows the the bit(s) set that invoked the interrupt. Refresh does not correct this. The lpcxpresso version is v5.2.4 [Build 2122] [2013-04-29] for Linux.

Outcomes