karawin / Ka-Radio32

esp32 version of Ka-Radio (https://github.com/karawin/Ka-Radio) by jp Cocatrix
517 stars 155 forks source link

Launch failed #32

Closed pilnikov closed 5 years ago

pilnikov commented 6 years ago

Hello JP. Have a nice day! I already several times face the following problem. At the first start, I get an error of the RDA module.

E (6729) i2c: Z:/esp/esp-idf/components/driver/i2c.c:1008 (i2c_master_read):i2c data read length error ESP_ERROR_CHECK failed: esp_err_t 0x102 at 0x401360ff file: "Z:/msys32/home/Alex/Karadio_orig_096/components/RDA5807/common.c" line 67 func: i2c_slave_read_only expression: i2c_master_read(cmd, buf,len-1, ACK_VAL)

Backtrace: 0x4008b256:0x3ffcbd20 0x4008b61d:0x3ffcbd40 0x401360ff:0x3ffcbd60 0x40136216:0x3ffcbd80 0x4013633a:0x3ffcbda0 0x401359ad:0x3ffcbdc0 0x4010f7cf:0x3ffcbdf0 0x400d0e26:0x3ffcbe40

Entering gdb stub now. $T0b#e6

The firmware is standard, taken from here. The electrical circuit is also taken here. It seems to me that this is due to the choice of display. I chose type 0 (do not use). This causes a device conflict on the I2C bus when testing a non-existent RDA module Tnx. Alex.

karawin commented 6 years ago

Yes, i must see this point. I am integrating the rda module, but not finished.

karawin commented 5 years ago

I removed the RDA dependency.