can we use same flash tool like esp8266 or is there an extra flash tool?
can we download or how we will get this?
proposal: command line tool will be great, if we can run it in console by batch for multi flash.
best wishes
rudi
![Wink ;-)](./images/smilies/icon_e_wink.gif)
Sprite_tm wrote:esptool.py variant which can flash the ESP31
Code: Select all
Connecting...
connected on attempt 0
Erasing flash...
Erase size 1400 num_blocks 5 offset 0
(1431642119, '\x00\xa9')
Traceback (most recent call last):
File "/root/bin/esptool32", line 603, in <module>
esp.flash_begin(blocks*esp.ESP_FLASH_BLOCK, address)
File "/root/bin/esptool32", line 231, in flash_begin
raise Exception('Failed to enter Flash download mode')
Exception: Failed to enter Flash download mode
Code: Select all
Connecting...
connected on attempt 0
Erasing flash...
Erase size 1400 num_blocks 5 offset 0
(538052359, '\x00\x00')
Wrote 5120 bytes at 0x00000000 in 0.6 seconds (74.2 kbit/s)...
Leaving...
Erase size 0 num_blocks 0 offset 0
(538052359, '\x00\x00')
Code: Select all
esptool32 --port /dev/ttyUSB3 write_flash 0 fw_rojer/bin/boot.bin
Code: Select all
'\xc0\x00\x02\x10\x00\x00\x00\x00\x00\x00\x14\x00\x00\x05\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\xc0'
Code: Select all
'\xc0\x01\x02\x02\x00\x07\x12UU\x00\xa9\xc0'
Code: Select all
$ ~/cesanta/esptool32 --port /dev/ttyPL --baud 230400 write_flash 0x40000 bin/irom0_flash.bin
Connecting...
Erasing flash...
Erase size 3b000 num_blocks ec offset 40000
FLASH_BEGIN failed, applying ESP32 workaround...
Wrote 241664 bytes at 0x00040000 in 14.3 seconds (134.8 kbit/s)...
Code: Select all
ets Jul 5 2015,rst cause:1, boot mode:(13)
. _stack_sentry: 0x3fffe1d0, . __stack: 0x40000000,
. _bss_start: 0x3fffcd48, . _bss_end: 0x3fffe1d0,
. _data_start: 0x3fffc000, . _data_end: 0x3fffc864
Code: Select all
./esptool32.py --port /dev/tty.usbserial-FTH159YK read_mac
Users browsing this forum: berebolledo and 71 guests