A fatal error occurred this chip is esp8266 not esp32 wrong chip argument

Hello, i can not find my board with platformio. if i utilise Arduino IDE 2.0 , i can program and upload with this board : Generic ESP8266 Module at com 5. when i use platformio Build is a success. But upload give me this message: A fatal error occurred: This chip is ESP8266 not ESP32. Wrong --chip argument? I use a generic 8266 wemos d1 mini with 4 MB is someone have an idea? Thank You. Jacques

PlatformIO Community

Loading

marrmaddox

Posts: 2
Joined: Tue Nov 24, 2020 8:40 pm

esptool not recognizing esp32-S2 chip

I’m on Win10, Arduino, trying to write a file to an esp32-s2 and get the message below. It also fails when using the command line esptool.py.

esptool.py v3.0-dev
Serial port COM3
Connecting…..

A fatal error occurred: This chip is ESP32-S2 not ESP32. Wrong —chip argument?
SPIFFS Upload failed!


ESP_Angus

Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: esptool not recognizing esp32-S2 chip

Postby ESP_Angus » Wed Dec 09, 2020 8:06 am

This error means that esptool.py was passed the «—chip esp32» command line argument, but the chip is actually ESP32-S2.

Are you sure the Arduino settings are correct for an ESP32-S2 target?



marrmaddox

Posts: 2
Joined: Tue Nov 24, 2020 8:40 pm

Re: esptool not recognizing esp32-S2 chip

Postby marrmaddox » Fri Dec 11, 2020 10:10 am

I was using me-no-dev, but lorol worked! Thank you so much, I ‘wasted’ two days on this and was dreading going back to the ESP32 and shift registers due to lack of usable ports with wifi.

Much appreciated! Happy holiday to you.


Mrunmai Dahare

Posts: 1
Joined: Wed Apr 27, 2022 6:18 am

Re: esptool not recognizing esp32-S2 chip

Postby Mrunmai Dahare » Wed Apr 27, 2022 6:34 am

I also got same error message may I please know hoe to fix this? How to change chip to ESP32 S2 in configuration? This is my error message:

Code: Select all

A fatal error occurred: This chip is ESP32-S2 not ESP32. Wrong --chip argument?
CMake Error at run_serial_tool.cmake:56 (message):
  C:/Espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe
  C:/Espressif/frameworks/esp-idf-v4.4/components/esptool_py/esptool/esptool.py
  --chip esp32 failed



Who is online

Users browsing this forum: No registered users and 31 guests

Thank you for moving towards S3 stable edition in Arduino core, when do you plan to make it stable?

Here are the issues I have encountered installing ESP32 2.0.4 in Arduino IDE using ESPS3 with 8 MB of PSRAM and 16 MB of flash memory;

