RotorHazard / RotorHazard

FPV race timing and event management
Other
193 stars 92 forks source link

Multiplie I/O communication errors. #605

Closed RomkaV closed 2 years ago

RomkaV commented 3 years ago

I am using two arduino nano v3 (328p). Similar errors appear periodically.

2021-06-19 15:03:16.181: main [INFO] Release: 3.0.0 / Server API: 30 / Latest Node API: 35 2021-06-19 15:03:16.181: main [DEBUG] Program started at 1624114993227 2021-06-19 15:03:16.182: RHUtils [INFO] Host machine: Raspberry Pi 3 Model B Plus Rev 1.3 2021-06-19 15:03:16.182: RHUtils [INFO] Host OS: Linux 5.4.0-1036-raspi 2021-06-19 15:03:16.182: RHUtils [INFO] Python version: 3.8.5 (default, May 27 2021, 13:30:53) 2021-06-19 15:03:16.183: main [INFO] Host machine is 'ubuntu' at 10.43.43.119 2021-06-19 15:03:16.183: main [DEBUG] isRPi=True, isRealGPIO=True, isS32BPill=False 2021-06-19 15:03:16.183: Config [INFO] Using configuration file 'config.json' 2021-06-19 15:03:16.183: Language [DEBUG] Language file imported 2021-06-19 15:03:16.183: main [INFO] Using log file: logs/rh_20210619_150316.log 2021-06-19 15:03:16.283: Plugins [INFO] Loaded module i2c_helper 2021-06-19 15:03:16.284: i2c_helper [DEBUG] Starting I2C on bus 1 2021-06-19 15:03:16.285: main [DEBUG] Initializing interface module: RHInterface 2021-06-19 15:03:16.386: Plugins [INFO] Loaded module i2c_node 2021-06-19 15:03:16.388: Plugins [INFO] Loaded module serial_node 2021-06-19 15:03:16.389: i2c_node [INFO] Searching for I2C nodes... 2021-06-19 15:03:16.461: i2c_node [INFO] ...I2C node 1 found at address 8, API_level=35, fw_version=1.1.4, fw_type=Arduino, fw_timestamp: Jun 18 2021 23:46:57 2021-06-19 15:03:16.548: i2c_node [INFO] ...I2C node 2 found at address 10, API_level=35, fw_version=1.1.4, fw_type=Arduino, fw_timestamp: Jun 18 2021 23:46:57 2021-06-19 15:03:16.565: i2c_node [INFO] ...No I2C node at address 12 2021-06-19 15:03:16.582: i2c_node [INFO] ...No I2C node at address 14 2021-06-19 15:03:16.599: i2c_node [INFO] ...No I2C node at address 16 2021-06-19 15:03:16.615: i2c_node [INFO] ...No I2C node at address 18 2021-06-19 15:03:16.632: i2c_node [INFO] ...No I2C node at address 20 2021-06-19 15:03:16.649: i2c_node [INFO] ...No I2C node at address 22 2021-06-19 15:03:16.729: RHInterface [DEBUG] Node 1: Freq=5658, EnterAt=72, ExitAt=68 2021-06-19 15:03:16.827: RHInterface [DEBUG] Node 2: Freq=5695, EnterAt=110, ExitAt=72 2021-06-19 15:03:16.843: main [INFO] Number of nodes found: 2 2021-06-19 15:03:17.433: Plugins [INFO] Loaded module bme280_sensor 2021-06-19 15:03:17.442: Plugins [INFO] Loaded module ina219_sensor 2021-06-19 15:03:17.445: Plugins [INFO] Loaded module linux_sensor 2021-06-19 15:03:17.468: linux_sensor [INFO] Core temperature available 2021-06-19 15:03:17.468: linux_sensor [DEBUG] Battery status not available ([Errno 2] No such file or directory: '/sys/class/power_supply/battery/present') 2021-06-19 15:03:17.537: main [DEBUG] Server info: {"release_version": "3.0.0", "server_api": 30, "json_api": 3, "node_api_match": true, "node_api_lowest": 35, "node_api_levels": [35, 35], "node_version_match": true, "node_fw_versions": ["1.1.4", "1.1.4"], "node_api_best": 35, "prog_start_epoch": "1624114993227", "prog_start_time": "2021-06-19 15:03:13.227000"} 2021-06-19 15:03:17.620: main [INFO] Set Profile to '2' 2021-06-19 15:03:17.628: main [DEBUG] Sending frequency values to nodes: [5658, 5695, 5843, 5880, 0, 0, 0, 0] 2021-06-19 15:03:17.677: main [DEBUG] Sending enter-at values to nodes: [72, 110, 90, 90, 90, 90, 90, 90] 2021-06-19 15:03:17.741: main [DEBUG] Sending exit-at values to nodes: [68, 72, 80, 80, 80, 80, 80, 80] 2021-06-19 15:03:17.867: Results [DEBUG] All Result caches normalized 2021-06-19 15:03:18.206: main [DEBUG] Found installed: openjdk version "11.0.11" 2021-04-20 2021-06-19 15:03:18.648: main [DEBUG] Found installed: IMDTabler Version 1.3 2021-06-19 15:03:18.648: main [DEBUG] LED: disabled (configured LED_COUNT is <= 0) 2021-06-19 15:03:18.648: main [DEBUG] VRxController disabled by config option 2021-06-19 15:03:18.655: Plugins [INFO] Loaded module data_export_csv 2021-06-19 15:03:18.657: Plugins [INFO] Loaded module data_export_json 2021-06-19 15:03:18.801: main [INFO] Running http server at port 5000 2021-06-19 15:03:18.801: main [DEBUG] No active race to stop 2021-06-19 15:03:18.801: main [DEBUG] Database current laps reset 2021-06-19 15:03:22.761: main [DEBUG] Client connected 2021-06-19 15:03:22.761: BaseHardwareInterface [INFO] Interface: Starting background thread 2021-06-19 15:03:22.762: main [DEBUG] Heartbeat thread started 2021-06-19 15:03:23.006: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error 2021-06-19 15:03:23.022: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error 2021-06-19 15:03:23.023: BaseHardwareInterface [INFO] Interface: Retry (IOError) in read_block: addr=10 cmd=13 size=8 retry=2 ts=1627.60007713 2021-06-19 15:03:23.038: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error 2021-06-19 15:03:23.039: BaseHardwareInterface [INFO] Interface: Retry (IOError) in read_block: addr=10 cmd=13 size=8 retry=3 ts=1627.616165342 2021-06-19 15:03:23.054: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error 2021-06-19 15:03:23.055: BaseHardwareInterface [INFO] Interface: Retry (IOError) in read_block: addr=10 cmd=13 size=8 retry=4 ts=1627.632241523 2021-06-19 15:03:23.070: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error 2021-06-19 15:03:23.071: BaseHardwareInterface [INFO] Interface: Retry (IOError) limit reached in read_block: addr=10 cmd=13 size=8 retry=5 ts=1627.648245361 2021-06-19 15:03:31.472: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error 2021-06-19 15:03:38.489: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error 2021-06-19 15:03:48.650: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error 2021-06-19 15:04:16.409: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error 2021-06-19 15:04:16.444: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error 2021-06-19 15:04:22.879: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error 2021-06-19 15:04:23.872: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error 2021-06-19 15:04:32.448: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error 2021-06-19 15:05:24.778: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error 2021-06-19 15:05:28.128: BaseHardwareInterface [INFO] Interface: Read Error: [Errno 121] Remote I/O error

HazardCreative commented 3 years ago

The reported errors are on I2C address 10, which is node 2. Try replacing that Arduino.