-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Add support for the STM32H7RS #809
Comments
Similar to what I have done for #798, I've put together a minimal setup to workaround this issue and get baremetal support for the STM32H7RSxx, specifically the STM32H7S3L8 on the NUCLEO-H7S3L8. I have tested this setup with code running from the on-chip flash only ("Boot", per ST CubeMX nomenclature). I have not tried to run any code on the external flash ("Application"). I expect building and debugging might work more or less as is, but writing the application to the external flash will probably need additional changes. Since I haven't tried any of the frameworks, and I don't actually expect them to work out of the box, I'm not creating a PR. I have also not tested with any debugger other than the Nucleo on-board STLink. I expect the following will minimally be needed to make a PR here viable:
For the moment, the following steps allow baremetal development for the chip when targeting the on-chip flash using PlatformIO: Board file for Nucleo H7S3L8The
OpenOCDThe OpenOCD version provided by PlatformIO does not presently support the STM32H7RS. Based on some combination of external references and STMCubeMX generated code, I've put together an OpenOCD package for PlatformIO which works, available at https://github.com/ebs-universe/pio-tool-openocd-stm32. The openocd binary used is the binary which is shipped with STM32CubeIDE. I have not published it to the PlatformIO repository since I do not intend to maintain it once the default openOCD version supports this chip. STM32CubeSince the default
I have also placed the platformio.iniSuccessful build, program, and debug using the Nucleo on-board stlink requires the following project configuration:
|
ST has recently launched a series of scalable bootflash MCUs - STM32H7Rx/7Sx. They've also released Nucleo boards for one of the variants : NUCLEO-H7S3L8.
Would it be possible to use platformIO with these chips?
The HAL library provided by ST for these parts is
STM32H7RSxx_HAL_Driver
, and not theSTM32H7xx_HAL_Driver
used by all the older STM32H7 parts.These are bootflash chips having a small amount of on-chip flash (64k), intended to be used by a Boot firmware. The Application firmware is intended to run off of external flash, either with XIP or load-and-run. CubeMX manages this by actually creating 2 projects (or 3, if you also enable the ExtMemLoader application).
I have not yet worked out how the second firmware (Application) is programmed by CubeMX or otherwise into the external flash. I intend to just shoehorn everything I need presently into the boot application, since what I want from this chip is the raw clock speed. The approach to deal with this issue may be similar to what is done on the dual core STM32H7s, which I have not yet used.
The text was updated successfully, but these errors were encountered: