Hi All,
Just wanted to share this, in case anyone out there was working on an STM32H7xx (or similar) project, and was looking to switch over to SES.
(I know Segger has mentioned they are still working on their IAR to SES import flow (as well as adding a CubeMx type import).)
The IAR<->SES import currently works for the basic project properties, etc, but you will still need to fix some things up manually, and I found some of the files from their 'Nucleo eval board' example code merged with some of their STM32H7 'package' brought it all together.
1) STM32 startup asm of course needs to use SES startup, and not IAR startup assembly files.
(ie you'll need to use:
a) STM32H7xx_Startup.s --> bootup code out of reset
b) STM32H7x3_Vectors.s --> Interrupt Vectors
c) thumb_crt0.s --> final stage up bootup that calls into application 'main'
2) Needed to switch the 'linker' to use GNU instead of SEGGER (SEGGER mostly compiled, but there were two missing imports related to SEGGER init stuff)
3) Also I think I recall in the 'Code Generation' the 'ARM Architecture' & 'ARM Core Type' may have been off, and needed to be changed to 'v7EM', and 'Cortex-M7',
(just make sure these are set correctly)
4) Updated the 'STM32H743xx_MemoryMap.xml' & 'STM32H743xx_FlashPlacement.xml' to add all SRAM regions in the STM32H743, and set the default location for stack/heap to the AXISRAM.
Everything is building correctly now, debugging is great, entire project is working perfect. I have to say SES is just so much better to use than IAR, and I've been using IAR for the last 2+ years. The build is much faster, much more informative as far as size of final output, memory usage, etc. It's also much faster, cleaner, and just looks better!
Hopefully SEGGER will indeed add that 'Dark Theme' sometime in a future release to make the entire GUI be 'dark theme' (and not just the code window), ie like Visual Studio does. It really does help the eyes.
Attached is the STARTUP & Section/Memory files for the STM32H7xx...
Just wanted to share this, in case anyone out there was working on an STM32H7xx (or similar) project, and was looking to switch over to SES.
(I know Segger has mentioned they are still working on their IAR to SES import flow (as well as adding a CubeMx type import).)
The IAR<->SES import currently works for the basic project properties, etc, but you will still need to fix some things up manually, and I found some of the files from their 'Nucleo eval board' example code merged with some of their STM32H7 'package' brought it all together.
1) STM32 startup asm of course needs to use SES startup, and not IAR startup assembly files.
(ie you'll need to use:
a) STM32H7xx_Startup.s --> bootup code out of reset
b) STM32H7x3_Vectors.s --> Interrupt Vectors
c) thumb_crt0.s --> final stage up bootup that calls into application 'main'
2) Needed to switch the 'linker' to use GNU instead of SEGGER (SEGGER mostly compiled, but there were two missing imports related to SEGGER init stuff)
3) Also I think I recall in the 'Code Generation' the 'ARM Architecture' & 'ARM Core Type' may have been off, and needed to be changed to 'v7EM', and 'Cortex-M7',
(just make sure these are set correctly)
4) Updated the 'STM32H743xx_MemoryMap.xml' & 'STM32H743xx_FlashPlacement.xml' to add all SRAM regions in the STM32H743, and set the default location for stack/heap to the AXISRAM.
Everything is building correctly now, debugging is great, entire project is working perfect. I have to say SES is just so much better to use than IAR, and I've been using IAR for the last 2+ years. The build is much faster, much more informative as far as size of final output, memory usage, etc. It's also much faster, cleaner, and just looks better!
Hopefully SEGGER will indeed add that 'Dark Theme' sometime in a future release to make the entire GUI be 'dark theme' (and not just the code window), ie like Visual Studio does. It really does help the eyes.
Attached is the STARTUP & Section/Memory files for the STM32H7xx...
The post was edited 1 time, last by MikeFlyersFan ().