T-Zigbee OSX Development
I am brand new to the LILIGO platform and have a few questions. I have a few LILGO T-Zigbee devices which I purchased to make my own Zigbee sensors. I have managed to configure my Adruino IDE to compile some sample code for the ESP32, but the upload is not working - log attached below.
Also where can i find the zbhci library for Arduino IDE?
I have also attempted to set up Visual Studio with the PlatformIO plugin - the compiler works, but I am not sure how to upload the binary.
Sketch uses 854694 bytes (65%) of program storage space. Maximum is 1310720 bytes. Global variables use 39212 bytes (11%) of dynamic memory, leaving 288468 bytes for local variables. Maximum is 327680 bytes. "/Users/johanr/Library/Arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool" --chip esp32c3 --port "/dev/cu.usbserial-56770013341" --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 "/private/var/folders/1b/ml884x4s5xs35q3wsc5pwj200000gn/T/arduino/sketches/80664C528B835C6BE2428DCD6219C480/lilygo-test.ino.bootloader.bin" 0x8000 "/private/var/folders/1b/ml884x4s5xs35q3wsc5pwj200000gn/T/arduino/sketches/80664C528B835C6BE2428DCD6219C480/lilygo-test.ino.partitions.bin" 0xe000 "/Users/johanr/Library/Arduino15/packages/esp32/hardware/esp32/2.0.11/tools/partitions/boot_app0.bin" 0x10000 "/private/var/folders/1b/ml884x4s5xs35q3wsc5pwj200000gn/T/arduino/sketches/80664C528B835C6BE2428DCD6219C480/lilygo-test.ino.bin" esptool.py v4.5.1 Serial port /dev/cu.usbserial-56770013341 Connecting.... Chip is ESP32-C3 (revision v0.3) Features: WiFi, BLE Crystal is 40MHz MAC: 60:55:f9:82:61:4c Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. A fatal error occurred: Unable to verify flash chip connection (No serial data received.). Failed uploading: uploading error: exit status 2
@jrossouw Figured it out - the serial speed was wrong. Changed it to 115200 and now it is working.