我在 Windows10 上使用 Python 3.9.5 和以下代码:
python esptool.py --port COM10 --baud 460800 write_flash \
--flash_freq 80m --flash_mode qio --flash_size 4MB-c1 \
0x0000 "boot_v1.6.bin" 0x1000 espruino_esp8266_user1.bin \
0x3FC000 esp_init_data_default.bin 0x3FE000 blank.bin
给我以下错误:
usage: esptool write_flash [-h] [--erase-all]
[--flash_freq {keep,40m,26m,20m,80m}]
[--flash_mode {keep,qio,qout,dio,dout}]
[--flash_size FLASH_SIZE]
[--spi-connection SPI_CONNECTION]
[--no-progress] [--verify] [--encrypt]
[--encrypt-files <address> <filename> [<address> <filename> ...]]
[--ignore-flash-encryption-efuse-setting]
[--compress | --no-compress]
<address> <filename>
[<address> <filename> ...]
esptool write_flash: error: argument <address> <filename>: Address "\--flash_freq" must be a number