How to integrate the secure boot expansion package into CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-23 7:51 PM
I have the secure boot expansion package and I can't find any documentation at all that details how it integrates into CubeMX and how to install it. This is the expansion package:
https://www.st.com/en/embedded-software/x-cube-sbsfu.html
Thanks in advance for any help!
- Labels:
-
STM32CubeMX
-
X-Cube-SBSFU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-23 8:42 PM
I suspect the "Cube" naming is deceptive. In most cases you need to merge HAL code into the expansion packages.
CubeMX is a boiler-plate code generator
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-04 7:00 PM
STM32CubeMX V5.01 can't prepare an IOC with a project organisation like what's used in X-CUBE-SBSFU "expansion package". ST have a mandate to fix it because their documents say it must do it:
- UM2312: packaging criteria C.P1, description "The Expansion Package shall have the same repository hierarchy as the STM32Cube MCU Package.", Importance Mandatory. This is failed.
- UM2285: "In an STM32Cube Expansion Package, examples shall be developed using the STM32CubeMX tool", The STM32CubeMX tool shall be used to configure the STM32 device and board, and generate the corresponding initialization code" and "The associated *.ioc file shall be available at the example root". These requirements are broken.
The bugs in STM32CubeMX are
- In the Project Manager screen, the Toolchain/IDE location field can't be configured. It needs to be able to point to the root of the X-CUBE_SBSFU software.
- If you edit the .ioc by hand to change the toolchain location to "../../../../../", STM32CubeMX displays the <project-dir>../../../../../ correctly, but it quietly won't generate any code.
Regards
Alister
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-17 1:41 PM
It would be nice to have someone from ST comment on when this will be "fixed" in the X-CUBE-SBSFU offering. The X-CUBE-SBSFU is certainly an interesting package. I noticed as well, there is no security testing of the security because this is a reference design only. Hence, I wonder if anyone has more information on that subject?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-11 11:30 AM
I am also unable to install the X-CUBE-SBSFU expansion package into the latest version of STM32CubeMX, 5.1.0.
If I:
- click the "INSTALL/REMOVE" button under the "Install or remove embedded software packages" label,
- then click the STMicroelectronics tab (where the other X-CUBE packages are listed),
- then click the "From Local ..." button,
- then select en.x-cube-sbsfu.zip,
I get the following error:
This Package version is not managed on this version of STM32CubeMX.
