make monitor equivalent using jtag with ESP32

salomonreinach
Posts: 18
Joined: Tue Jan 08, 2019 11:57 am

make monitor equivalent using jtag with ESP32

Postby salomonreinach » Thu Feb 07, 2019 8:49 am

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 :)
Last edited by salomonreinach on Fri Mar 08, 2019 11:24 am, edited 2 times in total.

User avatar
krzychb
Posts: 232
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: make monitor equivalent using jtag with ESP32

Postby krzychb » Thu Feb 07, 2019 11:09 am

Hi salomonreinach,

Hello again :D

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

ESP_igrr
Posts: 1515
Joined: Tue Dec 01, 2015 8:37 am

Re: make monitor equivalent using jtag with ESP32

Postby ESP_igrr » Thu Feb 07, 2019 11:28 am

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.

salomonreinach
Posts: 18
Joined: Tue Jan 08, 2019 11:57 am

Re: make monitor equivalent using jtag with ESP32

Postby salomonreinach » Fri Feb 08, 2019 4:25 pm

Ok, thank you for your different answers and advice :)

Who is online

Users browsing this forum: Baidu [Spider] and 26 guests