You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the sdkconfig value of CONFIG_ESP_HOSTED_RESET_GPIO_ACTIVE_LOW you define H_RESET_ACTIVE_HIGH as 1 or 0. But afterwards you check it with #ifdef and not with #if, so it always uses the values from the if and never from the else.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Setting of reset active high/low does is always low active
Setting of reset active high/low does is always low active (EHM-47)
Apr 16, 2025
@mantriyogesh We designed a ESP32-P4 board connecting the ESP32-P4 as a host with an ESP32-C6.
To ensure there is no problem in reprogramming the ESP32-C6 using an ESP-PROG, we put a transistor at the output of the P4 to have an open connector on the reset of the C6. This way we don't have a problem when ESP32-P4 is running when we flash the ESP32-C6. Therefore our board only runs with the inversion.
I don't know if it would be good to have an output set to +3V3 and then pulling it to GND. If others also have this kind of inversion, they would need it too.
Checklist
How often does this bug occurs?
always
Expected behavior
Rebarding "RESET GPIO config" in the menuconfig.
Actual behavior (suspected bug)
Regardless of the setting, the GPIO is always high and shortly pulled to low for the reset. I measured this, since our PCB needs the inversion.
Error logs or terminal output
Steps to reproduce the behavior
Project release version
v1.4.1
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Windows
Operating system version
Windows 11
Shell
PowerShell
Additional context
The problem seems to lie in the following file:
https://github.com/espressif/esp-hosted-mcu/blob/main/host/api/include/esp_hosted_config.h
In Line 328:
Based on the sdkconfig value of CONFIG_ESP_HOSTED_RESET_GPIO_ACTIVE_LOW you define H_RESET_ACTIVE_HIGH as 1 or 0. But afterwards you check it with #ifdef and not with #if, so it always uses the values from the if and never from the else.
The text was updated successfully, but these errors were encountered: