Hello!
Is it possible to change a device in an existing MXcube-Project?
(STM32G071R8 to STM32G071RB with more flash)
Thanks for response!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-04 4:57 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-04 5:43 AM
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 =) :
Thanks, Khouloud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-04 5:16 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-04 5:26 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-04 5:38 AM
Thank you very much! That worked without any problems!
Best regards
Bernd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-04 5:43 AM
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 =) :
Thanks, Khouloud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-04 5:46 AM
Hello Khouloud ZEMMELI (ST Employee)
Oh, thats the official way to do this! Thank you very much!
Best regards
Bernd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-04 6:03 AM
You're always welcome :)
Khouloud
