Host software to use esp_apptrace_fopen()?

Hello1024
Posts: 4
Joined: Thu Apr 25, 2024 6:39 pm

Host software to use esp_apptrace_fopen()?

Postby Hello1024 » Thu Apr 25, 2024 6:47 pm

If I run

Code: Select all

esp_apptrace_fopen(ESP_APPTRACE_DEST_TRAX, "apptrace.txt", "w");
, and write some data on the target, and

Code: Select all

esp apptrace start file://testing.txt
from the openocd console, the data I wrote doesn't end up in the file on the host.

In fact, the testing.txt file ends up with the content "\0apptrace.txt\0w\0". Looking at the /components/app_trace/host_file_io.c file of IDF, it appears there is some extra two-way protocol layered on top of apptrace to manipulate files. Is there a tool somewhere that implements this protocol on the host side?

Who is online

Users browsing this forum: No registered users and 336 guests