For my project I am currently using the ESP32-WROOM-32UE device and a jlink adapter for JTAG flashing and debugging. Is there a way to send a command through a command window via JTAG that is similar to UART? For example, to read information received via UART, we can use the function:
- uart_read_bytes(uart_num, buf, length, ticks_to_wait);
- while(receivingJtagCommand){
- jtagCommand = jtag_read_bytes(ECHO_JTAG_PORT, data, (BUF_SIZE - 1), 20 / portTICK_PERIOD_MS);
- if(jtagCommand == "Hello"){
- runSpecialTask();
- break;
- }
- }