2024-05-27 01:56 AM - edited 2024-05-27 03:14 AM
Hello, I am in the process of planning and testing the STM32mp13 Line.
We have equipped our project board with the STM32mp13 CPU, but we encountered an issue when trying to connect it via St-link; it did not establish a connection.
The St-Link version we are using is V2.
Could you please provide a response?
SL1
Solved! Go to Solution.
2024-05-27 11:16 PM
Hi @SL1
you can debug the STM32MP1x family using ST-Link V2.
https://wiki.st.com/stm32mpu/wiki/STM32MP1_Platform_trace_and_debug_environment_overview
But you can't connect to STM32MP1 using CubeProgrammer with SWD/JTAG.
Flashing of MPU products must be done using USB (OTG port for STM32MP1 family).
https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer
Regards.
2024-05-27 02:42 AM
I've translated your question using a web based translator:
Hi, I am in the process of planning and testing the STM32mp13 Line.
I have mounted an STM32mp13 CPU on my project board, but when I tried to connect it via St-link, I encountered a problem and it wouldn't connect.
The St-Link version we are using is V2.
Can you give me an answer?
Please provide photos of your ST-LINK/V2 from the rear and front.
Regards
/Peter
2024-05-27 03:20 AM
Thank you for your response.
Due to an issue with the browser I was using, the language was incorrectly recorded, so I have corrected it to English.
The photo below shows what I have
Regards
SL1
2024-05-27 03:58 AM
Such connection problems have often been discussed here in the community and in most cases this is due to cheap but unsupported clones from unauthorised dealers. Your ST-LINK/V2 is most likely an illegal clone with a fake STM32F103 and is therefore not recognised as a valid debug tool (see also this Knowledge Base article).
Before you now unscrew your ST-LINK/V2 to check it, you can check it e.g. with the STM32CubeProgrammer:
However, if the serial number already shows implausible values, e.g. only one letter, it is definitely a fake.
If in doubt, you should actually unscrew the ST-LINK/V2 (two screws under the sticker on the back) and check what kind of MCU is installed. You can find more information here, for example.
Regards
/Peter
2024-05-27 06:05 PM
Upon checking, the serial number appears to be a single digit (Programmer).
Since the case and appearance are identical, I thought it was a genuine product.
Therefore, I searched for a genuine product and attempted to connect it, but the connection failed
We are using the MP131FAE7 CPU and have set up the debug line as follows
PF14 : SWCLK
PF15 : SWDIO
PH4 : SWO
NJTRST, NRST
We have connected NJTRST and NRST according to the CPU pins.
Could you please provide a solution to this issue?
Additionally, Is it possible to debug this CPU with the V2 version?
2024-05-27 11:16 PM
Hi @SL1
you can debug the STM32MP1x family using ST-Link V2.
https://wiki.st.com/stm32mpu/wiki/STM32MP1_Platform_trace_and_debug_environment_overview
But you can't connect to STM32MP1 using CubeProgrammer with SWD/JTAG.
Flashing of MPU products must be done using USB (OTG port for STM32MP1 family).
https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer
Regards.