I am learning how to program the Arduino Due in C using an Atmel SAM/AVR ICE and Atmel Studio 7. I can't seem to find the NVIC registers in the debug windows when single stepping.
I tried to create a work around that would allow me to display the Interrupt Set Enable register zero in the watch window.
I created a pointer to the register using
uint32_t* ISER0_ptr= &NVIC->ISER
and then the following to the watch window *ISER0_ptr
This works well if the pointer is declared inside the function I am single stepping at the time . But if I define the pointer at the top of the .c file or as global the watch window seems to ignore it.
Any help would be greatly appreciated
Discussion around product based on ARM Cortex M3 core.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest