Skip to main content
Jackle
Associate II
June 29, 2021
Solved

STM32CubeIDE1.6.1 SFRs doesn't show USB or FDCAN registers!!!

  • June 29, 2021
  • 8 replies
  • 2572 views

I'm using the latest version, STM32CubeIDE1.6.1, to develop and debug code for STM32G0B1VE.

However, In the SFRs register list I don't even see the USB or FDCAN registers!!!

What was wrong? The STM32G0B1VE claimed the support of USB and FDCAN. Where are they?

Best answer by Imen Ezzine

Please find a copy of SVD file STM32G0B1.

-Imen

8 replies

TDK
Super User
June 29, 2021

What shows up in the SFRs window depends on the SVD file.

Looks like the SVD file is missing that information. It's also missing RCC. The functions still exist on the chip.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Jackle
JackleAuthor
Associate II
June 29, 2021

How to fix it then? Is this a software bug?

0693W00000BcMEZQA3.png

TDK
Super User
June 29, 2021

Your options are to edit the SVD yourself, possibly splicing those register values in from another chip's SVD file, or wait for ST to fix it.

@Imen DAHMEN​ 

"If you feel a post has answered your question, please click ""Accept as Solution""."
Jackle
JackleAuthor
Associate II
June 29, 2021

@Imen DAHMEN​ Can we confirm that this problem has been identified and will get fixed? Can we have some details on the workaround? This bug causes the STM32CubeIDE not usable for the development for USB and FDCAN. Thanks.

Technical Moderator
June 30, 2021

Hello @Jackle​ and @TDK​ ,

Thanks for reported this issue.

I created an internal ticket to fix this.

I'll make sure to post any updates or patch here as soon as I hear back from them.

Thanks

Imen

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Imen Ezzine
ST Employee
June 30, 2021

Hi @Jackle  and @TDK ,

Thank you for your feedbacks.

Indeed it seems that the SVD version is a bit old. Today we have an advanced version that supports all missing IPs: USB,FDCAN etc

I am attaching the last version of SVD file for G0B1 that should be supported in upcoming release for STM32CubeIDE.

All you need is replace old SVD file with new one.

Please don't hesitate if you have more feedbacks/questions.

Regards,

-Imen

Imen Ezzine
Imen EzzineBest answer
ST Employee
June 30, 2021

Please find a copy of SVD file STM32G0B1.

-Imen

Jackle
JackleAuthor
Associate II
June 30, 2021

Thanks. I can see the Registers now. However, the USB is still not working. I will open a new thread for this issue.

GrassHopper
Associate
September 14, 2024

Old one.