Fixed support for STM32U5 chips#1355
Merged
Nightwalker-87 merged 3 commits intostlink-org:developfrom Nov 23, 2023
Merged
Conversation
Contributor
|
Shouldn't |
Contributor
Author
|
I didn't know that was one of the uses. If this is the recommendation, it might be interesting to make the code clearer. Any tips for filling out the rest of the file? I believe the option bytes region is missing too. I saw that these flags are not used when deleting a sector, for example. It would be simpler, especially to deal with the variety that exists between U5, L5 and F5. |
Nightwalker-87
approved these changes
Nov 21, 2023
6 tasks
Ant-ON
approved these changes
Nov 22, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have been using the stm32U535 and I was getting an error when trying to write or erase parts of the flash with the st-flash.exe program. Analyzing the code I noticed that:
0x455: STM32U535/545
0x476: STM32U5Fx/5Gx
0x481: STM32U59x/5Ax
0x482: STM32U575/585
As this is my first contribution I'm not sure if the way I solved the problems was the best. I remain at your disposal for further clarification.