2023-09-13 10:54 PM
Hi, I come across debug mode using stm32 IDE and i would like to know whats the difference between serial wire and Trace Asynchonous sw? I know both are use when debuging the Nucleo144 board. And if u wana use a IC chip which mode should i use? JTAG mode? JTAG with Syno ? i m reading AN4989 and its not talking much about this. Can anyone kindly advise?
Solved! Go to Solution.
2023-09-14 02:52 AM
When selecting JTAG with Trace Synchro with 1bit, 2bit or 4bit, a corresponding number of TRACED pins are reserved. As said, the option to select depends on the debugger used, in your case obviously a JTAG debugger.
By the way, there is no STM32H750IBTH, you must mean STM32H750IBT6?
2023-09-13 11:23 PM
With Trace Asynchonous sw, the ITM and the associated pin SWO are used, with which trace data can be obtained with suitable deguggers (see AN4989, section 2.1.3). The Serial Wire (SWD) setting, on the other hand, only uses the SWCLK and SWDIO pins.
Hope that helps?
Regards
/Peter
2023-09-14 12:59 AM
Ok i see, both Trace Asyn SW and Serial Wire is for debugging NUCLEO board, what if i wana debug an IC chip like STM32H750IBTH ? Which option should i choose? and what about the JTAG with Syno mode ?
2023-09-14 01:23 AM
No, Trace Asyn SW and Serial Wire are not limited to NUCLEO boards, but are alternative debugging functions of many STM32. Which of the two you use in the concrete case depends on your requirements for Trace and the debugger used.
What do you mean with JTAG Syno?
2023-09-14 01:36 AM
I mean if i have a custom design board with STM32H750IBTH IC which mode should chosse then? Enclosed JTAG Syno SW
2023-09-14 02:52 AM
When selecting JTAG with Trace Synchro with 1bit, 2bit or 4bit, a corresponding number of TRACED pins are reserved. As said, the option to select depends on the debugger used, in your case obviously a JTAG debugger.
By the way, there is no STM32H750IBTH, you must mean STM32H750IBT6?
2023-09-14 05:37 PM
yes STM32H750IBT6.
2023-09-14 11:51 PM
If the problem is solved, please click Accept as Solution. This will help other users find that answer faster.
Good luck!
/Peter