Skip to content

ESP32 S3 - USB Serial JTAG Console not Support in current code #2609

Open
@SimonGAndrews

Description

There seems to be an issue in that the ESP32S3 build does not include support for the USB Serial JTAG Console. That is boards where the USB connector (for connection to the host/IDE) is routed directly to the processor (GPIO 19/ D+ and 20 / D- ) and not through a USB to Serial Convert chip to 43/U0TXD and 44/ U0RXD.

The symptom is no response in the IDE after flashing. The espressif monitor confirms flashing is ok and the espruino banner displays after a reboot, but then no console/repl.

Ive seen other forum posts that indicate the same.

In the current code ../targets/ESP32/jshardwareUart.c handles this for the ESP32C3 but the #ifdef in the code does not include the S3. Ive thad a go to fix in threee places:

Image
Image
Image

Which has improved in that I get a console now. But it now has the problem seen during the initial port where there is no echo till enter key is pressed.

I Also note the need to define USB_CDC in board.py, whcih ive done. And it looks to be set in the IDE.

Image

WIll keep going to figure it out, but I cant initially see where to fix the Echo, given it was fixed in the C3.

Metadata

Assignees

No one assigned

    Labels

    ESP32This is only a problem on ESP32-based devices

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions