Skip to content
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

Brain rp2040 tester support esp32-c6 #25

Merged
merged 2 commits into from
Jul 5, 2024
Merged

Brain rp2040 tester support esp32-c6 #25

merged 2 commits into from
Jul 5, 2024

Conversation

hathach
Copy link
Member

@hathach hathach commented Jul 5, 2024

update brain rp2040 to support programminng esp32c6

  • update esp stub to include c6 stub flasher + chip detect magic
  • tested with examples/Brain/program_esp_uart to flash c6 via UART0, verified with blink example on IO8 (devkit)
UART
Dummy read chip detect after final block                                                                                        
Verifying MD5                                                                                                                   
MD5 matched                                                                                                                     
LCD: 232.9KB 2.5s                                                                                                               
LCD: Spd: 94.5 KB/s             
  • program via cdc currently does not work with C6 due to pio-usb host issue with mounting C6 device. I got constant enumeration failed even with bare tinyusb host example.
TinyUSB Host CDC MSC HID Example
Enumeration attempt 1
Enumeration attempt 2
Enumeration attempt 3

we Probably we need some similar hack as S3 previously or so (not entirely sure). @ladyada if possible please design tester to use UART since it is more reliable and faster. Merge this now for UART will make an followup PR later when I could figure out what is wrong with host enumeration.

@hathach hathach merged commit 4fb2c08 into master Jul 5, 2024
4 checks passed
@hathach hathach deleted the support-c6 branch July 5, 2024 09:26
@ladyada
Copy link
Member

ladyada commented Jul 5, 2024

yay thanks!

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.

2 participants