Search found 9 matches

by sunbear
Fri Mar 15, 2019 3:39 pm
Forum: Hardware
Topic: Issues flashing brand new ESP32 Module
Replies: 3
Views: 6472

Re: Issues flashing brand new ESP32 Module

To flash, you need to enter into the bootloader. Here is the wiki on that https://github.com/espressif/esptool/wiki/ESP32-Boot-Mode-Selection . I recently wrote a GUI to connect and flash ESP32. https://github.com/sunbearc22/ESP32FlashWriter . I have tested it on Linux (Ubuntu 16.04) and Windows 10 ...
by sunbear
Fri Mar 15, 2019 11:47 am
Forum: Hardware
Topic: Explanation on ESP32 DevitKitV1 circuitry
Replies: 2
Views: 5610

Explanation on ESP32 DevitKitV1 circuitry

Can someone explain the attached circuitry to me? It is extracted from DOIT ESP32 DevKitV1 circuitry https://www.dropbox.com/s/jefwxxtufgwg0ex/esp32_Schematic%20Prints.pdf?dl=0. After switching on this device, I know that both RTS and DTR are high, and this will lead to EN=GPIO0=3.3V to be true. Whe...
by sunbear
Mon Mar 04, 2019 1:13 pm
Forum: General Discussion
Topic: How to detect ESP32 in Windows?
Replies: 1
Views: 6022

Re: How to detect ESP32 in Windows?

I discovered the issue. The Windows system that I used did not have the driver for the CP2102 USB to UART Bridge Controller. The driver file can be downloaded from https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers and installed by first unzipping the downloade...
by sunbear
Mon Mar 04, 2019 10:05 am
Forum: General Discussion
Topic: How to detect ESP32 in Windows?
Replies: 1
Views: 6022

How to detect ESP32 in Windows?

After plugging a ESP32 devkitv1 to a Windows system, I discovered that Windows Device Manager categorised the ESP32 as "Other devices" and labelled it as CP2102 USB to UART Bridge Controller. is this normal? Why isn't it catergorised as USB device? Also, pyserial could not detect the eps32 device, i...
by sunbear
Fri Feb 22, 2019 8:10 am
Forum: General Discussion
Topic: FatalError in esptool.py ESP32ROM.get_chip_description() method
Replies: 0
Views: 2865

FatalError in esptool.py ESP32ROM.get_chip_description() method

What does https://github.com/espressif/esptool/blob/master/esptool.py#L477 in .read_reg() method in esptool.py really mean? raise FatalError.WithResult("Failed to read register address %08x" % addr, data) In the context of class ESP32ROM(ESPLoader).get_chip_description(), the above FatalError is tri...
by sunbear
Mon Feb 04, 2019 4:01 pm
Forum: General Discussion
Topic: What values to use for "address" in esptool.py write_flash and read_flash functions?
Replies: 1
Views: 9567

What values to use for "address" in esptool.py write_flash and read_flash functions?

Examples from esptool.py github https://github.com/espressif/esptool esptool.py -p PORT -b 460800 read_flash 0 0x200000 flash_contents.bin esptool.py --port COM4 write_flash 0x00000 my_app.elf-0x00000.bin 0x40000 my_app.elf-0x40000.bin The first will read 2MB from the flash from it's origin 0 byte a...
by sunbear
Fri Feb 01, 2019 8:29 am
Forum: General Discussion
Topic: Can esptool.py be used to write text file to flash?
Replies: 2
Views: 4881

Re: Can esptool.py be used to write text file to flash?

Great. May I know what offset should I use to write_flash? Example, what offset should I use so that I do not overwrite existing data? Does "write_flash" function auto-detect the next available offset to start writing? Is there a function I should run before write_flash so that I can see the next av...
by sunbear
Thu Jan 31, 2019 4:35 pm
Forum: General Discussion
Topic: Can esptool.py be used to write text file to flash?
Replies: 2
Views: 4881

Can esptool.py be used to write text file to flash?

Can esptool.py be used to copy a text file to/from the flash?

I found the command "write_flash" but that is used to write a binary blob to flash.