Skip to main content
BHeiß.1
Associate II
February 4, 2021
Solved

Hello! Is it possible to change a device in an existing MXcube-Project? (STM32G071R8 to STM32G071RB with more flash) Thanks for response!

  • February 4, 2021
  • 6 replies
  • 1992 views

..

This topic has been closed for replies.
Best answer by Khouloud ZEMMELI

Hello @Bernd Heißwolf​ 

Thanks for your question,

The answer is Yes, it's possible to import your project basically created with G071R8 on G071RB using CubeMX.

I present to you, as mentioned in the image below, a ways which allows you to know the MCUs that are compatible with each other even with different Flash sizes and all this through CubeMX =) :

0693W000007DxK9QAK.pngThanks, Khouloud

6 replies

Herve PIERROT
ST Employee
February 4, 2021

Hello @Bernd Heißwolf​ ,

Using STM32ubeMX, what could be possible is to create a new project on STM32G071RB and from this blank project,

import the configuration from your STM32G071R8 project,

you will still need nevertheless to port after that the application part into the new project.

0693W000007DwyNQAS.png

Peter BENSCH
ST Technical Moderator
February 4, 2021

Yes, one possibility is to edit the CubeMX project file IOC: open it using your favority text editor and find/replace all occurences of STM32G071R8 with STM32G071RB (about 2..3). Load that project in CubeMX again and enjoy the same pin and other settings as before.

But please be careful: this will only work properly if a device is replaced with the same type with less or more memory.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Good luck!

/Peter

In order 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.
BHeiß.1
BHeiß.1Author
Associate II
February 4, 2021

Thank you very much! That worked without any problems!

Best regards

Bernd

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
February 4, 2021

Hello @Bernd Heißwolf​ 

Thanks for your question,

The answer is Yes, it's possible to import your project basically created with G071R8 on G071RB using CubeMX.

I present to you, as mentioned in the image below, a ways which allows you to know the MCUs that are compatible with each other even with different Flash sizes and all this through CubeMX =) :

0693W000007DxK9QAK.pngThanks, Khouloud

BHeiß.1
BHeiß.1Author
Associate II
February 4, 2021

Hello Khouloud ZEMMELI (ST Employee)

Oh, thats the official way to do this! Thank you very much!

Best regards

Bernd

Khouloud ZEMMELI
ST Employee
February 4, 2021

You're always welcome :)

Khouloud