cancel
Showing results for 
Search instead for 
Did you mean: 

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

BHeiß.1
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
Khouloud ZEMMELI
ST Employee

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

View solution in original post

6 REPLIES 6
Herve PIERROT
ST Employee

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 Employee

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
Associate II

Thank you very much! That worked without any problems!

Best regards

Bernd

Khouloud ZEMMELI
ST Employee

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
Associate II

Hello Khouloud ZEMMELI (ST Employee)

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

Best regards

Bernd

You're always welcome :)

Khouloud