Open Liniik opened 10 months ago
Before flashing to the board, you need to do the following:
idf.py -p PORT erase-flash
Of course I did that... The result is the same. I have two devkits, erased both, tried on both, nothing.
This is my logging. phy_version and libbtbb version are different from yours.
I (410) main_task: Started on CPU0
I (410) main_task: Calling app_main()
W (420) rmt: channel resolution loss, real=10666666
I (420) gpio: GPIO[8]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (450) phy: phy_version: 220,2, 37a29de, Dec 29 2023, 16:30:13
I (450) phy: libbtbb version: 944f18e, Dec 29 2023, 16:30:30
I (460) main_task: Returned from app_main()
I (470) ESP_ZB_ON_OFF_LIGHT: ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
I (470) ESP_ZB_ON_OFF_LIGHT: Zigbee stack initialized
I (470) ESP_ZB_ON_OFF_LIGHT: Start network steering
I (41150) ESP_ZB_ON_OFF_LIGHT: Network steering was not successful (status: ESP_FAIL)
I (82840) ESP_ZB_ON_OFF_LIGHT: Network steering was not successful (status: ESP_FAIL)
What is "phy"? How can I update it? I installed everything via VS Code per instructions and the esp-idf extension shows as up to date. But you still have ESP_FAIL
at the end.
the esp-idf extension shows as up to date.
I (23) boot: ESP-IDF v5.1.2 2nd stage bootloader
Your esp-idf is not the latest version V5.1. Latest is:
I (23) boot: ESP-IDF v5.1.2-602-gdb1e54a0c5-dirty 2nd stage bootloader
But this is probably not the cause.
As you can see, in the editor I can't update it because it shows as latest version. Last update on the market is 13. 12. 2023. Is there any settings where I could update it more?
Is there any settings where I could update it more?
I'm not using VScode IDE.
I used this.
$ git clone -b release/v5.1 --recursive https://github.com/espressif/esp-idf.git
$ cd esp-idf
$ ./install.sh
But this is probably not the cause.
Looks similar to this. https://github.com/espressif/esp-idf/issues/12657
@Liniik
Would you be able to utilize two chips to run the light and switch examples provided here initially?
Sorry guys, I have a lot of things going on, I'll try it as soon as I can and let you know the results
@Liniik Thanks for reporting, would you please help share if any updates for the issue? Thanks.
@Alvin1Zhang Yes, but I don't know when. I completely abandoned the idea of direct development with any esp board given that no help came for an issue completely blocking whole progress. So I need to find the boards and get the environment updated and running again.
Answers checklist.
IDF version.
v5.1.2
Espressif SoC revision.
ESP32-H2 (revision v0.1)
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
ESP32-H2-DEVKITM-1-N4
Power Supply used.
USB
What is the expected behavior?
Proper initialization and working device. I expect log like in the example's README like this:
Then I'd expect to be able to add it to my Home Assistant instance and use it.
What is the actual behavior?
This log - last three lines are the problem - ESP_FAIL during init and not working example.
Steps to reproduce.
Debug Logs.
No response
More Information.
ESP-IDF installed as per documentation here I have some C programming background but I am completely new to this low level programming of ESPs so I don't even know where to look when the ESP_FAIL shows up. ESP-IDF Doctor output with redacted PATH: