Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Extra Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=68)
-   -   paper: You can do CAN: CAN on a Budget (http://www.chiefdelphi.com/forums/showthread.php?t=89435)

ratdude747 18-01-2011 00:03

paper: You can do CAN: CAN on a Budget
 
You can do CAN: CAN on a Budget by ratdude747

updated with new pictures.

Hope this is helpful to somebody out there...

imac256 27-01-2011 14:13

Re: paper: You can do CAN: CAN on a Budget
 
"You may then load your code. After doing that, the “CONSOLE OUPUT” DIP switch on the cRIO needs to be switched to off. Whenever you go to load code, set the DIP to on, otherwise, keep it at off."

Why do you need to set the DIP to on to download the code? I have downloaded C++ code to the robot with this switch in the off position and it worked with no problems.

nighterfighter 27-01-2011 17:20

Re: paper: You can do CAN: CAN on a Budget
 
Quote:

Originally Posted by imac256 (Post 1009774)
"You may then load your code. After doing that, the “CONSOLE OUPUT” DIP switch on the cRIO needs to be switched to off. Whenever you go to load code, set the DIP to on, otherwise, keep it at off."

Why do you need to set the DIP to on to download the code? I have downloaded C++ code to the robot with this switch in the off position and it worked with no problems.

Same here. The only time I have ever had to fiddle with DIP switches are when flashing the cRIO.

Edit: Just wanted to point out, make sure that when crimping the cables, the wire ends are fully inserted and have contact with the end of the plug, and you do a FIRM crimp. We did CAN last year, and so many CAN cables failed due to a bad crimp.

ratdude747 28-01-2011 17:40

Re: paper: You can do CAN: CAN on a Budget
 
thats odd. we had issues uploading labview with the switch off. switching it on fixed it.

I will have to get back with the team's programmer and see if he had any luck uploading with it off.

if it does work, i will edit the files to reflect that.

apalrd 28-01-2011 17:47

Re: paper: You can do CAN: CAN on a Budget
 
I've never needed to turn Console Out on to download (from LabVIEW)
I've been doing some serial experimentation, and it downloaded fine.

Related: The "No App" switch sometimes needs to be flipped to download.

ratdude747 28-01-2011 17:50

Re: paper: You can do CAN: CAN on a Budget
 
seems like there was something else going on. At tomorrow's meeting, I will see if the programmer would be willing to test it with the switch off.

otherwise, how does the rest look?

ratdude747 28-01-2011 23:28

Re: paper: You can do CAN: CAN on a Budget
 
ok, i have an answer:

he claims that:

1. the computer does not see the crio with the console out dip switch turned off

2. CAN works with the switch on.

granted, this crio had non frc FW at one point which we reflashed. also, we are not using the jags in closed loop mode.

any ideas?

Matt Krass 29-01-2011 00:08

Re: paper: You can do CAN: CAN on a Budget
 
Quote:

Originally Posted by ratdude747 (Post 1010840)
ok, i have an answer:

he claims that:

1. the computer does not see the crio with the console out dip switch turned off

2. CAN works with the switch on.

granted, this crio had non frc FW at one point which we reflashed. also, we are not using the jags in closed loop mode.

any ideas?

The console out switch controls whether or not debug messages and the like are echo'd out the serial port. It has absolutely nothing to do with the network communications link, and as far as I know, should have no effect on the ability to transfer files to the cRio. Perhaps someone else can verify this for me?

Interestingly enough, if you're using the serial to CAN bridge, I'd think leaving it on WOULD mess with CAN, but I guess if the Jags are smart enough to ignore non-properly formatted messages all it would do is slow things down a bit.

ratdude747 18-03-2011 00:59

Re: paper: You can do CAN: CAN on a Budget
 
Updated version!

The issues addressed above have been corrected, as it was a programmer error on which way is "on" on the crio's dip switches.

ANY feedback is still considered as this document may be used for many years to come.

ratdude747 02-04-2011 02:15

Re: paper: You can do CAN: CAN on a Budget
 
Updated again!

It now has many grammar fixes and spelling corrections. A few spots have been re-worded to improve clarity. Also added is a revision date to show how new the version is.

ratdude747 15-10-2011 07:32

Re: paper: You can do CAN: CAN on a Budget
 
UPDATES!

I have updated the document to reflect things in 2012, including the new cRIO and the move of the firmware/bdc-comm to TI's site.

I no longer have direct access to a team (since I am now a college student who is not actively mentoring), so if there any technical errors, Be sure to post about it and I will update to document.

ratdude747 15-10-2011 22:36

Re: paper: You can do CAN: CAN on a Budget
 
UPDATE!

After reading info in some of the beta threads, my information regarding the cRIO II is wrong, and I have since uploaded fixed files.

The error is that I forgot to mention the while the cRIO II doesn't have dip switches, the switches still exist, now in the cRIO firmware utility.

due to the beta nature of things, once screenshots of the new firmware tool are posted int he threads, there may be further updates to the document.

ratdude747 17-10-2011 13:34

Re: paper: You can do CAN: CAN on a Budget
 
There was an error in the graphics in the latest version.

Since I was using libreoffice and the .doc conversion (when I opened the source to edit it) was to blame for the errors, I now have a .odt version for those who wish to edit using libreoffice/openoffice/etc. the other 2 versions were also updated to fix the error.

ratdude747 20-10-2011 22:24

Re: paper: You can do CAN: CAN on a Budget
 
UPDATE:

I made some grammatical and wording edits. I also added a brief bit regarding pre-made parts.

ratdude747 09-01-2012 00:47

Re: paper: You can do CAN: CAN on a Budget
 
Reviving the thread for a question:

Could somebody check the pinout of the KOP db9 to rj-12 adapters against the chart in the whitepaper?

If they are different , I will note that in an updated whitepaper. If not, I will also note that in the whitepaper.

(seeing 131 .pdf downloads, SOMEBODY out there must be reading it...)


All times are GMT -5. The time now is 23:18.

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