I'm new to TrueStudio and to the community, fairly new to STM32. I am running through an online course (using the STMF3Discovery board) that is explaining the behavior of various registers such as CONTROL, PRIMASK, FAULTMASK, MSP, PSP, etc.
I'm finding that TrueStudio, register view, is not updating at least the CONTROL, PRIMASK and FAULTMASK registers when I single step though the C code. I am using the
Code: Select all
__set_CONTROL(mask) , __set_PRIMASK(mask);, __set_FAULTMASK(mask);
I can see MSP, PSP, PC, SP among others being updated appropriately. The registers are indeed updating as I can read back the updated values and the processor is behaving as expected. Looks like the registers are not being refreshed within the IDE.
If I use the "System Workbench for STM32" IDE, then I can see the above three registers update within that IDE as expected.
Just for grins I have tried running TrueStudio as root when testing the CONTROL register but still did not see the register value change within the Registers view.
Am I missing some setting that would cause this behavior?
TrueStudio 9.2.0 - out of the box, no add ins or updates
Ubuntu Linux 16.04.1 64 bit
System Workbench for STM32 (latest default install version)