fbl2360 raw can mode
2 years 5 months ago #29533510 by kacox
I just upgraded my fbl2360 to firmware v1.8d. I also upgraded the roboteq motor control utility to 1.8. When I send the can bus enable command for raw mode (CEN 3). I get the controller lost message and have to bring the utility software up and down as well as disconnect/reconnect the usb cable. This also happens if I load a profile with raw mode set or put the command in a script. Also, the change does not take effect? I also noticed that the status led blinks four times quickly followed by 1 long blink. I didn't see this behavior with earlier firmware.
2 years 5 months ago #29533511 by LROBBINS
I know nothing about that particular controller or its firmware update, but I have seen disconnect behavior (HDC2450 & 2460 with older and latest firmware and roborun) if there is significant serial IO while using raw CAN. Two things to check/try: (1) make sure Roborun is set to mute, (2) reduce the frequency and length of Print strings - I keep track of cycles through the main loop and do
Do let us know if you figure this out.
IF (LoopCycle MOD 100) = 0 THEN PRINT ("as few characters as possible") END IF
2 years 5 months ago #29533514 by kacox
Thanks for the reply and the advice regarding the Print statement. The problem turned out to be not having proper power on the 12 V motor controller input. The 5V power over the USB was enough to allow me to connect with Roborun and do some preliminary script testing and loading of the firmware. But it appears enabling the CAN bus interface without power over the motor controller input causes problems. If I supply power to the motor controller input and then use the USB for Roborun connectivity all is good. The LED pattern I described above was due to not having 24V on the motor input. Once I supplied 24V to the motor inputs the LED's returned to the normal expected state. I had stepped away from this project for some months and had forgotten some subtleties of the system.
Time to create page: 0.094 seconds