2024-10-08 01:48 AM - edited 2024-10-08 01:49 AM
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.
2024-10-08 01:58 AM
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.