2021-05-31 10:33 AM
Hi community,
I'm trying to launch an ANN on this discovery board.
I build and programm both CM without error.
However I'm not able to debug CM4 and have this error :
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61238
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
Failed to read ROM table via AP 3
Error in initializing ST-LINK device.
Reason: Unknown. Please check power and cabling to target.
I configure project environment as decribe on AN5361.
I've no more ideas, if someone have it...
BR,
Benjamin
2021-05-31 11:17 AM
Hello @Community member ,
Please try to connect under reset.
If this doesn’t help, I advise you to check the article: Unable to connect to STM32H7 devices.
Please mark my answer as best by clicking on the "Select as Best" button if it helped. This will help other users find that answer faster.
Imen
2021-05-31 12:23 PM
Hi Imen,
Thanks you for your tips.
Problems appears when I try to debug CM4, I can access to CM7 debug and STLink leds blinking.
HAL_PWREx_ConfigSupply(PWR_DIRECT_SMPS_SUPPLY) is correctly configured by CubeMX.
I try with others small projects and same behavior.
I think about a mistake on Debug / Run configuration...
I can share my project or configuration if needed.
BR
Benjamin
2021-06-03 12:21 PM
Hi,
After few tests i'm able to :
So maybe I brick M4 access port (ap3) or STlink ?
CubeProgrammer and CubeIDE can't access to M4 through ap3...
I will appreciate a support from STemployee if possible... or someone else who meet this situation.
BR
Benjamin
2021-06-03 01:21 PM
2021-06-03 01:22 PM
2021-06-06 10:41 AM
Hi,
Anyone may help us ?
I didn't understance how we can brick a processor through debug acces without any changes on CubeMX configuration (supplied by ST)...
BR
2023-01-23 07:38 AM
Hello, I had the same issue today for the first time. The link to the article is void for me.
Could you help me to fix it?
Thank you
Bertrand
2023-06-22 07:44 AM
Hi, did you select "Halt all cores" in the debug configuration of the M7 ?
2023-08-18 06:50 AM