Loading...
 
Skip to main content

System Workbench for STM32


View STM32 MCU peripheral registers

It is useful to view the periperal register values during debugging, such as UART, SPI..

I can do it with IAR workbench, how can I do it for SW STM32?

Regards
Sam

In Debug Perspective ("Debug" button - right side of the top tool bar) there is the area occupying the top right side of the SW. You can choose from among some tabs, such as "Variables" and "Breakpoints". One of the tabs is "I/O Registers" - in this tab you have the list of the CPU peripherals. Expand one, and you will see its registers. Then you have to double-click on a register icon to enable reading its value from the CPU (it will update automaticaly with each break or step). Double-click again on the register to disable reading.

I am working on STM32F373 MCU now.

When I do it, the screen display this error message "No CMSIS-SVD schema for this target", nothing display in the table.

The peripherals view is enabled when the debug configuration is launched. If the debug is already launched, click on the refresh button to reload the peripherals definition.

Hope it solves the problem.
Kevin.

Hi Kevin,

There is a button in the top right of the table, I press the button but nothing happen,
I move the mouse to this button, it shows a message "Refresh periperal registers table (not refreshing register value)".

The Ac6 is version 1.30 which I download yesterday from this website.

Is some debugging setting related to view the registers?

Sam


Which mcu exactly are you using ?


Pascale


The MCU is STM32F373RC.

The register view feature is not for all STM32 family MCU?


France
It should be but errors may exist...


France

It should work with all MCUs and the STM32F373RCTx is supported...
It looks like either there was an installation problem or your custom board definition was incorrect.

  • On which OS are you working?
  • Where did you install System Workbench? in the standard place (C:\Ac6\SystemWorkbench) or another place?
  • Could you check you can find the following file, in your installation directory:
    Copy to clipboard
    plugins\fr.ac6.mcu.ide_1.3.0.201507241045\resources\cmsis\STMicroelectronics_CMSIS_SVD\STM32F437x.svd
  • Could you attach (or include in a CODE block) your board definition file?

Bernard

Hi

1. My PC is WinXP.
2. I install it in c:\AC6\SystemWorkbench directory.
3. I can find STM32F437X.svd, but no STM32F373X.svd. My target board MCU is STM32F373RCT, should I download STM32F373X.svd?


4. I check my STM32F3Discovery board, the on board MCU is STM32F303VCT6. I can find STM32F303X.svd,
but the IDE on "I/O Register" window has an error message "No CMSIS-SVD schema for this target".

Should I add some information for IDE related to the CMSIS-SVD file? where and how to add it?

Regards
Sam


It works now after I set the debug configuration to "Ac6 STM32 Debugging".

Previously, I set the debug configuration to "GDB Hardware Debugging".

Regards
Sam


Hello,

It is possible to use the "GDB Hardware Debugging" debug configuration, using the J-Link reflash of the on chip ST-Link debugger of the ST demo boards (Nucleo, Discovery, ...) and still see the I/O Registers.

I posted a solution on this thread to properly show the registers, please have a look:
http://www.openstm32.org/forumthread574?forumId=7

Dulan