2020-09-17 03:12 AM
I'm trying to connect the MP157c-DK2 board in Engineering board. The st link is connected on the CN11 connector.
On the st link utility it says detection failed and does not recognize the device.
2020-09-17 07:01 AM
Hi @SMang.1
STLink Utility is a deprecated tool which does not support STM32MP1.
STM32MP1 can be program with STM32CubeProgrammer using USB ( not ST-LINK)
For Engineering mode please use STM32CubeiDE.
Please have a look to :
https://wiki.st.com/stm32mpu/wiki/Getting_started
2020-09-22 04:12 AM
Thanks for the reply.
Can you also let me know something about the IAR workbench support for the M4 core for downloading and debugging the code.
2020-09-22 05:27 AM
Hi @SMang.1 ,
Yes IAR support STM32MP1 device.
We already deliver few exemples of application project for IAR/EWARM in Cube Firmware package.
For sure engineering mode is supported.
For production mode I suspect you need to manage to start Linux and load M4 firmware prior to attach with IAR.
I don't find any useful resource for usage of IAR on MP1 sorry.
Olivier
2020-09-22 05:33 AM
Thanks, i do see that IAR support STM32MP1 device for m4 core in engineering mode.
but i am facing an issue where the st link is not detected by IAR either.
Any help here would be very useful.
FAILED TO READ CPUID FOR CORTEX DEVICE
2020-09-22 05:46 AM
Hi @SMang.1
I guess/hope this post can give you come clue :
https://community.st.com/s/question/0D53W000002h7vMSAQ/iar-and-engineering-mode
Olivier
2020-09-23 03:18 AM
Thanks for the post link,
but my problem seems to exist still.
I am able to download and debug the code using stm32cube IDE but for IAR, No st link is detected.
I am not sure what i am missing here.
The error says, NO ST LINK Detected
@Led @Nawres GHARBI Any help would be appreciated.
2020-09-24 03:19 AM
Is the ST-Link detected by IAR at all (for other processors)? As you seem to have IAR license, you could also ask IAR support. Maybe a FW version problem between IAR and the ST-Link. For me, issues of not detecting the ST-Link was either a version incompatibility or missing power supply on the target.
2020-09-24 08:20 AM
Yes, St link is detected for other controllers like STM32F429, STM32WB55.
2020-09-25 02:31 AM
Maybe check your STLink FW version (e.g. using STM32_Programmer_CLI.exe -l) and check with IAR.