STM32CubeMX: Wrong Flash size in linker description file for STM32U073K8U6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-25 1:38 AM
Steps.
- Open STM32CubeMX. I am using version 6.12.1
- Click MCU Selector
- Select STM32U073K8U6. Note this table says the flash size is 64 kBytes
- Click Start Project
- Select the Project Manager tab
- Change the Toolchain / IDE option to makefile
- Click Generate Code. I needed to enter a project name.
- Line 63 of the generated STM32U073K8Ux_FLASH.ld file is
"FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 256K"
I was expecting this line should say 64k. - I can manually edit this file to say 64k.
This is OK until I click the generate code button again which will overwrite my correction.
Solved! Go to Solution.
- Labels:
-
STM32CubeMX
-
STM32U0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-25 1:51 AM - edited ‎2025-03-06 3:46 AM
Hello @a_user
I'm investigating this issue internally and i will be back to you with the root cause of this. I've tested even with project for CubeIDE.
PS: Issue solved on the last release of the STM32CubeMX
Best Regards.
STTwo-32
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-25 1:51 AM
Note. I originally saw this issue with version 6.12.0. Updating to 6.12.1 did not fix this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-25 1:51 AM - edited ‎2025-03-06 3:46 AM
Hello @a_user
I'm investigating this issue internally and i will be back to you with the root cause of this. I've tested even with project for CubeIDE.
PS: Issue solved on the last release of the STM32CubeMX
Best Regards.
STTwo-32
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.
