Systemview with ESP32
Posted: Tue Jul 11, 2017 4:37 pm
I am trying to get Systemview up and running with my ESP32 project but I am running into some issues. I am starting with the tcp_perf example. I can get the example flashed and running without Systemview. The quick summary of the problem is that it appears to run but the output file is empty.
When I type mon esp108 apptrace start testfile, I get the following output
In another MSYS32 window, I can run make monitor which starts the cpu's. I would think this would at least give me something in the Systemview file.
I can type mon esp108 apptrace status and get
And when I type mon esp108 apptrace stop, I get
I looked at the following places to get to the point that I am at.
http://espressif.com/sites/default/file ... p32_en.pdf
http://esp-idf.readthedocs.io/en/latest ... g-commands
https://media.readthedocs.org/pdf/esp-i ... sp-idf.pdf starting on page 420
Any help with this would be greatly appreciated.
When I type mon esp108 apptrace start testfile, I get the following output
Code: Select all
(gdb) mon esp108 apptrace start testfile
Start 1 app trace to testfile, size 4294967295 bytes, stop_tmo 4294967295 ms, skip 0 bytes, poll period 1 ms, wait_rst 0
stat=e00 ctrl=80
memadrstart=0 memadrend=fff traxadr=0 memsz=4000
Total trace memory: 16384 bytes
Connect targets...
esp32.cpu0: Target halted, pc=0x400D1980
esp32.cpu0: target state: halted
esp32.cpu1: Target halted, pc=0x400D1980
esp32.cpu1: target state: halted
Resume targets
Targets connected.
I can type mon esp108 apptrace status and get
Code: Select all
(gdb) mon esp108 apptrace status
Tracing is RUNNING. Size is 0 of 4294967295 @ 0.000000 KB/s
Data: blocks incomplete 0, lost bytes: 0
TRAX: block read time [1000000000.000000..0.000000] ms
Code: Select all
(gdb) mon esp108 apptrace stop
Disconnect targets...
esp32.cpu1: Target halted, pc=0x400D18D3
esp32.cpu1: target state: halted
Resume targets
Targets disconnected.
Tracing is STOPPED. Size is 0 of 4294967295 @ 0.000000 KB/s
Data: blocks incomplete 0, lost bytes: 0
TRAX: block read time [1000000000.000000..0.000000] ms
http://espressif.com/sites/default/file ... p32_en.pdf
http://esp-idf.readthedocs.io/en/latest ... g-commands
https://media.readthedocs.org/pdf/esp-i ... sp-idf.pdf starting on page 420
Any help with this would be greatly appreciated.