NUCLEO-H7A3ZI-Q Code loads but does not run

Post here first, or if you can't find a relevant section!
fpiSTM
Posts: 1920
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 107
Location: Le Mans
Contact:

Re: NUCLEO-H7A3ZI-Q Code loads but does not run

Post by fpiSTM »

Hard to tell.
Could your share your changes. Ideally on GitHub.

Are you using git repo?
fpiSTM
Posts: 1920
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 107
Location: Le Mans
Contact:

Re: NUCLEO-H7A3ZI-Q Code loads but does not run

Post by fpiSTM »

I've track down the first issue with the build.
The gerated product line is not correct:

Code: Select all

- GenH7.menu.pnum.GENERIC_H7A3ZITXQ.build.product_line=STM32H7A3xx
+ GenH7.menu.pnum.GENERIC_H7A3ZITXQ.build.product_line=STM32H7A3xxQ
Like this no need to defined the PWR_DIRECT_SMPS_SUPPLY as it is properly defined as SMPS is defined.

I will fix the script generating this line
fpiSTM
Posts: 1920
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 107
Location: Le Mans
Contact:

Re: NUCLEO-H7A3ZI-Q Code loads but does not run

Post by fpiSTM »

@byquip
Please, could you file an issue on GitHub?
byquip
Posts: 11
Joined: Thu Jan 09, 2025 10:50 am

Re: NUCLEO-H7A3ZI-Q Code loads but does not run

Post by byquip »

@fpiSTM
thank you for response,
I will do the tests and report the issue
fpiSTM
Posts: 1920
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 107
Location: Le Mans
Contact:

Re: NUCLEO-H7A3ZI-Q Code loads but does not run

Post by fpiSTM »

@byquip
Your last issue is the RAM size in the boards.txt:

Code: Select all

- maximum_data_size=1458176
+ maximum_data_size=1048576
1458176 is the total but in the ldscript RAM is 1024k.
byquip
Posts: 11
Joined: Thu Jan 09, 2025 10:50 am

Re: NUCLEO-H7A3ZI-Q Code loads but does not run

Post by byquip »

fpiSTM wrote: Mon Jan 13, 2025 1:38 pm

Code: Select all

- maximum_data_size=1458176
+ maximum_data_size=1048576
changed but same problem, after upload no reaction.
fpiSTM
Posts: 1920
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 107
Location: Le Mans
Contact:

Re: NUCLEO-H7A3ZI-Q Code loads but does not run

Post by fpiSTM »

I've tested and blink works.

Here my branch with the generic:
https://github.com/fpistm/Arduino_Core_ ... o_H7A3ZI_Q
byquip
Posts: 11
Joined: Thu Jan 09, 2025 10:50 am

Re: NUCLEO-H7A3ZI-Q Code loads but does not run

Post by byquip »

I did several tests and both yours and mine branches works.
I just realized that LED_BUILTIN is PNUM_NOT_DEFINED and not PB0.
Thank you for support
fpiSTM
Posts: 1920
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 107
Location: Le Mans
Contact:

Re: NUCLEO-H7A3ZI-Q Code loads but does not run

Post by fpiSTM »

Welcome. Thank for the issue raised, I will fix it.
Post Reply

Return to “General discussion”