2022-08-08 11:24 PM
Hi
I am struggling with the UART bootloader.
My problem occurs when my firmware is greater than 128Kbyte. If it’s greater than 128Kbyte I get an error message with “operation exceeds memory limits.
If I am doing the same with the ST-LINK interface there is no problem. My STM32CubeProgrammer is the latest 2.11.
For both UART and ST-LINK I can read the full code, but I can only program 128Kbyte in UART mode.
I can see a difference in the two ways. In the erase flash window only 1024 addresses is been addressed.
In the ST-LINK the full memory has been addressed.
See my screen shots below.
Am I doing something wrong?
Solved! Go to Solution.
2022-11-28 06:47 AM
Hello @Community member , @Danish , @Community member ,
This issue is fixed in STM32CubeProgrammer latest release.
V2.12.0 is now available under this Link.
Thanks for your contribution :smiling_face_with_smiling_eyes:
Sara.
2022-08-09 03:38 AM
There are different amounts of FLASH memory depending precisely which Stm32l071 you have.
STM32L071R8T6 for example only has 64KBytes (strictly ST only guarantee that 64K is good; there might be more FLASH present, and it might even work when you test it, but ST have sold it as a cheaper part with less FLASH).
What is the full part number of your stm32l071?
How have you told STM32CubeProgrammer this full part-number?
Of course it's possible that there's a bug in STM32CubeProgrammer and it genuinely can't program FLASH beyond 128K for stm32L071.
2022-08-09 05:29 AM
Thanks for your reply!
The full part no. is STM32L071RZH6.
I don't see any possibilities to change the part no. in the STM32CubeProgrammer. The Programmer get the target information directly from the device......
Best Regards
Bent
2022-08-09 06:18 AM
Bugs like this in STM32 Cube Programmer have been particularly persistent.
Not sure there's a size field passed in the UART protocol, my expectations is that it is supposed to read the same word in System OTP, or relate the DBGMCU / DEVID
@Sara BEN HADJ YAHYA
2022-08-10 03:34 AM
Hello @Community member , @Danish , @Community member
This is a known issue and it is already raised to the dev team to fix it. I'll keep you posted.
Internal ticket number: 132951 (This is an internal tracking number and is not accessible or usable by customers).
If your issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly :)
Sara.
2022-08-10 04:26 AM
Thanks for your reply!
Do you have an release date for the STM32CubeProgrammer where it is been fixed?
Best regards
Bent
2022-08-10 05:42 AM
Hello @Community member ,
Unfortunately, I don't have this information. I will get back to you and let you know once the issue is fixed.
Sara.
2022-08-11 02:32 AM
In the meantime, you can try other uploaders. https://git.code.sf.net/p/stm32flash/code comes to mind.
2022-08-14 09:53 PM
Hi @Uwe Bonnes
Thanks for your answer!
I have implemented the newest version of stm32flash and it works...!!!
Thanks for your tip..
Best regards
Bent
2022-11-28 06:47 AM
Hello @Community member , @Danish , @Community member ,
This issue is fixed in STM32CubeProgrammer latest release.
V2.12.0 is now available under this Link.
Thanks for your contribution :smiling_face_with_smiling_eyes:
Sara.