Skip to the content.

Transports and Custom Writers

Contents

Choose a path that can carry the encoded bytes without changing their order. The UM firmware outline introduces the basic writer; integration recipes specify the configuration.

Path Typical use Details
UART / USB virtual COM Standalone serial connection, often deferred output. UART recipe.
RTT Probe access to target memory. RTT configuration and tools.
Existing writer or file Application transmit queue, SD-card recording, custom transport. Writer requirements below.

1. Other byte transports

A very performant output path is RTT, if your MCU supports background memory access like the ARM-M ones.

Because the Trice tool needs only to receive, a single target UART-TX pin will do. But it is also possible to use a GPIO-Pin for Trice messages without occupying a UART resource.

2. Custom writers and SD-card recording

Related issues/discussions: #253 #405 #425 #447 #537