Hi, I would like to know if there is an other way than using make monitor to print messages from the code (for example the "Hello world")
Because as I understood I can't use make monitor using JTAG but only using serial interface with TXD and RXD pin.
Thank you if you have an answer or if you know a way to print the messages from my code
make monitor equivalent using jtag with ESP32
-
- Posts: 18
- Joined: Tue Jan 08, 2019 11:57 am
make monitor equivalent using jtag with ESP32
Last edited by salomonreinach on Fri Mar 08, 2019 11:24 am, edited 2 times in total.
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: make monitor equivalent using jtag with ESP32
Hi salomonreinach,
Hello again
I like you managed to load ESP32 with JTAG without even touching a much simpler way to load it over a serial port.
As you prefer to stick to JTAG, there is also a method for ESP32 monitoring without a serial.
To go straight to it check documentation under https://docs.espressif.com/projects/esp ... ng-to-host and example under https://github.com/espressif/esp-idf/tr ... ce_to_host.
I think you may find interesting also the rest of documentation under https://docs.espressif.com/projects/esp ... ng-library
Hello again
I like you managed to load ESP32 with JTAG without even touching a much simpler way to load it over a serial port.
As you prefer to stick to JTAG, there is also a method for ESP32 monitoring without a serial.
To go straight to it check documentation under https://docs.espressif.com/projects/esp ... ng-to-host and example under https://github.com/espressif/esp-idf/tr ... ce_to_host.
I think you may find interesting also the rest of documentation under https://docs.espressif.com/projects/esp ... ng-library
Re: make monitor equivalent using jtag with ESP32
Also to note, we are working on semihosting support in IDF and OpenOCD, which will eventually allow redirecting console and file I/O to the host in a way mostly transparent to the application. This feature is expected to be merged into IDF and OpenOCD in February.
Something that is not possible yet (and will not be possible using semihosting) is sending bootloader output to the host over JTAG. We are tracking this feature as well. Some approaches which will allow intercepting bootloader output are being investigated, but there is no timeline for the full implementation at the moment.
Something that is not possible yet (and will not be possible using semihosting) is sending bootloader output to the host over JTAG. We are tracking this feature as well. Some approaches which will allow intercepting bootloader output are being investigated, but there is no timeline for the full implementation at the moment.
-
- Posts: 18
- Joined: Tue Jan 08, 2019 11:57 am
Re: make monitor equivalent using jtag with ESP32
Ok, thank you for your different answers and advice
Who is online
Users browsing this forum: Baidu [Spider] and 140 guests