Page 1 of 1

Korvo-2 debugging

Posted: Mon Jul 03, 2023 8:55 pm
by mfawzy79
I'm trying to debug the Korvo-2 V3 board but I'm getting the below error error
Screenshot 2023-07-03 234549.png
Screenshot 2023-07-03 234549.png (48.41 KiB) Viewed 1495 times
also when I checked the device manager I saw the driver
Screenshot 2023-07-03 234306.png
Screenshot 2023-07-03 234306.png (38.54 KiB) Viewed 1495 times
so why Am I getting this error "Error: esp_usb_jtag: could not find or open device!"

I know that it maby be an issue with the driver but I don't know how to be fixed!

Please advise!

Thanks,

Re: Korvo-2 debugging

Posted: Tue Jul 04, 2023 1:42 am
by ESP_Sprite
By default, that board uses an external USB-serial chip to interface with the S3, which does not support JTAG debugging. It has the capability to switch to the internal USB interface, but it requires reworking the board; specifically the 0 ohm jumper resistors R181/R182 need to be moved to the R394/R395 positions.

Re: Korvo-2 debugging

Posted: Wed Jul 05, 2023 2:11 pm
by mfawzy79
Thank you very much, It is working!

But I'm wondering, why the default connection is made for UART0 instead of the USB Serial/JTAG controller? especially, that using the the USB port we can download the code, Monitoring for logs and debuging.

Any Idea?

Mohammed

Re: Korvo-2 debugging

Posted: Thu Jul 06, 2023 1:57 am
by ESP_Sprite
I don't know. Historically, the hardware team has been a bit hesitant to use only the USB-serial-JTAG port as it was a new peripheral at that time and they didn't want to end up with non-working hardware if there ended up being a bug in there and they didn't have an alternative. Might be that the Korvo-2 board still is from that time.