Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ambiguity in uf2families.json for STM32F4 processors #64

Closed
NathanY3G opened this issue Jul 10, 2022 · 2 comments
Closed

Ambiguity in uf2families.json for STM32F4 processors #64

NathanY3G opened this issue Jul 10, 2022 · 2 comments

Comments

@NathanY3G
Copy link

NathanY3G commented Jul 10, 2022

The uf2families.json file contains multiple IDs relating to STM32F4 processors - 1 for the entire series and 2 relating to the STM32F407 product line within that series. However, the description for the entire series is ST STM32F401 which I believe is incorrect! This appears to have caused some confusion in two related open source projects where different IDs have been used for the STM32F405. I would like to propose changing the description to try and improve the situation.

   {
        "id": "0x57755a57",
        "short_name": "STM32F4",
        "description": "ST STM32F4xx"
    },

For reference:
https://www.st.com/content/ccc/fragment/product_related/series_information/series_level_diagram/group0/6e/ab/f8/ba/9c/9a/4d/37/obn_stm32f4_series_ss1577/files/obn_stm32f4_series_ss1577.jpg/jcr:content/translations/en.obn_stm32f4_series_ss1577.jpg

@mmoskal
Copy link
Member

mmoskal commented Jul 20, 2022

Thank you, I guess this description is better.

The problem is the usage here really depends on how you build your binary. It could be that the same binary works on all STM32F4 boards, or it could be that it only works on say STM32401RE with a particular pinout.

Bootloaders are free to accept any number of IDs though!

@NathanY3G
Copy link
Author

Thank you @mmoskal for both the tweak and more information about UF2. It is appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants