Search found 46 matches

by marchingband
Tue Apr 26, 2022 6:45 pm
Forum: ESP-IDF
Topic: Using SAMD21 to flash ESP32
Replies: 9
Views: 5093

Re: Using SAMD21 to flash ESP32

Yes I've done that and I get normal logs. The same ESP32 chip flashes normally with a usb-ftdi module, so the issue is either the XIAO board, or the USB drivers which their BSP provides
by marchingband
Tue Apr 26, 2022 4:57 pm
Forum: ESP-IDF
Topic: Using SAMD21 to flash ESP32
Replies: 9
Views: 5093

Re: Using SAMD21 to flash ESP32

Oh that makes sense :) . Yes I always burn the fuse for flash voltage because my chip uses eMMC driver. I posted the same question on Stack Overflow here https://stackoverflow.com/questions/71982301/emulate-cp210x-usb-ftdi-chip-using-samd21 Another user had success using the same steps I used. I thi...
by marchingband
Tue Apr 26, 2022 4:50 pm
Forum: ESP-IDF
Topic: Using SAMD21 to flash ESP32
Replies: 9
Views: 5093

Re: Using SAMD21 to flash ESP32

@chewarga I am sure the chip is in bootloader mode. I very often use a usb-ftdi module to flash my bare ESP32s, and this is the same log I always receive
`rst:0x1 (POWERON_RESET),boot:0x27 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))`
the next line of the log explicitly says
`waiting for download`
by marchingband
Sun Apr 24, 2022 5:32 pm
Forum: ESP-IDF
Topic: Using SAMD21 to flash ESP32
Replies: 9
Views: 5093

Re: Using SAMD21 to flash ESP32

Also if I should delete this and repost in a different section of the forum let me know :)
by marchingband
Sun Apr 24, 2022 5:31 pm
Forum: ESP-IDF
Topic: Using SAMD21 to flash ESP32
Replies: 9
Views: 5093

Re: Using SAMD21 to flash ESP32

Is it possible to pass flags to esptool.py to fix the baud rate throughout the transaction, and/or limit the way it passes data, perhaps to slow it down, so the Arduino libraries can handle the transfer more easily?
by marchingband
Fri Apr 22, 2022 4:15 am
Forum: ESP-IDF
Topic: Using SAMD21 to flash ESP32
Replies: 9
Views: 5093

Re: Using SAMD21 to flash ESP32

It's also strange that, although my terminal emulator (Cool Term) establishes communication with the SAMD21, the esp-idf monitor does not.

My command is idf.py -p /dev/cu.usbmodemFA131 -b 115200 monitor

The monitor runs, but does not get any logs back from the ESP32, via the SAMD21.
by marchingband
Fri Apr 22, 2022 3:47 am
Forum: ESP-IDF
Topic: Using SAMD21 to flash ESP32
Replies: 9
Views: 5093

Using SAMD21 to flash ESP32

I have a SAMD21 devboard which I would like to use to flash my ESP32 WROVER module. My computer connects to the SAMD21 via usb, and I can use it to receive logs from my ESP32 over a UART connection. Unfortunately when I run esptool.py, the connection fails, I get a timeout waiting for packet header ...
by marchingband
Sat Jan 08, 2022 1:03 am
Forum: ESP32 Arduino
Topic: ESP.restart() does't trigger complete boot after Update()
Replies: 6
Views: 12912

Re: ESP.restart() does't trigger complete boot after Update()

Amazing, thanks so much @ullixesp, I will try this out!
by marchingband
Wed Jan 05, 2022 1:04 am
Forum: ESP32 Arduino
Topic: ESP.restart() does't trigger complete boot after Update()
Replies: 6
Views: 12912

Re: ESP.restart() does't trigger complete boot after Update()

yes i burned the fuses for 3.3v flash.
I have the 16MB flash version of the WROVER-B.
by marchingband
Tue Jan 04, 2022 9:58 pm
Forum: ESP32 Arduino
Topic: ESP.restart() does't trigger complete boot after Update()
Replies: 6
Views: 12912

Re: ESP.restart() does't trigger complete boot after Update()

I am using an ESP32 WROVER-B module on a custom PCB.
Does this look like it could be a power issue?