SHA-256 Issue:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x2a (SPI_FAST_FLASH_BOOT)
Saved PC:0x420b37da
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x39c
load:0x403c9700,len:0x9bc
load:0x403cc700,len:0x28dc
SHA-256 comparison failed:
Calculated: 9477899d59fa5164e630d8218cb3994031873358e9105b31f53911d2dfd36c72
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway…
entry 0x403c98c0
[ 261][D][esp32-hal-cpu.c:214] setCpuFrequencyMhz(): PLL: 480 / 6 = 80 Mhz, APB: 80000000 Hz
[ 261][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled

WiFi connection is really slow and I get this;
[ 333][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 0 — WIFI_READY
[ 389][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 2 — STA_START
Connecting to WiFi…[ 549][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 4 — STA_CONNECTED
.[ 1168][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 7 — STA_GOT_IP
[ 1169][D][WiFiGeneric.cpp:991] _eventCallback(): STA IP: 192.168.0.100, MASK: 255.255.255.0, GW: 192.168.0.1

Guru Panicked error
Also, I get Guru Panicked error when reaching the line below sometimes;
camera_fb_t *fb = NULL; //I solved this by lowering CPU speed to 80 MHz and using DIO

Guru Meditation Error: Core 0 panic’ed (LoadStoreError). Exception was unhandled.

Core 0 register dump:
PC : 0x4003f9b0 PS : 0x00060530 A0 : 0x8003d7a2 A1 : 0x3fce9960
A2 : 0x400057a8 A3 : 0x3fcf41d0 A4 : 0x00000304 A5 : 0x0000000f
A6 : 0x3c57fca1 A7 : 0x00000000 A8 : 0x8003f92c A9 : 0x403d3b36
A10 : 0x3d80292c A11 : 0x3fcef944 A12 : 0x191d1e17 A13 : 0x0001e847
A14 : 0x3fcf41c4 A15 : 0x00000002 SAR : 0x00000000 EXCCAUSE: 0x00000003
EXCVADDR: 0x403d3b36 LBEG : 0x40056f5c LEND : 0x40056f72 LCOUNT : 0xffffffff

Backtrace:0x4003f9ad:0x3fce9960 |<-CORRUPTED

Thanks

markjuggles

Posts: 16
Joined: Thu Dec 31, 2020 3:34 am

Setting Target esp32s2 Fails

I re-re-re-re-re-installed the ESP-IDF but cannot get the target changed to esp32s2.

Code: Select all

C:espprojectshello_world>idf.py set-target esp32s2
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Executing action: set-target
Set Target to: esp32s2, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old.
Running cmake in directory c:espprojectshello_worldbuild
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32s2 -DCCACHE_ENABLE=1 c:espprojectshello_world"...
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.29.2.windows.3")
CMake Error at C:/esp/esp-idf/tools/cmake/targets.cmake:19 (message):
  IDF_TARGET in CMake cache does not match IDF_TARGET environment variable.
  To change the target, clear the build directory and sdkconfig file, and
  build the project again
Call Stack (most recent call first):
  C:/esp/esp-idf/tools/cmake/project.cmake:35 (__target_init)
  CMakeLists.txt:5 (include)


-- Configuring incomplete, errors occurred!
cmake failed with exit code 1

Building the project will succeed but flashing it fails because I have an esp32s2 chip.

Code: Select all

A fatal error occurred: This chip is ESP32-S2 not ESP32. Wrong --chip argument?
CMake Error at run_serial_tool.cmake:50 (message):
  C:/esp/.espressif/python_env/idf4.3_py3.9_env/Scripts/python.exe
  C:/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 failed

My environment is the latest Python, the latest git, today’s ESP-IDF master branch, and esp-idf-tools-setup-2.3.

git clone —recursive https://github.com/espressif/esp-idf.git

Can anyone tell me how to create a working ESP32S2 build environment?

Thank you


chegewara

Posts: 2110
Joined: Wed Jun 14, 2017 9:00 pm

Re: Setting Target esp32s2 Fails

Postby chegewara » Sun Jan 17, 2021 7:05 pm

markjuggles wrote: ↑

Sun Jan 17, 2021 6:22 pm


CMake Error at C:/esp/esp-idf/tools/cmake/targets.cmake:19 (message):
IDF_TARGET in CMake cache does not match IDF_TARGET environment variable.
To change the target, clear the build directory and sdkconfig file, and
build the project again

Try to delete build folder in hello-world project, then set-target again.


markjuggles

Posts: 16
Joined: Thu Dec 31, 2020 3:34 am

Re: Setting Target esp32s2 Fails

Postby markjuggles » Sun Jan 17, 2021 8:12 pm

Same results.

Code: Select all

C:espprojectshello_world>rm -rf build

C:espprojectshello_world>idf.py set-target esp32s2
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory 'c:espprojectshello_worldbuild' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32s2, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old.
Running cmake in directory c:espprojectshello_worldbuild
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32s2 -DCCACHE_ENABLE=1 c:espprojectshello_world"...
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.29.2.windows.3")
CMake Error at C:/esp/esp-idf/tools/cmake/targets.cmake:19 (message):
  IDF_TARGET in CMake cache does not match IDF_TARGET environment variable.
  To change the target, clear the build directory and sdkconfig file, and
  build the project again
Call Stack (most recent call first):
  C:/esp/esp-idf/tools/cmake/project.cmake:35 (__target_init)
  CMakeLists.txt:5 (include)


-- Configuring incomplete, errors occurred!
cmake failed with exit code 1


markjuggles

Posts: 16
Joined: Thu Dec 31, 2020 3:34 am

Re: Setting Target esp32s2 Fails

Postby markjuggles » Sun Jan 17, 2021 8:44 pm

Since following the instructions step by step wasn’t working, I tried something different.

idf.py set-target esp32s2 # still fails
set IDF_TARGET=esp32s2 # just guessing
idf.py menuconfig
idf.py build
idf.py -p com15 flash
idf.py -p com15 monitor

It works!!!!

So hello_world is running. I will try a real networking project…. Wish me luck.


chegewara

Posts: 2110
Joined: Wed Jun 14, 2017 9:00 pm

Re: Setting Target esp32s2 Fails

Postby chegewara » Sun Jan 17, 2021 8:45 pm

Do you have by accident sdkconfig.default in project folder?


markjuggles

Posts: 16
Joined: Thu Dec 31, 2020 3:34 am

Re: Setting Target esp32s2 Fails

Postby markjuggles » Sun Jan 17, 2021 10:00 pm

There is a «sdkconfig.defaults» file.

I don’t know which step created it but it wasn’t in the original «esp-idfexamplesget-startedhello_world» folder.


chegewara

Posts: 2110
Joined: Wed Jun 14, 2017 9:00 pm

Re: Setting Target esp32s2 Fails

Postby chegewara » Sun Jan 17, 2021 11:53 pm

markjuggles wrote: ↑

Sun Jan 17, 2021 10:00 pm


There is a «sdkconfig.defaults» file.

I don’t know which step created it but it wasn’t in the original «esp-idfexamplesget-startedhello_world» folder.

Is this set in sdkconfig.defaults:


markjuggles

Posts: 16
Joined: Thu Dec 31, 2020 3:34 am

Re: Setting Target esp32s2 Fails

Postby markjuggles » Mon Jan 18, 2021 2:16 am

No, after getting the project to work by setting the environment manually, the file contained this:

Code: Select all

# Enable FATFS read only with long filename support
# for loading Cert/CA/etc from filesystem
# (if enabled in config)
CONFIG_FATFS_READONLY=y
CONFIG_FATFS_CODEPAGE_437=y
CONFIG_FATFS_LFN_HEAP=y

# Enable TLS asymmetric in/out content length
CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y

Going back to the ‘blink’ project which I had not configured via the environment, there was also a «sdkconfig.defaults» file but it only contained this:


ESP_Angus

Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Setting Target esp32s2 Fails

Postby ESP_Angus » Mon Jan 18, 2021 5:07 am

Hi Mark,

I’m glad you were able to get the project to build, and sorry for all the hassles encountered.

IDF_TARGET in CMake cache does not match IDF_TARGET environment variable.
To change the target, clear the build directory and sdkconfig file, and
build the project again

This error, and the success you had with «set IDF_TARGET=esp32s2» seems to suggest that your system already had an environment variable named IDF_TARGET set. This isn’t part of the getting started guide for recent ESP-IDF versions, is it possible this variable was set somehow while following an earlier/different set of steps?

If you open a new Command Prompt, can you get it to build without setting this variable? If you run «echo %IDF_TARGET%» in the same window, what do you see?


markjuggles

Posts: 16
Joined: Thu Dec 31, 2020 3:34 am

Re: Setting Target esp32s2 Fails

Postby markjuggles » Mon Jan 18, 2021 1:19 pm

I have evaluated several WiFi chips and have two products in production with competing radios. The ESP32 has the best price but by far the most challenging development environment.

Trying to re-build with a clean environment:

Created a CMD window.
Ran ‘esp-idfexport.bat’.

C:espprojectsesp-aws-iotaws-projectssubscribe_publish>idf.py build
Executing action: all (aliases: build)
Project sdkconfig was generated for target ‘esp32s2’, but environment variable IDF_TARGET is set to ‘esp32’. Run ‘idf.py set-target esp32’ to generate new sdkconfig file for target esp32.

C:espprojectsesp-aws-iotaws-projectssubscribe_publish>echo %IDF_TARGET%
esp32


Who is online

Users browsing this forum: No registered users and 61 guests

  • #1

Здравствуйте! Хотел поиграться с ESP32, купил платку в UNO форм-факторе (сильно за это не пинайте в первый раз закупаюсь). Фото во вложении.
Не могу прошить тестовую программу. Выдает ошибку :

Connecting…….._____….._____….._____….._____….._____….._____….._____….._____….._____….._____

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

Фото ошибки во вложении.
Понятия не имею как исправить?
С уважением и надеждой на отзыв.

  • ESP_32_1.png

    79.8 KB
    Просмотры: 465

  • ESP_32_2.jpg

    550.5 KB
    Просмотры: 462

Последнее редактирование: 5 Июн 2018

Юрий Ботов


  • #2

Плата то нормальная, у меня работает… что указываете в настройках среды Arduino: «Инструменты/Плата:» и «Инструменты/Порт:» ? Питаете плату от USB?

  • #3

Плата то нормальная, у меня работает… что указываете в настройках среды Arduino: «Инструменты/Плата:» и «Инструменты/Порт:» ? Питаете плату от USB?

Инструменты/Плата: Noduino Quantum,
Инструменты/Порт: COM5 (USB-SERIAL CH340),
Никакого дополнительного питания не подключаю — только через USB.
После первого включения вроде подмигивал синий индикатор, потом я ушел оставив включенным и подключенным к компьютеру ESP32 на довольно продолжительное время. Когда вернулся уже горел только красный диодик.
Но могу перепутать насчет синего диода, т.к. еще тестировал ESP8266 (он рабочий).

Последнее редактирование: 5 Июн 2018

Юрий Ботов


  • #4

Попробуйте указать что плата «NodeMCU-32S», а если вдруг не пойдет, то еще и снизить скорость до 115200.

  • #5

Попробуйте указать что плата «NodeMCU-32S», а если вдруг не пойдет, то еще и снизить скорость до 115200.

Не пошло — скорость снизил, плату поменял… Вот здесь на англоязычном сайте что-то обсуждают на данную тему — https://www.esp32.com/viewtopic.php?f=2&t=4912. По корявому переводу Яндекса ничего конкретного не понять. Если владеете английским — посмотрите, пожалуйста!

Юрий Ботов


  • #6

Там про другую плату, c wrover — она сильно другая…

Я только что взял заново установил esp32 под Arduino (обычно сам пользуюсь vs code с platformio) взял точно такую-же как на фото плату, обозвал ее NodeMCU-32S и сходу залил пример wifiscan. Вот лог компиляции — все зашилось без ошибок, работает:

Код:

Скетч использует 535126 байт (40%) памяти устройства. Всего доступно 1310720 байт.
Глобальные переменные используют 38020 байт (12%) динамической памяти, оставляя 256892 байт для локальных переменных. Максимум: 294912 байт.
esptool.py v2.3.1
Connecting.....
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 47...

Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 21845.2 kbit/s)...
Hash of data verified.
Compressed 12480 bytes to 8255...

Writing at 0x00001000... (100 %)
Wrote 12480 bytes (8255 compressed) at 0x00001000 in 0.1 seconds (effective 950.9 kbit/s)...
Hash of data verified.
Compressed 536272 bytes to 327531...

Writing at 0x00010000... (5 %)
Writing at 0x00014000... (10 %)
Writing at 0x00018000... (15 %)
Writing at 0x0001c000... (20 %)
Writing at 0x00020000... (25 %)
Writing at 0x00024000... (30 %)
Writing at 0x00028000... (35 %)
Writing at 0x0002c000... (40 %)
Writing at 0x00030000... (45 %)
Writing at 0x00034000... (50 %)
Writing at 0x00038000... (55 %)
Writing at 0x0003c000... (60 %)
Writing at 0x00040000... (65 %)
Writing at 0x00044000... (70 %)
Writing at 0x00048000... (75 %)
Writing at 0x0004c000... (80 %)
Writing at 0x00050000... (85 %)
Writing at 0x00054000... (90 %)
Writing at 0x00058000... (95 %)
Writing at 0x0005c000... (100 %)
Wrote 536272 bytes (327531 compressed) at 0x00010000 in 5.0 seconds (effective 858.9 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 144...

Writing at 0x00008000... (100 %)
Wrote 3072 bytes (144 compressed) at 0x00008000 in 0.0 seconds (effective 4915.3 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

Может SDK esp32 криво встал?

В курсе что прежде чем ставить sdk под arduino надо поставить питон и гит и потом произвести некие манипуляции вручную?

  • #7

@Юрий Ботов, ГИТ поставил, про ПИТОН не в курсе вообще? ГИТ устанавливал согласно инструкции — Знакомимся с ESP32, часть 1: установка в Arduino IDE. Манипуляций кроме как выбор платы и порта не производил…

Может стоить попробовать прошить в vs code с platformio? Я с ней совсем не знаком конечно… Он англоязычный кажется — нам колхозникам не по зубам)

Питон оказывается это язык программирования — эта ошибка от языка наверно не зависит…

Последнее редактирование: 5 Июн 2018

Юрий Ботов


  • #8

Вот это «и запускаем файл get.exe» из руководства точно выполнилось? Оно загружает всякие дополнительные файлы распаковывает их и запускает скрипты на питоне (вот он Питон зачем нужен). Питон надо установить Python 2.7 (нельзя более поздние версии — 3.х)

  • #9

Инструменты/Плата: Noduino Quantum,
Инструменты/Порт: COM5 (USB-SERIAL CH340),
Никакого дополнительного питания не подключаю — только через USB.
После первого включения вроде подмигивал синий индикатор, потом я ушел оставив включенным и подключенным к компьютеру ESP32 на довольно продолжительное время. Когда вернулся уже горел только красный диодик.
Но могу перепутать насчет синего диода, т.к. еще тестировал ESP8266 (он рабочий).

Найдите на форуме мою тему как поставить LUA на ESP32 Там все нарисовано. Сделайте для начала как там написано.

  • #10

@nikolz, попробовал прошить через ESP DOWLOAD TOOL v3.6.4 — не получается, никакой реакции. Фото во вложении.

@Юрий Ботов, ПИТОН установил, запустил еще раз get.exe, но проблема осталась…

«0» реакции — горит красный и всё… Что хотя бы может означать этот красный индикатор?

  • ESP32.png

    74.9 KB
    Просмотры: 119

  • #11

@nikolz, попробовал прошить через ESP DOWLOAD TOOL v3.6.4 — не получается, никакой реакции. Фото во вложении.

@Юрий Ботов, ПИТОН установил, запустил еще раз get.exe, но проблема осталась…

«0» реакции — горит красный и всё… Что хотя бы может означать этот красный индикатор?

1) Соm5 — это вы установили или это по умолчанию вывелось? Если по умолчанию то установите фактический.
2) проверьте напряжения на выходе 1117

  • #12

@nikolz, COM-порт выбирал после обнаружения CH340 — соответствующий.
А выход 1117 — это какой PIN ??? Вложил схему распиновки esp32

  • myESP32 pinout.png

    585.6 KB
    Просмотры: 60

  • #13

@nikolz, COM-порт выбирал после обнаружения CH340 — соответствующий.
А выход 1117 — это какой PIN ??? Вложил схему распиновки esp32

1117 это на плате такой чип с тремя ногами и головой под ESP32 стоит
Стабилизатор AMS1117-3.3 схема включения
На средней ножке должно быть 3.3 в

  • #15

@nikolz, да, там ровно 3.3 В…

теперь на пине 3V3 ESP32

  • #17

@nikolz, тоже все в порядке — 3.3В

Вы когда dounload загрузили SYNC отображался?
когда старт нажимаете что пишет в черном окне ?
Поставьте скорость BAUD 230400

  • #18

@nikolz,

Вы когда dounload загрузили SYNC отображался?

— не совсем понял?
Скриншот черного окна выкладываю — во вложении. Скорость перед загрузкой поменял.

  • Безымянный.png

    77.1 KB
    Просмотры: 70

  • #19

возьмите терминальную программу например teraterm
установите скорость 115000 и порт платы и нажмите ресет.

  • #20

@nikolz,
— не совсем понял?
Скриншот черного окна выкладываю — во вложении. Скорость перед загрузкой поменял.

я говорю про программу загрузки луа

$ pip3 install esptool
Requirement already satisfied: esptool in ./.local/lib/python3.8/site-packages (3.1)
Requirement already satisfied: bitstring>=3.1.6 in ./.local/lib/python3.8/site-packages (from esptool) (3.1.7)
Requirement already satisfied: cryptography>=2.1.4 in /usr/lib/python3/dist-packages (from esptool) (2.8)
Requirement already satisfied: ecdsa>=0.16.0 in ./.local/lib/python3.8/site-packages (from esptool) (0.17.0)
Requirement already satisfied: pyserial>=3.0 in /usr/lib/python3/dist-packages (from esptool) (3.4)
Requirement already satisfied: reedsolo<=1.5.4,>=1.5.3 in ./.local/lib/python3.8/site-packages (from esptool) (1.5.4)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from ecdsa>=0.16.0->esptool) (1.14.0)

esptool
https://github.com/espressif/esptool/

Download ESP32 Firmware
https://micropython.org/download/esp32/
https://micropython.org/resources/firmware/esp32-20210623-v1.16.bin

Connect ESP32 to PC via MicroUSB/USB Cable
check ttyUSB0 on mint

upload ESP32 uPython Firmware

$ esptool.py –chip esp32 –port /dev/ttyUSB0 write_flash -z 0x1000 esp32-20210623-v1.16.bin
esptool.py v3.1
Serial port /dev/ttyUSB0
Connecting….

A fatal error occurred: This chip is ESP8266 not ESP32. Wrong –chip argument?

Oh! mistake I bring esp8266 board, no problem new download ESP8266 Firmware
https://micropython.org/download/esp8266/
https://micropython.org/resources/firmware/esp8266-1m-20210618-v1.16.bin

$ esptool.py –port /dev/ttyUSB0 erase_flash
esptool.py v3.1
Serial port /dev/ttyUSB0
Connecting….
Detecting chip type… ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: bc:dd:c2:10:79:ff
Uploading stub…
Running stub…
Stub running…
Erasing flash (this may take a while)…
Chip erase completed successfully in 7.5s
Hard resetting via RTS pin…

$ esptool.py –port /dev/ttyUSB0 –baud 460800 write_flash –flash_size=detect 0 esp8266-1m-20210618-v1.16.bin
esptool.py v3.1
Serial port /dev/ttyUSB0
Connecting….
Detecting chip type… ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: bc:dd:c2:10:79:ff
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 460800
Changed.
Configuring flash size…
Auto-detected Flash size: 4MB
Flash will be erased from 0x00000000 to 0x0008ffff…
Flash params set to 0x0040
Compressed 589592 bytes to 389533…
Wrote 589592 bytes (389533 compressed) at 0x00000000 in 9.0 seconds (effective 525.2 kbit/s)…
Hash of data verified.

Leaving…
Hard resetting via RTS pin…

$ picocom /dev/ttyUSB0 -b115200

>>> help()

$ nmcli device wifi

Ref:

https://docs.micropython.org/en/latest/esp8266/tutorial/repl.html

About NanoSoftTech

NanoSoftTech

Понравилась статья? Поделить с друзьями:
  • A disk read error occurred ноутбук asus
  • A disk read error occurred как исправить через биос
  • A disk read error occurred ssd как исправить
  • A disk read error occurred ssd windows 10
  • A disk read error occurred press ctrl alt del что делать на компьютере виндовс 10