stanleyhuangyc / Freematics

Official source code repository for Freematics
https://freematics.com
419 stars 345 forks source link

A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x13)! The chip needs to be in download mode. #172

Closed roysbike closed 8 months ago

roysbike commented 1 year ago

Hi. How can boot mode ? I want change config.h .

Freematics/firmware_v5/telelogger

pio run -t upload

Serial port /dev/cu.usbserial-01E71945
Connecting......................................

A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x13)! The chip needs to be in download mode.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
*** [upload] Error 2
[env:esp32dev]
platform = https://github.com/platformio/platform-espressif32.git
platform_packages = framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git
build_flags = -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
board=esp-wrover-kit
board_build.f_cpu = 160000000L
framework = arduino
monitor_speed = 115200
board_build.flash_mode = dio
roysbike commented 1 year ago

Can you help me? I bought freematics one+ traccar edition. I need chagne server host

MTrab commented 9 months ago

Any fix to this?