CAN IO
9 years 3 months ago #29529300
by hoylet
Hi
I am trying and failing to use the CAN functionality to transmit Raw CAN data from pi/RIO to pi/RIO.
I am using pi4J to write serial config commands and CAN tx commands as shown below, on the receiving I am constantly checking the CAN Frame count and displaying the returned result which is always CF=0
Any help or suggestions would be appreciated
TX pi/RIO :-
^CEN 1
^CBR 2500
^CNOD 1
!CS 1 5
!CS 3 2
!CS 4 3
!CS 2 2
Rx pi/RIO :-
^CEN 1
^CBR 2500
^CLSN 0
?CF
# 50
I am trying and failing to use the CAN functionality to transmit Raw CAN data from pi/RIO to pi/RIO.
I am using pi4J to write serial config commands and CAN tx commands as shown below, on the receiving I am constantly checking the CAN Frame count and displaying the returned result which is always CF=0
Any help or suggestions would be appreciated
TX pi/RIO :-
^CEN 1
^CBR 2500
^CNOD 1
!CS 1 5
!CS 3 2
!CS 4 3
!CS 2 2
Rx pi/RIO :-
^CEN 1
^CBR 2500
^CLSN 0
?CF
# 50
Please Log in or Create an account to join the conversation.
- Griffin Baker
9 years 3 months ago #29529301
by Griffin Baker
Replied by Griffin Baker on topic CAN IO
We are currently working on getting the can issue fixed in the firmware. At this time, I don't have an ETA of when this will get resolved that I can give you. Our sincere apologies.
Please Log in or Create an account to join the conversation.
- Griffin Baker
9 years 3 months ago #29529303
by Griffin Baker
Replied by Griffin Baker on topic CAN IO
Unfortunately yes, can is not working at this time.
Please Log in or Create an account to join the conversation.
- Griffin Baker
9 years 3 months ago #29529305
by Griffin Baker
Replied by Griffin Baker on topic CAN IO
So it looks like we are looking to release the latest firmware release in about 2 weeks.
Please Log in or Create an account to join the conversation.
- Griffin Baker
9 years 3 months ago #29529308
by Griffin Baker
Replied by Griffin Baker on topic CAN IO
yes.
Please Log in or Create an account to join the conversation.
9 years 3 months ago #29529327
by hoylet
Please Log in or Create an account to join the conversation.
- roboteq
9 years 3 months ago #29529337
by roboteq
Replied by roboteq on topic CAN IO
Attached is beta firmware with CAN enabled. Both MiniCAN and RawCAN are implemented.
If you have a RIO with USB, from the console, send %DFU 32165487 to enther the update mode. You will need to unplug and replug the USB in order for windows to rediscover the card.
After cycling power, the board should be operational again.
Install the XML file into C:\Program Files (x86)\Roboteq\NavSensor\Trees. After restarting the PC utility, you will see a CAN menu.
You can, and it is recommended, that you use the RIO's Microbasic scripting capability in order to perform low level processing of the CAN frames, and keep the RPI for higher level processing. But to start and get familiar, you may want to do it all with the RPI.
If you have a RIO with USB, from the console, send %DFU 32165487 to enther the update mode. You will need to unplug and replug the USB in order for windows to rediscover the card.
After cycling power, the board should be operational again.
Install the XML file into C:\Program Files (x86)\Roboteq\NavSensor\Trees. After restarting the PC utility, you will see a CAN menu.
You can, and it is recommended, that you use the RIO's Microbasic scripting capability in order to perform low level processing of the CAN frames, and keep the RPI for higher level processing. But to start and get familiar, you may want to do it all with the RPI.
Please Log in or Create an account to join the conversation.
9 years 3 months ago #29529338
by hoylet
Hi I tried updating the firmware via com port (although this is actually a usb to serial converter)
Received an error on the last parts of the upload. Now I can't get any response from the RIO board.
I have tried riocom from the RPI and the RIO Configuration utility.
What do I do now ?????
Received an error on the last parts of the upload. Now I can't get any response from the RIO board.
I have tried riocom from the RPI and the RIO Configuration utility.
What do I do now ?????
Please Log in or Create an account to join the conversation.
Time to create page: 0.078 seconds