2024-03-31 09:32 PM
Hi,
I'm trying to program a hex file generated with 'TrustZone disabled' software model targeting STM32H563ZIT6 (NUCLEO-h563ZI) as:
"C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe" -c port=SWD freq=4000 sn=040917021e8903bf00000000000000000000000097969906 -d C:/Users/WCarey/repositories/projects/keil/stm32h563zi/Release/Objects/ucomm_example.hex -g
This results in the error:
So, I changed the access port to 1:
"C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe" -c port=SWD freq=4000 ap=1 sn=040917021e8903bf00000000000000000000000097969906 -d C:/Users/WCarey/repositories/projects/keil/stm32h563zi/Release/Objects/ucomm_example.hex -g
Though the serial number is correct, there's a DEV_CONNECT_ERR. The hex has NOT been loaded properly because when I try to open up a serial monitor like Teraterm, I am unable to receive any data.
Can anyone point out how to load the hex file?
Thanks in advance.
NOTE: I am able to load from Keil and send/receive data from Teraterm.
Solved! Go to Solution.
2024-04-01 12:33 AM
Hello @WCarey ,
Could you please try using the latest version of STM32CubeProgrammer, v2.16.0?
Maryem.
2024-04-01 12:33 AM
Hello @WCarey ,
Could you please try using the latest version of STM32CubeProgrammer, v2.16.0?
Maryem.