beagleboard / beagleboard/librobotcontrol

Beaglebone Black Wireless I2C Error

Open
#209 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
212
Forks
167
PR merge metrics
No merged PRs in 30d

Description

I am trying to get librobotcontrol working on my Beaglebone Black Wireless, but I keep running into an error that I can’t seem to find any information about.

I have flashed the board with the latest image, updated the software as per the Beaglebone upgrade tutorial, and followed the steps from the librobotcontrol installation manual.

When I check functionality by running rc_test_drivers, everything passes. However, when I run some of the example programs (e.g. rc_altitude, rc_balance, rc_test_mpu, etc.), I receive the following error:

ERROR: in rc_i2c_write_byte, system write returned -1, expected 2

The board is running on a dedicated 5V power supply and there is nothing else connected to it.

I suspect I am missing something very basic, but I’m new to the Beaglebone and have not been able to find any information about this error online. I’ve attached a screenshot of the rc_test_driver output, the error I’m seeing, and my version information. I’d be grateful for any guidance you may be able to give. Thanks.

![Screenshot 2021-08-08 201722](https://user-images.githubusercontent.com/80780801/128643490-0a7dfc62-3937-4c71-bd96-d3c7b11eb148.png)
![Screenshot 2021-08-08 202015](https://user-images.githubusercontent.com/80780801/128643492-849ad3f2-adf6-4c6f-a592-f3d47dea80f6.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.