Hello everyone! When we deploy our code, we are getting an error ([CAN SPARK MAX] IDs 11, WPILib or External HAL Error: CAN Not Initialized Periodic Status 1) that stops our code completely and only is solved when the robot code is restarted. We have checked all of our CAN wiring and have flashed the firmware multiple times, have tried reassigning multiple different CAN Ids, and even swapped the Spark Max with another, all to no avail. However, after further diagnosis, we noticed that when the code bricks, the voltage measured from the REV robotics library, for the specific CAN Spark Max spikes and stays at 30 volts. Only a reboot resets the voltage again. We have another CAN Spark Max on a different part of the robot which doesn’t have the same issue and the only difference is that the one with the problem is set on coast mode, whereas the other one is set on brake mode. Can anyone help diagnose this issue?
2 Likes
See this thread which sounds like a very similar symptom.
I read over the thread and we are not using any custom threads, and our coprocessor communicates over network tables.
What vendor libraries are you using? As stated in my post, there may be something in a vendor library not shutting down in a timely manner that could cause this to happen.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.