Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

roboard-rm-g212-thermal-array-sensor I2C not communicating

Based on DMP's Vortex processor / SoC this board is a full computer capable of running a standard Windows and Linux installation on the backpack of your robot.
2 postsPage 1 of 1
2 postsPage 1 of 1

roboard-rm-g212-thermal-array-sensor I2C not communicating

Post by karan_maverick » Thu Apr 09, 2015 1:54 pm

Post by karan_maverick
Thu Apr 09, 2015 1:54 pm

i2cmaster.zip
I2C Master
(23.01 KiB) Downloaded 930 times
For thermal image acquisition I bought 2 RoBoard RM G-212. I am facing the following issues with the sensor:

1). The sensor is not communicating over the I2C protocol with the Arduino Nano microcomputer. I have tried compiling the attached code but have been unsuccessful so far. The error seems to be due to the i2cmaster.S file which is the assembler file. if I delete the file the code compiles successfully and we don't get the output on the serial monitor.

Error:-

i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_init'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:94: first defined here
i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_start'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:113: first defined here
i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_start_wait'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:157: first defined here
i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_rep_start'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:132: first defined here
i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_stop'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:181: first defined here
i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_write'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:202: first defined here
i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_readAck'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:261: first defined here
i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_readNak'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:258: first defined here
collect2.exe: error: ld returned 1 exit status
Error compiling.

2). The RoBoard Sensor/ Melexis MLX 90620 is not recognized by Raspberry Pi2. Perhaps it is the driver issue or I2C incompatibility.

Please advise.

Best regards,

Karan Behar
i2cmaster.zip
I2C Master
(23.01 KiB) Downloaded 930 times
For thermal image acquisition I bought 2 RoBoard RM G-212. I am facing the following issues with the sensor:

1). The sensor is not communicating over the I2C protocol with the Arduino Nano microcomputer. I have tried compiling the attached code but have been unsuccessful so far. The error seems to be due to the i2cmaster.S file which is the assembler file. if I delete the file the code compiles successfully and we don't get the output on the serial monitor.

Error:-

i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_init'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:94: first defined here
i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_start'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:113: first defined here
i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_start_wait'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:157: first defined here
i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_rep_start'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:132: first defined here
i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_stop'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:181: first defined here
i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_write'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:202: first defined here
i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_readAck'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:261: first defined here
i2cmaster\twimaster.c.o: In function `i2c_init':
C:\Program Files (x86)\Arduino\libraries\i2cmaster/twimaster.c:31: multiple definition of `i2c_readNak'
i2cmaster\i2cmaster.S.o:C:\Program Files (x86)\Arduino\libraries\i2cmaster/i2cmaster.S:258: first defined here
collect2.exe: error: ld returned 1 exit status
Error compiling.

2). The RoBoard Sensor/ Melexis MLX 90620 is not recognized by Raspberry Pi2. Perhaps it is the driver issue or I2C incompatibility.

Please advise.

Best regards,

Karan Behar
karan_maverick
Newbie
Newbie
Posts: 1
Joined: Thu Apr 09, 2015 1:09 pm

Re: roboard-rm-g212-thermal-array-sensor I2C not communicati

Post by limor » Thu Apr 16, 2015 5:04 pm

Post by limor
Thu Apr 16, 2015 5:04 pm

Have you manage to solve the problem ?
Have you manage to solve the problem ?
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK


2 postsPage 1 of 1
2 postsPage 1 of 1