cancel
Showing results for 
Search instead for 
Did you mean: 

Custom board (stm32mp1) JTAG connecting issue

asadullah4571
Senior

Hi
In my custom board (stm32mp157F) i added the JTAG , i try to connect JTAG for flashing the firmware into the M4 processor, i change the boot pins as Engineering mode, but not connected to cub programmer as well as cube IDE.

i attached the screenshot of the Schematic diagram of JTAG. 
please let me know where i am missing.

asadullah4571_0-1728377155069.pngasadullah4571_1-1728377186695.png

 


 

1 REPLY 1
PatrickF
ST Employee

Hi @asadullah4571 ,

On STM32MPx MPUs products, unlike STM32 MCUs, the JTAG/SWD cannot be used for flashing.

Only USB or UART could be used with CubeProgrammer.

Furthermore, note that there is no embedded Flash and Cortex-M4 only run from internal SRAMs loaded by Cortex-A7 (uBoot or Linux) during runtime.

JTAG/SWD is only used for debug purpose. CubeIDE could be used to debug Cortex-M4 FW in either production mode (i.e. Linux up and running) or development boot (aka Engineering boot).
https://wiki.st.com/stm32mpu/wiki/STM32CubeIDE#Arm-C2-AE_Cortex-C2-AE-M_debug_on_STM32_MPU_device

 

Regards.

 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Tip of the day: Try Sidekick STM32 AI agent, see here