Skip to content

Traxcope 2.3.0

Choose a tag to compare

@Embedya Embedya released this 16 Nov 07:55

Bundles TraxProbe SDK 2.3.0 (wire protocol 3.3). Update the SDK together with Traxcope: copy the new SDK into your project and rebuild your firmware when you install Traxcope 2.3.0. Items marked (SDK) need the new SDK.

Upgrading from SDK 2.2.0

Two things to check:

SDK 2.2.0 SDK 2.3.0
TRAX_CFG_ISR_YIELD_TO_SCHEDULER in trax_config.h Delete the line: every ISR exit is traced now. Left in, the build stops with an #error that says so
An RTOS with TRAX_TIMESTAMP_TICK_TIMER on the RTOS tick (SysTick) The RTOS tick no longer advances the trace time. Use TRAX_TIMESTAMP_FREERUN (DWT on Cortex-M3/M4/M7, or a 32-bit timer), or give TraxProbe a timer of its own at the highest interrupt priority whose interrupt calls trax_timestamp_tick(). The FreeRTOS and ThreadX templates show both. This one still builds: Traxcope shows "no tick" on the probe card and the time stands still until it is fixed

Added

  • Requirement verification (Verification add-on, Professional). Write what the software must do as rules on the trace and let Traxcope judge them: duration, response and deadline, event chain with a limit per link, period, precedence, absence, lock, CPU load, CPU time of a job, stack, heap and queue. Each requirement gets a verdict (PASS, FAIL, NOT EXERCISED, INCONCLUSIVE, NOT TESTABLE) with the measured numbers, the worst instances and the distribution. A system requirement is judged through the software requirements derived from it.
    • Requirements page: the list with levels and verdicts, an editor with a form for every rule type (events picked from the trace), and a live verification session on a running probe. Click a worst or violating instance to see it marked in the Trace View; a requirement's path is highlighted in the Comm Map.
    • Reports: HTML, PDF and JUnit. Traxcope --verify judges a recording from the command line, for CI.
    • Traceability: import system requirements from CSV or ReqIF (export too); a re-import marks what changed as suspect. Review state Draft → Reviewed → Approved, run history and comparison between runs.
    • How much evidence is enough: a hard rule can state how rare a violation must be shown to be, at a confidence you choose; the verdict says how many instances that takes.
    • Several probes: one requirement can span two probes on a common clock; the verdict carries the sync uncertainty.
  • On-target duration monitors (SDK). TRAX_MONITOR_DEFINE / BEGIN / END / LAP: the target measures an interval itself and keeps counters, so every instance counts even when the trace is switched off or loses data. Verification rules can judge a monitor.
  • ThreadX port (SDK). Task switches, thread states, queues, semaphores, mutexes with priority inheritance, event flags, stacks and byte-pool heap. See os/ThreadX/README.md.
  • Live Watch values in the Scope. Drag a Live Watch row onto a Scope to plot a firmware variable that the firmware does not send: Traxcope reads it from the target some tens of times a second. The channel is recorded and comes back with the workspace. For a fast signal, send it with TRAX_VAR.
  • TraxAI. Adds the TraxProbe SDK to a project written without it (FreeRTOS or ThreadX), derives software requirements and their rules from your system requirements, runs the verification engine and explains a failure on the trace.
  • A warning when the device runs another build than the probe's ELF, on the probe card. Names, lanes and source lines would otherwise be the ELF's, not the device's.
  • A recording carries its ELF and source folders, so opening it later shows the right names and lines.
  • The timestamp no longer depends on the RTOS tick (SDK). TraxProbe finds its timer by the first tick and reports at each session start when the timer's interrupt is not at the highest priority.
  • Every ISR exit is traced (SDK), also for an interrupt that wakes a task. An interrupt cut by a higher-priority one is counted as one call.
  • Trace View: drag inside a selected time span to move in time, Ctrl+drag to move the span, Esc to clear it. Event cards wrap to the next row when their text would be cut.
  • Event View and Log View: columns fit what the table shows; right-click the header for "Fit this column".
  • Multi-probe sync: every view is on the common clock, not only Trace, Log and Event.

Fixed

  • Stop: a host Stop during a ring overflow could turn streaming back on (SDK); a Stop the target did not answer left the probe streaming.
  • Trace View: a stall on a dense live trace with many gaps, zoomed out; in review, a state machine's state at the left edge of the window was not drawn.
  • Crash: a rare crash when a view read a store while it was written (seen on a double-click on a probe card).
  • Verification of data loss: nothing inside a trace gap reaches the rules, and nothing is paired across one.
  • Comm Map: interrupts that are not traced are said to be not traced, and no longer drawn as an "(untraced)" interrupt. Switching trace groups off and on is shown.
  • Live Watch: a static named with its file, such as s_temp_c@heater.c, now resolves.
  • Memory view: the Idle task's stack is shown.
  • Zynq (SDK): under FreeRTOS the tick goes on a TTC; the private timer as tick timer is for bare metal.
  • Logging: logging_config.json is read beside the executable, not from the working directory.

Known issues

  • A log ID used at several call sites with different formats shows every line with one of those formats.
  • Linux: without perf permission the CPU lanes stay empty; the session says why.

Downloads

File For
Traxcope-2.3.0-Setup.exe Windows 10/11, 64-bit (signed by Embedya)
traxcope_2.3.0_amd64.deb Ubuntu 22.04+ / Debian 12+
Traxcope-2.3.0-linux-x86_64.run Any x86_64 Linux with glibc 2.35 or newer (self-extracting installer)
Traxcope-2.3.0-linux-x86_64.tar.gz Portable Linux build

SHA-256 checksums are in SHA256SUMS-2.3.0.txt. To verify, run sha256sum -c SHA256SUMS-2.3.0.txt on Linux, or Get-FileHash <file> in PowerShell.