TCS34725 issues on Wemos Lolin SOC

User avatar
johnnyfrx
Posts: 2
Joined: Sat Oct 14, 2017 5:36 pm

TCS34725 issues on Wemos Lolin SOC

Postby johnnyfrx » Sat Oct 14, 2017 5:46 pm

I get the following dump trace when attempting to run a sketch for this TCS34725 device. It is an I2C RGB color sensor by AdaFruit. I2C scanner detects its address when it is attached, along with the ESP32's onboard OLED.
Please take a look and advise.
ESP Exception decoder results are below it.
I have changed power/USB wires, etc in testing. No change.
Other sketches run fine on the ESP and the OLED does work fine.

Guru Meditation Error of type IllegalInstruction occurred on core 1. Exception was unhandled.
Register dump:
PC : 0x400e0198 PS : 0x00060530 A0 : 0x800d9b56 A1 : 0x3ffc7a20
A2 : 0x00000000 A3 : 0x00000000 A4 : 0x00060023 A5 : 0x3ffc6718
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x800d075a A9 : 0x3ffc7a00
A10 : 0x00000000 A11 : 0x437f0000 A12 : 0x0800001c A13 : 0xffffffff
A14 : 0xffffffff A15 : 0x00060023 SAR : 0x0000001a EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffff

Backtrace: 0x400e0198:0x3ffc7a20 0x400d9b56:0x3ffc7a40

CPU halted.


Decoding 5 results
0x400e0198: __divsf3 at /home/ivan/e/crosstool-NG/.build/src/gcc-5.2.0/libgcc/config/xtensa/ieee754-sf.S line 902
0x400e0198: __divsf3 at /home/ivan/e/crosstool-NG/.build/src/gcc-5.2.0/libgcc/config/xtensa/ieee754-sf.S line 902
0x400d9b56: loopTask(void*) at C:\Users\daddio\Documents\Arduino\hardware\espressif\esp32\cores\esp32/main.cpp line 17 (discriminator 1)

User avatar
martinayotte
Posts: 141
Joined: Fri Nov 13, 2015 4:27 pm

Re: TCS34725 issues on Wemos Lolin SOC

Postby martinayotte » Sat Oct 14, 2017 7:43 pm

Without seeing the source of the library used for TCS34725, it is difficult to figure out ...

User avatar
johnnyfrx
Posts: 2
Joined: Sat Oct 14, 2017 5:36 pm

Re: TCS34725 issues on Wemos Lolin SOC

Postby johnnyfrx » Wed Oct 18, 2017 5:50 pm

Thanks for the reply. Instead of posting the whole shooting match here, the url to it's github repo:
https://github.com/adafruit/Adafruit_TCS34725

Who is online

Users browsing this forum: Baidu [Spider], jainil and 128 guests