Hello,
I have a MPU-6050-evb linked to an ARM board through I2C. After some porting from the embedded_motionapps-2011-07-25-Rel-V2_0_0 for my platform, when I'm doing this:
inv_error_t result = INV_SUCCESS;
MPL_LOGI(INV_VERSION"n");
result = umplInit(NULL);
if (result != INV_SUCCESS)
MPL_LOGE("umplInit Error %dn",result);
printf("n");
result = umplStartMPU();
if (result != INV_SUCCESS)
MPL_LOGE("umplStartMPU Error %dn",result);
printf("Endn");
And I'm getting this:
ai@ai:~/mpu/20120430$ ./mpu
I/(null):InvenSense MPL v4.0.0 Apr 30 2012 15:55:04
I/MPL-mlsl:inv_serial_open: /dev/mpu
V/umpl-states:UMPL_STOP to UMPL_RUN
I/MPL-mlsl:I2C Read Success 6b 01: 40
I/mldl_cfg::Reset MPU6050 B1
I/MPL-mlsl:I2C Write Success 6b 02: 6b6b
I/MPL-mlsl:I2C Read Success 6c 01: 00
I/MPL-mlsl:I2C Write Success 6b 02: 6b6b
I/MPL-mlsl:I2C Read Success 0c 01: 28
I/MPL-mlsl:I2C ReadMem Success 7006 0001: 4d
I/MPL-mlsl:I2C Write Success 6d 02: 6d6d
E/mldl_cfg::Unsupported product key 4019 in MPL
E/(null):lite/mldl_cfg.c|inv_mpu_open|2250 returning 19
E/(null):lite/mldl.c|inv_dl_open|195 returning 19
E/(null):lite/mldmp.c|inv_dmp_open|93 returning 19
E/(null):umplStartMPU Error 19
End
ai@ai:~/mpu/20120430$ ./mpu
I/(null):InvenSense MPL v4.0.0 Apr 30 2012 15:55:04
I/MPL-mlsl:inv_serial_open: /dev/mpu
V/umpl-states:UMPL_STOP to UMPL_RUN
I/MPL-mlsl:I2C Read Success 6b 01: 00
I/mldl_cfg::Reset MPU6050 B1
I/MPL-mlsl:I2C Write Success 6b 02: 6b6b
I/MPL-mlsl:I2C Read Success 6c 01: 00
I/MPL-mlsl:I2C Read Success 0c 01: 28
I/MPL-mlsl:I2C ReadMem Success 7006 0001: 00
I/MPL-mlsl:I2C Write Success 6d 02: 6d6d
E/mldl_cfg::Unsupported product key 4000 in MPL
E/(null):lite/mldl_cfg.c|inv_mpu_open|2250 returning 19
E/(null):lite/mldl.c|inv_dl_open|195 returning 19
E/(null):lite/mldmp.c|inv_dmp_open|93 returning 19
E/(null):umplStartMPU Error 19
End
I have a revision D. According to:
viewtopic.php?f=7&t=160
"The difference between embedded MPL 2.0 and 2.01 is that we have added support for rev D of the MPU6000/6050. There are no bug fixes between the two versions of the software."
Where can I access MPL 2.0.1?
It seems that my problem is very close to:
viewtopic.php?f=3&t=155
Thanks in advance.
- Log in to post comments
phpbb Topic ID
14325