cancel
Showing results for 
Search instead for 
Did you mean: 

SFRs are not shown in the STM32CubeIDE in Debug mode

Mykola_Levun
Associate III

Hello,

STM32F411CE microcontroller.
I created a starter project via STM32CubeMX using HAL and opened it in STM32CubeIDE. When I run this project in debug mode, the SFRs tab is empty (see figure bellow). Why?

Mykola_Levun_0-1750324035376.png
When I create a project without using STM32CubeMX and, accordingly, without using HAL, the SFRs tab shows the registers and value of registers.

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @Ghofrane GSOURI ,

The problem was solved. It was necessary to click the Refresh SVD data button in the SFRs tab (see figure bellow).
Refresh SVD data button locates in the SFRs tab:
    1. Navigate to SFRs tab;
    2. Click on the 3 dots icon in the SFRs tab;
    3. Click Refresh SVD data.
After that, the registers and their values ​​appeared in the SFRs tab.

Mykola_Levun_0-1750337710637.png

 

View solution in original post

2 REPLIES 2
Ghofrane GSOURI
ST Employee

Hello @Mykola_Levun 

First let me thank you for reporting.

Could you please provide more details about the STM32CubeIDE and CubeMX version that you are using , also your OS.

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hello @Ghofrane GSOURI ,

The problem was solved. It was necessary to click the Refresh SVD data button in the SFRs tab (see figure bellow).
Refresh SVD data button locates in the SFRs tab:
    1. Navigate to SFRs tab;
    2. Click on the 3 dots icon in the SFRs tab;
    3. Click Refresh SVD data.
After that, the registers and their values ​​appeared in the SFRs tab.

Mykola_Levun_0-1750337710637.png