Community
OpenEnergyMonitor

OpenEnergyMonitor Community

Connecting to esp32 controller with putty

I have flashed the esp32 without any problems but when I connect using putty this is what I get.

> file: "src/HAL_ESP32.cpp" line 60
func: esp_err_t HAL_ESP32::writeByte(i2c_port_t, uint8_t, uint8_t, uint8_t)
expression: i2c_master_cmd_begin(i2c_num, cmd, pdMS_TO_TICKS(100))
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x40091283
file: "src/HAL_ESP32.cpp" line 113
func: void HAL_ESP32::Led(uint8_t)
expression: writeByte(I2C_NUM_0, TCA9534APWR_ADDRESS, TCA9534APWR_OUTPUT, TCA9534APWR_Value)
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x40091283
file: "src/HAL_ESP32.cpp" line 60
func: esp_err_t HAL_ESP32::writeByte(i2c_port_t, uint8_t, uint8_t, uint8_t)
expression: i2c_master_cmd_begin(i2c_num, cmd, pdMS_TO_TICKS(100))
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x40091283
file: "src/HAL_ESP32.cpp" line 113
<

The esp32 I have was bought from Amazon https://www.amazon.co.uk/gp/product/B071P98VTG/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&th=1

I have used the latest bin file. The errors keep repeating so the code appears to be running.

Formatted text - Moderator

Nobody else having problems flashing?
I have tried compiling and uploading the program but get same problem

I have complied and upload some of my own code and that works

It looks like there is a problem communicating with the TCA9534. Have you tested with the board test app?

1 Like

Putting 2 and 2 together with your reply, I just realised I got to build the controller board and install the esp on it for it to run. Be back later :wink:

2 Likes

Well I built the controller and now it’s working. I have a flashing green light and GUI says waiting for modules to reply. Thanks.

1 Like