2021-10-26 07:38 AM
I am using Serial Wire Debug (SWD) to trace some debug information while using the STM32WB55CGU6U MCU. Based on UM2609, the default maximum size of the SWV trace buffer on a PC = 2,000,000 packets. This buffer is stored in the heap of the STM32CubeIDE. Both parameters can be increased and I have no problem with that. However, in UM2609, I have not found the definition for the SWV packet. What is the size of this packet? What is the maximum size of the user data that can be fit into one packet?