2024-12-19 03:40 PM
I have a NUCLEO-H7S3L8 board, and I am unable to debug any of the projects. I receive a sigtrap error upon debugging. I have tried multiple projects in ST's Github.
STM32CubeH7RS/Projects/NUCLEO-H7S3L8 at main · STMicroelectronics/STM32CubeH7RS
All projects have the same issue.
After further investigation, we have determined that the default start address for the application is incorrect.
If I make a fresh project and select the chip itself rather than the eval board during project setup, I am able to debug.
Is this a known issue with this NUCLEO board?
Is there a way to change the address so we can explore the example projects?
Is there an alternative NUCLEO board that is not in the R/S family that I should explore instead?
Thanks
2024-12-19 06:08 PM
> Is there a way to change the address so we can explore the example projects?
Yes, in the debug configuration.
2024-12-20 05:27 AM
Hello,
Did you read the README.md file? especially the part: "How to use it ?"?
2024-12-20 10:44 AM
Thank you both for your responses. I walked through the instructions on the readme and was still struggling to get the project to flash. With some more forum surfing, I did find this instruction helpful.
STM32CubeIDE: How to debug an STM32H7Rx/Sx project... - STMicroelectronics Community
Just needed more visuals trying to navigate CubeIDE. Thanks. I previously used the H5 eval and must of been spoiled by how quick it was to get these running. The H7S series seem to have configuration steps than I was expecting.
2024-12-20 02:18 PM
I have followed the instructions in the readme, and I am still unable to debug/flash my nucleo board. Could you please advise to what step I may be overlooking or any settings that are incorrect? Thanks
2024-12-20 03:32 PM
@potatobandit On your 3rd screenshot please note the "Start Address" box. This allows you to specify the start address. Probably you want to start running from the bootloader in internal flash (0x08000000).
2024-12-20 04:24 PM
I updated the Start Address for "vector table" to be 0x08000000, same issue. The application's .map shows the _FLASH_BEGIN is set to 0x70000000. I tried using that value as well, as that aligns with image in the ST Forum example. This address however cannot be read.
2024-12-20 04:48 PM
I am just trying to prove that I can run a basic demo project with this eval board to determine if we want to develop our project with this chip.
I have cloned the ST Repo for the STMH7RS, performed the Debug Configuration, as the README has specified, then attempted to debug/flash the NUCLEO board. I either gets errors that the elf cannot be loaded or that the memory address cannot be accessed. I've tried these steps on multiple example projects in this repo.
Does ST have any other configuration or documentation that includes any other additional steps that may be needed to get a basic GPIO toggle project running on the NUCLEO-H7S3L8?
2024-12-21 04:11 PM
> I either gets errors that the elf cannot be loaded
Do you still have this error?
2024-12-24 03:14 AM
Hello @potatobandit ,
Did you erase the internal Flash? in that case did you Upload Boot_XIP.hex file located under Projects\NUCLEO-H7S3L8\Templates\Template_XIP\Binary?
You need to Flash that hex file the boot part of the application executed from the internal Flash which configure the external memory interface and then handover the execution of the application to the CPU (execution from the external memory.)