Go to Post Of course, the banana might mean nothing. It could just mean that Dave needs more potassium in his diet. :) - KathieK [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-01-2014, 18:33
Stuart's Avatar
Stuart Stuart is offline
#include coffee.h
FRC #1745 (P51- Mustangs)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Dallas, TX
Posts: 413
Stuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond repute
Send a message via AIM to Stuart
RS232 Serial Bridge not working on Firmware 107?

So we are using the RS232 Bridge built in to the Black jags to drive our CAN Bus but we have run in to some problems. I will attempt to Document the issue as clearly and as accurately as I can.

Documents used in the configuration and setup of our CAN Bus( for reference)

Changes we have made from the above Documentation ( all related to changes documented in the 2014 Manual)
  • All references to Firmware other than 107 for Black Jaguars(MDL-BDC24) and Firmware 101 for the "gray" Jaguars(MDL-BDC) have been installed as Version 107 for Black Jaguares and 101 for "gray" Jaguars.
  • All references to cRio Firmware other than FRC_2014_v52 are installed as FRC_2014_v52.
  • All references to the TI BDC-COMM tool other than version 107 are installed as version 107 (From VexPRO).

OK so here is what we have done
  1. We have created 3 Rs232 DB9 to RJ12 connectors ensuring that we have placed a 100ohm resistor between the red and green wires as described in the "You Can do CAN" Document.
  2. We have created 3 CAN Terminators with a 100ohm resistor between pins 2 and 3 as described in the "You Can do CAN" Document.
  3. We have verified with a multimeter that all the connections are correct and all the resistances are on the correct pins for all terminators and connectors
  4. We have purchased pre made 4c4p CAN Cables( Several 6" and a few 12") from AndyMark/CrossTheRoad.
  5. We have purchased a premade 6c6c reversed cable (7') from DigiKey as given in the "CAN Getting started" document.
  6. We have installed the 107 BDC-Comm software on our Windows 7 Laptop.
  7. We have Installed a the USB to Serial Software that came with our USB to Serial Cable.
  8. We have updated all our Black Jags to the latest 107 Firmware using the latest BDC-COMM tool with only 1 Jaguar attached. (Jaguar Firmware Update Instructions).
  9. We have assigned all our Black Jags individual odd numbers with only 1 Jaguar attached.(Jaguar Firmware Update Instructions).

Here is where our problems start
When we attempted to update the Gray Jags with the latest firmware our BDC Comms was unable to see more than 1 Jag. for any Setup ( B1-G1, B1-G2, B1-B2, B2-B1, B2-G1, B2-G2) all the following would show ONLY the First Black Jag in the series, the second jaguar (of either colour, even ones we have verified to talk when hooked up as the first Jag) would blink yellow.

Troubleshooting
  • We verified the cables were in the correct order and correct Ports ( Getting Started Guide).
  • We have verified the cables were correct to what was documented
  • We have verified that the Firmware is correct by re updating to 107
  • We have changed the assigned IDs of the Black Jags when connected to the Gray Jags.
  • We have Reset the Black and Grey Jags with the Reset Buttons.
  • We have changed out the terminators used and the connectors used.
  • We have verified that we are plugging in the 6c6p connector into the IOIOI port on the Black Jag and the Andymark/CrossTheRoad cable is plugged in to the other port and the first port on the Gray Jag.
  • We have verified that the battery is fully charged and the connections are solid ( working Jag is solid Yellow all other Jags are flashing yellow).

Given this information what are we doing wrong?
__________________
Proud mentor of Team #1745 the P-51 Mustangs

If at first it doesn't work, use a hammer.
If that doesn't work, use a bigger hammer.
  #2   Spotlight this post!  
Unread 27-01-2014, 21:47
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 320
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: RS232 Serial Bridge not working on Firmware 107?

It sounds like you are able to receive a message on each of the black jaguars, but it just doesn't pass it along.

We had a similar problem with a team here, and it turned out the middle pins on the RJ-12 connector where stuck depressed in and not springing back, so the CAN cable was not making contact. So the BDC-COMM tool could see the first jaguar in the chain, but not the rest. The only way we were able to fix this was to replace the outgoing RJ-12 connectors.

I would recommend looking in at the actual pins on both the input and output side for each of the jaguars and see if this is your problem.
  #3   Spotlight this post!  
Unread 27-01-2014, 21:53
Stuart's Avatar
Stuart Stuart is offline
#include coffee.h
FRC #1745 (P51- Mustangs)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Dallas, TX
Posts: 413
Stuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond repute
Send a message via AIM to Stuart
Re: RS232 Serial Bridge not working on Firmware 107?

That was it. Pins 2 and 3 on the down line were both not springing back( both Jags had the same issue).

We had to un-solder the rj15 connector from the Jaguar board
then use a straight razor to push the pins back in to place before soldering the connector them back into place.

I will write up a white paper with instructions on how to do this when I get some time towards the end of the season. until then here is a basic instructions on how to fix this.

Temp instructions

Note you are taking a Jaguar apart and using a heat gun to remove parts from the main PCB. PLEASE use correct ESD protection and care to not un-solder or overheat any other component.
  1. Unscrew the 4 philips screws on the back of the Jaguar
  2. Unclip the fan terminal from the fan headers
  3. Separate the internal board from the jaguar housing (be careful of ESD)
  4. On the back of the board the rj15 terminals will have 1 4 pin and 1 6 pin connector. We are focusing on the terminal that has 4 pins (the right one when the terminals are on the bottom with the fan facing up).
  5. Place the Jaguar board in a vice with the back of the board facing towards you.
  6. With a pair of plyers and a heat gun carefully desolder and remove the rj15 terminal (the heat will melt the plastic mounting pins as it removes the solder)
  7. If you look at the bottom of the rj15 connector you will see little slots where each of the spring pins are sitting
  8. Use a straight razor (or other very fine tool) push the spring pins up from the bottom of the connector attempting to get all the spring pins at the same height and springiness (you will have to overshoot to stretch the pins to their correct location)
  9. Use a spare CAN cable to verify the all the spring connectors are making correct contact.
  10. Use a solder sucker and a soldering iron remove the leftover solder from the Jaguar Board.
  11. When mounting the connector back be sure to align it properly with the square on the board. Note: The Jaguar casing has very tight tolerances and a slightly crooked connector will have to be remounted.
  12. Place the repaired connector back in its original mount point.
  13. Solder the connections to the board.
  14. Use a small amount of hot glue to mount the connector to the board (remember you melted the plastic mounting pins).
  15. Place the Jaguar Board on the back Jaguar housing.
  16. Connect power cables to the power side (right) of the board.
  17. Verify the Device light turns on (flashing yellow).
  18. Use a PC set up to communicate with CAN devices and a working Jaguar verify that the repaired Jaguar CAN terminals are functional. the device should report its ID and see a second Jaguar in the device chain.
  19. Remove the Power terminals and CAN Cables.
  20. Connect the Jaguar fan back to the Jaguar Board.
  21. Carefully put the Jaguar top housing back on the Jaguar (you will need to work with it as the tolerances are very tight).
  22. Screw in the 4 philips head screws to the back of the Jaguar.



And again thank you for your help.
__________________
Proud mentor of Team #1745 the P-51 Mustangs

If at first it doesn't work, use a hammer.
If that doesn't work, use a bigger hammer.

Last edited by Stuart : 28-01-2014 at 11:01. Reason: Better detail.
  #4   Spotlight this post!  
Unread 27-01-2014, 21:53
Foster Foster is offline
Engineering Program Management
VRC #8081 (STEMRobotics)
Team Role: Mentor
 
Join Date: Jul 2007
Rookie Year: 2005
Location: Delaware
Posts: 1,370
Foster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond repute
Re: RS232 Serial Bridge not working on Firmware 107?

Wow, that has to be one of the top ten "way to ask a technical question" that I've seen!!

Wish I could help but with that amount of detail, you should get some good ideas to try.

Good luck!!!!

Edited to note they got an answer pretty quickly!
__________________
Foster - VEX Delaware - 17 teams -- Chief Roboteer STEMRobotics.org
2010 - Mentor of the Year - VEX Clean Sweep World Championship
2006-2016, a decade of doing VEX, time really flies while having fun
Downingtown Area Robotics Web site and VEXMen Team Site come see what we can do for you.

Last edited by Foster : 27-01-2014 at 21:56. Reason: Posted seconds after the solution verification
  #5   Spotlight this post!  
Unread 27-01-2014, 22:05
efoote868 efoote868 is online now
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,372
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: RS232 Serial Bridge not working on Firmware 107?

If anyone were to ever write a "how-to" on how to write a question on Chief Delphi, I'd hope they'd point to this thread as an excellent example.

1. You clearly demonstrated that you put effort into a solution before turning for help.
2. You cited reference materials for those not familiar with the subject.
3. You documented your setup as well as what is different in your setup.
4. You explained what you've done so far to troubleshoot.
5. You put effort into your post with no easy to spot spelling/grammatical errors.

and finally,

6. You documented your solution; You've closed the topic and have let everyone know how you fixed your problem.

That was refreshing. Reps all around.
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
Closed Thread


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:39.

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


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