The JTAG pins are between pins 43 and 47 (page 12) here: https://www.espressif.com/sites/default/files/documentation/esp32-s2_datasheet_en.pdf
BR, Alan On 7/30/23, Alan C. Assis <acas...@gmail.com> wrote: > Hi Milan, > > On 7/30/23, Milan Obuch <nuttx-...@dino.sk> wrote: > sic >>> I got an S2 Mini V1.0.0 WEMOS.CC like yours and confirmed the issue. >>> After changing the pins to 33 and 34 (as you noticed pins 43 and 44 >>> are not available, Wemos' mistake) the serial console is not showing >>> up. >> >> Hi, >> >> do you see any possible solution to this problem? Now, as you can test >> it locally, it should be easier for you to test it. >> > > Yes, now I can help you! > >>> This board use the ESP32-S2 with internal SPI flash, so there are some >>> small differences in relation to the original ESP32-S2 with external >>> SPI flash. >> >> What kind of differences? What impact do they cause to NuttX >> configuration and build? >> > > I think there are some incompatibility with current ESP32S2 > initialization, but I cannot test with JTAG because they also didn't > extern the JTAG pins. > >>> The ESP32-S2 and S3 USB IP is the same DWC USB controller used on >>> Raspberry and some STM32 chips. So we could use the existing driver on >>> NuttX as starting point. >> >> That's fine. Do we need some glue to use existing driver? Working USB >> would make this board more useful. >> > > Exactly! We already have ESP32-S3 USB Dev support, but S2 uses > different initialization. > > We need to compare with ESP-IDF to understand what they are doing to > initialize the USB on ESP32-S2. > > BR, > > Alan >