Host software to use esp_apptrace_fopen()?
Posted: Thu Apr 25, 2024 6:47 pm
If I run , and write some data on the target, and 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?
Code: Select all
esp_apptrace_fopen(ESP_APPTRACE_DEST_TRAX, "apptrace.txt", "w");
Code: Select all
esp apptrace start file://testing.txt
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?