Open lbuque opened 1 year ago
Wait, so this is a commit to the esp32-h2 SDK? This is tied to the T-Zigbee codebase?
I ordered and have been testing and using T-Zigbee devices because I was tired of waiting for those to be released haha.
@joshuajonah This is to add ESP32-C6 as a zigbee sub-device to the T-ZigBee gateway.
Thank you @lbuque but these installation instructions are not clear for a novice beginner like me.
You suggest -
that we burn the precompiled bin file using esptool to esp32c6 which means we need to set the jumpers to the esp32 configuration and burn right?
Patch the esp-zigbee-sdk - can you provide some guidance on how to do this and in which environment? And do we have to generate a new firmware for the TLSR8258? Do you have a precompiled firmware that we can use instead?
Or do we just update from the current (new) commit and rerun the zigbee2mqtt example?
Thank you
Hardware: ESP32-C6-DevKitC-1 Software: esp-zigbee-sdk/examples/esp_zigbee_HA_sample/HA_on_off_ligh esp-zigbee-sdk: 1a52786a4dd972c153ffd77e4da8a3d33fa4eaac esp-idf: 76433e4cb22a1d88ed505b2abba1e56f1b7241ff
Here is the precompiled bin file: bin.tar.gz
Burn it with the following command:
esptool esp32c6 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x10000 on_off_light_bulb.bin 0x8000 partition_table/partition-table.bin
">>>SNIPPED<<<" Thanks to @swkim01 for the help!!!
Also trying to run your command to burn the precompiled bin file produces an error -
esptool esp32c6 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x10000 on_off_light_bulb.bin 0x8000 partition_table/partition-table.bin
Modified the command for my env to
esptool --chip esp32c6 -p COM6 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x10000 on_off_light_bulb.bin 0x8000 partition_table/partition-table.bin
But still got an error...
A fatal error occurred: This chip is ESP32-C3 not ESP32-C6. Wrong --chip argument?
Modified the command to esp32c3 and got another error
esptool --chip esp32c3 -p COM6 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x10000 on_off_light_bulb.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.3
Serial port COM6
Connecting....
Chip is ESP32-C3 (revision v0.3)
Features: WiFi, BLE
Crystal is 40MHz
MAC: XX:XX:XX:XX:XX:XX
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Unexpected chip id in image. Expected 5 but value was 13. Is this image for a different chip model?
A fatal error occurred: bootloader/bootloader.bin is not an ESP32-C3 image. Use --force to flash anyway.
@pawilli This bin file is for esp32c6, did my above words make you misunderstand?
@pawilli This bin file is for esp32c6, did my above words make you misunderstand?
Oh I see - so maybe this was probably posted to the wrong forum. I thought this was for the t-zigbee board with a ESP32-C3 chip
Hardware: ESP32-C6-DevKitC-1 Software: esp-zigbee-sdk/examples/esp_zigbee_HA_sample/HA_on_off_ligh esp-zigbee-sdk: 1a52786a4dd972c153ffd77e4da8a3d33fa4eaac esp-idf: 76433e4cb22a1d88ed505b2abba1e56f1b7241ff
Here is the precompiled bin file: bin.tar.gz
Burn it with the following command:
Add the following patches to esp-zigbee-sdk:
Thanks to @swkim01 for the help!!!