OCCRA
Go to Post Remember that the reason that you do something should NEVER be for the sole purpose of winning an award. To paraphrase something said by one of the Hall of Fame teams: "You should choose to do something because it is fun and the right thing to do." - tim-tim [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-17-2018, 07:34 AM
gerthworm's Avatar
gerthworm gerthworm is offline
Making the 1's and 0's
FRC #1736 (Robot Casserole)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Peoria, IL
Posts: 598
gerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond repute
CAN Debug Tools

Anyone have recommendations on good CAN debug tools for FRC?

I've used Kvaser and Vector products professionally and I know they work well, but were a bit pricy.

I also recently purchased this $25 module from SEEED Studios. Will try to play with it a bit tonight.... but, before I chase my tail too much, anyone have experience working with this yet?
Reply With Quote
  #2   Spotlight this post!  
Unread 07-17-2018, 12:27 PM
solomondg's Avatar
solomondg solomondg is offline
Registered User
AKA: Solomon
FRC #2898 (Flying Hedgehogs)
Team Role: Leadership
 
Join Date: Aug 2016
Rookie Year: 2016
Location: Portland, Oregon
Posts: 108
solomondg has a brilliant futuresolomondg has a brilliant futuresolomondg has a brilliant futuresolomondg has a brilliant futuresolomondg has a brilliant futuresolomondg has a brilliant futuresolomondg has a brilliant futuresolomondg has a brilliant futuresolomondg has a brilliant futuresolomondg has a brilliant futuresolomondg has a brilliant future
Re: CAN Debug Tools

Personally, I'm a huge fan of the CANable.
Reply With Quote
  #3   Spotlight this post!  
Unread 07-17-2018, 12:32 PM
marshall's Avatar
marshall marshall is online now
Online Stripe & Drape Sales
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 2,811
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: CAN Debug Tools

Quote:
Originally Posted by solomondg View Post
Personally, I'm a huge fan of the CANable.
You can't buy them at the moment. There are some clones that exist though that are available.

The candlelight firmware based/compatible devices do seem to be the way to go though.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Clarke's Laws
Reply With Quote
  #4   Spotlight this post!  
Unread 07-17-2018, 01:08 PM
couvillion couvillion is offline
Registered User
FRC #1818
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: shreveport LA
Posts: 63
couvillion is an unknown quantity at this point
Re: CAN Debug Tools

Does anyone have any experience with SparkFun AST-CAN485 Dev Board?
Reply With Quote
  #5   Spotlight this post!  
Unread 07-17-2018, 01:49 PM
gerthworm's Avatar
gerthworm gerthworm is offline
Making the 1's and 0's
FRC #1736 (Robot Casserole)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Peoria, IL
Posts: 598
gerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond repute
Re: CAN Debug Tools

https://github.com/HubertD/candleLight_fw

Yowza, this is super slick. I suddenly regret my $25 purchase. I'll see where it gets us, but this really seems like the better answer.

Unfortunately, no experience with the sparkfun device yet .
Reply With Quote
  #6   Spotlight this post!  
Unread 07-18-2018, 09:58 PM
kylelanman's Avatar
kylelanman kylelanman is online now
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 246
kylelanman is a splendid one to beholdkylelanman is a splendid one to beholdkylelanman is a splendid one to beholdkylelanman is a splendid one to beholdkylelanman is a splendid one to beholdkylelanman is a splendid one to beholdkylelanman is a splendid one to beholdkylelanman is a splendid one to behold
Re: CAN Debug Tools

I'm curious what type of problems and things are you wanting to debug? Given the CAN bus is almost entirely managed by CTRE and just works I've not had a reason other than curiosity to sniff it.

Personally:

From a hardware perspective I use https://www.peak-system.com/PCAN-USB.199.0.html?&L=1 They are relatively cheap when it comes to CAN tools. As other have pointed out there are much cheaper options. I've recently learned about canable and would like to switch to it. I use PCAN's because they are the tool we have standardized on at work so I have access to them.

From a software perspective I use Jupyter (IPython) Notebooks with Matplotlib and Pandas. This combination allows one to easily explore CAN traces and visualize different signals.
__________________







"May the coms be with you"

Is this a "programming error" or a "programmer error"?
Reply With Quote
  #7   Spotlight this post!  
Unread 07-19-2018, 06:29 AM
gerthworm's Avatar
gerthworm gerthworm is offline
Making the 1's and 0's
FRC #1736 (Robot Casserole)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Peoria, IL
Posts: 598
gerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond reputegerthworm has a reputation beyond repute
Re: CAN Debug Tools

Quote:
Originally Posted by kylelanman View Post
I'm curious what type of problems and things are you wanting to debug? Given the CAN bus is almost entirely managed by CTRE and just works I've not had a reason other than curiosity to sniff it.
We got our hands on a piece of non-FRC hardware that we're looking to interface to the RIO over CAN. Experimentation work so far, just barely starting the software work now. The thought was that, at some point, we were going to need to watch the packets going back and forth.
Reply With Quote
  #8   Spotlight this post!  
Unread 07-20-2018, 03:17 PM
Clayton Yocom's Avatar
Clayton Yocom Clayton Yocom is offline
Programming Mentor
FRC #0027 (RUSH)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Clarkston, MI
Posts: 170
Clayton Yocom has a spectacular aura aboutClayton Yocom has a spectacular aura about
Send a message via AIM to Clayton Yocom Send a message via MSN to Clayton Yocom Send a message via Yahoo to Clayton Yocom
Re: CAN Debug Tools

When we were first playing around with some CAN stuff at work we used one of the 5$ obd-ii "elm-compatible" devices and telnetting into it to get the data we want.

They are basically just CAN to Serial interpreters that have some processing overtop for common diagnostic frameworks, but you can disable all that and process the raw CAN frames -- albeit not at blazing speeds.
__________________
Member of FRC Team 45 TechnoKats : 2011 - 2016
Member of FRC Team 27 Team RUSH : 2017 - Present
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:44 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi