Spark Max Code Closes When Run

Hi we are trying to run our drive code on or robot. Whenever we build the code VSCode doesn’t mention any errors but when it is enabled the console spits the following out and then the robot code light goes red after a few seconds.

ERROR 4 [CAN SPARK MAX] WPILib or External HAL Error: CAN: Message not found, CAN: Message not found, CAN: Message not found, CAN: Message not found, CAN: Message not found, CAN: Message not found, CAN: Message not found, CAN: Message not found, CAN: Message not found, CAN: Message not found, CAN: Message not found, CAN: Message not found, CAN: Message not found, CAN: Message not found
ERROR 1 DifferentialDrive… Output not updated often enough. edu.wpi.first.wpilibj.MotorSafety.check(MotorSafety.java:101)
ERROR 2 [CAN SPARK MAX] timed out while waiting for Periodic Status 0, Periodic Status 0, Periodic Status 0, Periodic Status 0, Periodic Status 0, Periodic Status 0, Periodic Status 0, Periodic Status 0, Periodic Status 0, Periodic Status 0, Periodic Status 0, Periodic Status 0, Periodic Status 0

This is our first year using Spark Maxes and any help would be greatly appreciated

Thank you from 353

When you updated the firmware for the Spark MAXes through the Spark MAX client, did you assign a non-zero CAN bus ID? We were having a similar error this weekend and fixed it with that.

yes all my can IDs are 1-4

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.