I am attempting to download a demo of FreeRTOS to an STM32 board, the Nucleo-H743ZI2, using the IAR Embedded Workbench (Arm 9.32.2). I’m working through the demo located here: /www.freertos.org/STM32H7_Dual_Core_AMP_RTOS_demo.html
I imported the project \FreeRTOS\FreeRTOS\Demo\CORTEX_M7_M4_AMP_STM32H745I_Discovery_IAR\ into IAR, and I was able to build the project successfully (The M4 core project). The instructions at the link above indicate that I should select the ST-LINK driver for debugging, and the associated settings. When I attempt to
Select “Download->Download Active Project” from the “Project” menu to program the Cortex-M4 core.
I get an error in IAR:
Fatal Error: ST-Link, no MCU device found
My Windows Device Manager does indicate that it finds a STMicroelectronics STLink Virtual COM Port successfully.
Is there some way to test that the device is present? Are there settings that I am missing?
It seems that I was incorrect when I was trying to get a suitable demo of FreeRTOS for my board. My board is a Nucleo-H743ZI2. I was trying to get the closest demo (there isn’t a demo for exactly that board), and I picked the CORTEX_M7_M4_AMP_STM32H745I_Discovery_IAR. The wrinkle here is that my board is a single core, but that demo expects a dual core - an M4 and an M7. So there wasn’t anything wrong with the toolchain. When I was getting the error that I couldn’t connect to the target, it was specifically that I couldn’t connect to the M4 core on the target. I could connect to the M7 core on the target just fine.