Download Print this page

ST STM32F301 6 Series Reference Manual page 859

Advanced arm-based 32-bit mcus

Advertisement

RM0366
This register is mapped on the external PPB and is reset by the PORESET (and not by the
SYSTEM reset). It can be written by the debugger under SYSTEM reset.
DBGMCU_CR
TRACE_IOEN
0
1
1. When Serial Wire mode is used, it is released. But when JTAG is used, it is assigned to JTDO.
The debugger must then program the Trace Mode by writing the PROTOCOL[1:0] bits in the
SPP_R (Selected Pin Protocol) register of the TPIU.
PROTOCOL=01 or 10: Serial Wire (Manchester or NRZ) Mode (asynchronous mode).
Default state is 01
28.15.7
TPUI formatter
The formatter protocol outputs data in 16-byte frames:
seven bytes of data
eight bytes of mixed-use bytes consisting of:
one byte of auxiliary bits where each bit corresponds to one of the eight mixed-use
bytes:
Note:
Refer to the Arm
information
Table 125. Flexible TRACE pin assignment
register
TRACE_MODE
[1:0]
XX
00
1 bit (LSB) to indicate it is a DATA byte ('0) or an ID byte ('1).
7 bits (MSB) which can be data or change of source ID trace.
if the corresponding byte was a data, this bit gives bit0 of the data.
if the corresponding byte was an ID change, this bit indicates when that ID change
takes effect.
®
CoreSight Architecture Specification v1.0 (Arm
Pin assigned for:
No trace (default state)
Asynchronous trace
RM0366 Rev 5
Debug support (DBG)
PB3 / JTDO/ TRACESWO
(1)
Released
TRACESWO
®
IHI 0029B) for further
859/874
863

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32F301 6 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f301 8 seriesStm32f318 8 series