Skip to content

Fix connecting to S2 over USB #813

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2025
Merged

Fix connecting to S2 over USB #813

merged 1 commit into from
Mar 24, 2025

Conversation

bugadani
Copy link
Contributor

@bugadani bugadani commented Mar 24, 2025

Closes #656

cargo run --bin espflash board-info                                                                       
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.64s
     Running `target\debug\espflash.exe board-info`
[2025-03-24T14:50:24Z INFO ] Serial port: 'COM57'
[2025-03-24T14:50:24Z INFO ] Connecting...
[2025-03-24T14:50:24Z INFO ] Using flash stub
Chip type:         esp32s2 (revision v1.0)
Crystal frequency: 40 MHz
Flash size:        8MB
Features:          WiFi, No Embedded Flash, Embedded PSRAM 2MB, ADC and temperature sensor calibration in BLK2 of efuse V2
MAC address:       70:04:1d:fa:00:c4

Security Information:
=====================
Flags: 0x00000000 (0)
Key Purposes: [0, 0, 0, 0, 0, 0, 0]
Secure Boot: Disabled
Flash Encryption: Disabled
SPI Boot Crypt Count (SPI_BOOT_CRYPT_CNT): 0x0

Copy link

@maxwen maxwen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works

Copy link
Member

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jessebraham jessebraham added this pull request to the merge queue Mar 24, 2025
Merged via the queue into main with commit ee954b2 Mar 24, 2025
39 checks passed
@bugadani bugadani deleted the s2 branch March 24, 2025 18:07
@aemarkov
Copy link

I've tried it, but in my case espflash can connect if only esptool is connected first. See #860 860

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is USB CDC mode flashing supported in espflash?
4 participants