Do you support ESP32S2? #100

Closed
opened 2025-01-27 12:54:37 +08:00 by afterow · 16 comments
afterow commented 2025-01-27 12:54:37 +08:00 (Migrated from github.com)

Hello, does this project support ESP32S2

Hello, does this project support ESP32S2
polhenarejos commented 2025-01-27 15:18:38 +08:00 (Migrated from github.com)

Not at this moment.

But you can build the firmware yourself. Just first select esp32s2 board and build.

Not at this moment. But you can build the firmware yourself. Just first select esp32s2 board and build.
afterow commented 2025-02-23 06:18:16 +08:00 (Migrated from github.com)

I flashed the Pico Fido with version 6.4, but it doesn't work properly, keeps plugging and ejecting

Image

I flashed the Pico Fido with version 6.4, but it doesn't work properly, keeps plugging and ejecting ![Image](https://github.com/user-attachments/assets/81ba6229-e211-43b5-938a-e9647e6e0629)
polhenarejos commented 2025-02-23 07:51:49 +08:00 (Migrated from github.com)

It crashes on boot.

Which model of S2 do you use?
Which is the flash size?

It crashes on boot. Which model of S2 do you use? Which is the flash size?
afterow commented 2025-02-23 08:00:09 +08:00 (Migrated from github.com)

My equipment is esp32-s2 mini

C:\Users\afterow\Desktop\esptool-s3>esptool --chip esp32s2 --port COM3 read_mac
esptool.py v4.8.1
Serial port COM3
Connecting.....
Chip is ESP32-S2FNR2 (revision v1.0)
Features: WiFi, Embedded Flash 4MB, Embedded PSRAM 2MB, ADC and temperature sensor calibration in BLK2 of efuse V2
Crystal is 40MHz
MAC: d8:3b:da:c9:7c:e8
Uploading stub...
Running stub...
Stub running...
MAC: d8:3b:da:c9:7c:e8
Error: ESP32-S2FNR2 (revision v1.0) chip was placed into download mode using GPIO0.
esptool.py can not exit the download mode over USB. To run the app, reset the chip manually.
To suppress this note, set --after option to 'no_res
My equipment is esp32-s2 mini ``` C:\Users\afterow\Desktop\esptool-s3>esptool --chip esp32s2 --port COM3 read_mac esptool.py v4.8.1 Serial port COM3 Connecting..... Chip is ESP32-S2FNR2 (revision v1.0) Features: WiFi, Embedded Flash 4MB, Embedded PSRAM 2MB, ADC and temperature sensor calibration in BLK2 of efuse V2 Crystal is 40MHz MAC: d8:3b:da:c9:7c:e8 Uploading stub... Running stub... Stub running... MAC: d8:3b:da:c9:7c:e8 Error: ESP32-S2FNR2 (revision v1.0) chip was placed into download mode using GPIO0. esptool.py can not exit the download mode over USB. To run the app, reset the chip manually. To suppress this note, set --after option to 'no_res ```
polhenarejos commented 2025-02-23 08:02:33 +08:00 (Migrated from github.com)

Do you have the chance to debug on UART0?

Do you have the chance to debug on UART0?
afterow commented 2025-02-23 08:04:39 +08:00 (Migrated from github.com)

I don't know what UART0 is, but I can help you, for example through remote desktop

I don't know what UART0 is, but I can help you, for example through remote desktop
polhenarejos commented 2025-02-24 21:26:14 +08:00 (Migrated from github.com)

It is the serial port for debugging. It requires an additional hardware like a USB-to-TTL.

It is the serial port for debugging. It requires an additional hardware like a USB-to-TTL.
afterow commented 2025-02-24 21:42:52 +08:00 (Migrated from github.com)

I have a CH340B, I wonder if it can be used.

I have a CH340B, I wonder if it can be used.
polhenarejos commented 2025-02-25 00:11:26 +08:00 (Migrated from github.com)

Not sure how it works but if you know how to open a serial port it might work. Look for uart0 tx and rx pins in the datasheet of your board and probe them with your ch340b.

Not sure how it works but if you know how to open a serial port it might work. Look for uart0 tx and rx pins in the datasheet of your board and probe them with your ch340b.
emf37 commented 2025-03-07 16:33:13 +08:00 (Migrated from github.com)

Not sure how it works but if you know how to open a serial port it might work. Look for uart0 tx and rx pins in the datasheet of your board and probe them with your ch340b.

hello, I have same issue. the Pico-FIDO with ESP32-S2FH4 just keeps plugging and ejecting on windows 10.
Here is a log file exported from the console on "www.picokeys.com/esp32-flasher",also I flashed by this.
Hope this helps.
Thank you.

esp-web-tools-logs.txt

> Not sure how it works but if you know how to open a serial port it might work. Look for uart0 tx and rx pins in the datasheet of your board and probe them with your ch340b. hello, I have same issue. the Pico-FIDO with ESP32-S2FH4 just keeps plugging and ejecting on windows 10. Here is a log file exported from the console on "www.picokeys.com/esp32-flasher",also I flashed by this. Hope this helps. Thank you. [esp-web-tools-logs.txt](https://github.com/user-attachments/files/19123057/esp-web-tools-logs.txt)
polhenarejos commented 2025-03-07 16:41:07 +08:00 (Migrated from github.com)

Thanks, very useful log. I see the problem: ESP32-S2 is single core and Pico Fido is designed to work with two cores at least. I was not aware of it. I'll try to leverage FreeRTOS for core management but I do not have an ESP32-S2 to test it.

Do you have skills for building ESP32-S2 images?

Thanks, very useful log. I see the problem: ESP32-S2 is single core and Pico Fido is designed to work with two cores at least. I was not aware of it. I'll try to leverage FreeRTOS for core management but I do not have an ESP32-S2 to test it. Do you have skills for building ESP32-S2 images?
afterow commented 2025-03-07 18:34:19 +08:00 (Migrated from github.com)

I will compile it myself

I will compile it myself
polhenarejos commented 2025-03-08 02:38:05 +08:00 (Migrated from github.com)

I pushed a fix for esp32-s2 in the development branch. You can build yourself or wait until tomorrow for the nightly development build.

I pushed a fix for esp32-s2 in the development branch. You can build yourself or wait until tomorrow for the nightly development build.
79812b commented 2025-03-17 12:38:51 +08:00 (Migrated from github.com)

I pushed a fix for esp32-s2 in the development branch. You can build yourself or wait until tomorrow for the nightly development build.

btw will this work for esp32 c3 speed xiao

> I pushed a fix for esp32-s2 in the development branch. You can build yourself or wait until tomorrow for the nightly development build. btw will this work for esp32 c3 speed xiao
polhenarejos commented 2025-03-17 15:15:14 +08:00 (Migrated from github.com)

No, C3 does not have USB OTG stack.

No, C3 does not have USB OTG stack.
afterow commented 2025-03-17 16:20:24 +08:00 (Migrated from github.com)

No, C3 does not have USB OTG stack.

I tested the latest development version on the ESP32-S2 today, and the issue remains unresolved. I have decided to give up on using this device since the price of the ESP32-S3 is currently the same as that of the ESP32-S2 here in China.

Fortunately, the project esp32_u2f can be used on the ESP32-S2.

> No, C3 does not have USB OTG stack. I tested the latest development version on the ESP32-S2 today, and the issue remains unresolved. I have decided to give up on using this device since the price of the ESP32-S3 is currently the same as that of the ESP32-S2 here in China. Fortunately, the project [esp32_u2f](https://github.com/jocover/esp32_u2f) can be used on the ESP32-S2.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dearsky/pico-fido#100