This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Eclipse CDT debug and NVIC registers

I'm using Eclipse CDT for debugging according to the tutorial on this site. I've installed the device pack and I do see the nRF52 peripherals in the debug view. However all the general ARM Cortex-M4 peripherals are missing, e.g. the NVIC and SCB registers.

Is there an easy way to display both?

Parents
  • The core peripheral registers are missing in my Eclipse too. From this link: gnuarmeclipse.github.io/.../

    System registers

    The current SVD specifications do not cover very well if/how the vendor should define the system registers, like SysTick, NVIC, Debug, etc, so it is up to the silicon vendors how to do it; some define the system registers grouped in one single custom peripheral, some in multiple peripherals, and some do not even define all system registers.

    Nordic ends up in the last group there. I guess this is a result of an unclear SVD spec. Keil and IAR handles this correctly but apparently not the Eclipse plugin. Sorry for the inconvenience.

Reply
  • The core peripheral registers are missing in my Eclipse too. From this link: gnuarmeclipse.github.io/.../

    System registers

    The current SVD specifications do not cover very well if/how the vendor should define the system registers, like SysTick, NVIC, Debug, etc, so it is up to the silicon vendors how to do it; some define the system registers grouped in one single custom peripheral, some in multiple peripherals, and some do not even define all system registers.

    Nordic ends up in the last group there. I guess this is a result of an unclear SVD spec. Keil and IAR handles this correctly but apparently not the Eclipse plugin. Sorry for the inconvenience.

Children
Related