I'm using the STM3210E-EVAL board, which has a STM32F103ZD on it. When debugging with ULINK I can see all registers in the register view, when debugging with ST-LINK I can only see the core registers. Is there some tweak to enable viewing the special registers or is the ST-LINK incapable of supporting that?
IAR with ST-LINK shows some of the special registers (MSP/PSP) but not the others (CONTROL, PRIMASK, FAULTMASK or BASEPRI).
Trying to figure out whether this is a Keil or ST problem...
Thanks, Andrew
I used the same dev kit using ULINK2 (I have two STM3210E-EVAL kits and two ULINK2) and Keil's IDE does show the System registers:
BASEPRI PRIMASK FAULTMASK CONTROL
You just have to expand the [+] thingie in the Registers window.
--Cpt. Vince Foster 2nd Cannon Place Fort Marcy Park, VA
http://i.imgur.com/fxK3U.jpg
Right, with U-Link I get the same results you're showing in the screen shot but with the ST-Link there's nothing to expand. I think it's a problem with the ST-Link driver.