To effectively record large Trace Recording Data (TRD) files via winIDEA Analyzer you must understand potential causes and their solutions. Below, we outline these challenges and provide solutions.
Trace data is captured by an on-chip trace engine, which stores it in an on-chip buffer or streams it through a trace port to the debugger. Trace Recording Data (TRD) files store this raw trace data, enabling the analysis of a system's behavior during runtime.
The internal trace engine may capture data at speeds of 150 MB/s, but if the external interface can only handle 30 MB/s, the internal FIFO will eventually overflow, halting the tracing process. Data transferred to the debugger via parallel trace lines or a high-speed Aurora interface is stored in the debugger's main memory and then retransmitted over Ethernet or a fast USB interface.
On a modern PC, the debugger can transmit data via a USB 3.0 interface at more than 400 MB/s. The PC stores this data in memory before writing it to disk. If the disk cannot keep up with sustained high speeds (e.g., a slow mechanical drive), winIDEA will report an error. High-speed NVMe drives are recommended.
Follow these recommendations to minimize errors and bottlenecks.
Record only the data required to catch a rare event or confirm access.
For example, avoid recording a 100 GB file if the event of interest occurs in 100 µs and can be captured using a proper trace trigger or qualifier.