Go to Post I am still holding out for the jello-based game - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 18-01-2016, 19:36
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 524
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: CAN can not see PDP

Seems like there is something fundamental that is wrong. 2 RIOs and PDP and PCM are misbehaving? Maybe there is something going on with the actual wires.

Try this, grab two clean/prestine new wires, cleanly strip them, insert into the RIO and PDP's weidumuller connector. Be sure to press down on the white button before inserting the wire. Tug-test them by pulling on the insulation and make sure the wire doesn't pull out (doesn't require too much effort)


Video on inserting wire: https://youtu.be/kCcDw3lDYis
Source from: https://wpilib.screenstepslive.com/s...control-system

Maybe a photo of the wiring between RIO and PDP will reveal something obvious?
  #2   Spotlight this post!  
Unread 18-01-2016, 20:10
rakosi2 rakosi2 is offline
Registered User
FRC #4160
 
Join Date: Jan 2016
Location: San Diego
Posts: 15
rakosi2 is an unknown quantity at this point
Re: CAN can not see PDP

Here is a picture https://goo.gl/photos/Lj2NTgJo9ihDbbcs8. I used a new CAN wire from the KOP and still did not work. When I restored the image from 2015, CAN worked.
  #3   Spotlight this post!  
Unread 18-01-2016, 20:17
rakosi2 rakosi2 is offline
Registered User
FRC #4160
 
Join Date: Jan 2016
Location: San Diego
Posts: 15
rakosi2 is an unknown quantity at this point
Re: CAN can not see PDP

md5: FRC_roboRIO_2016_v19.zip 71641743A49F10B8FB61CFDD1A8FDF29
  #4   Spotlight this post!  
Unread 18-01-2016, 20:27
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 524
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: CAN can not see PDP

When the problem was happened was there code deployed? I'm wondering if reimaging 'fixes' it because a deployed app gets wiped away.
  #5   Spotlight this post!  
Unread 18-01-2016, 20:41
rakosi2 rakosi2 is offline
Registered User
FRC #4160
 
Join Date: Jan 2016
Location: San Diego
Posts: 15
rakosi2 is an unknown quantity at this point
Re: CAN can not see PDP

The problem happened when I imaged the RoboRIO to the 2016 gamehttps://wpilib.screenstepslive.com/s/4485/m/13503/l/144984-imaging-your-roborio when I went back to 2015 game, the CAN started to work again.
  #6   Spotlight this post!  
Unread 18-01-2016, 21:21
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 524
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: CAN can not see PDP

Another sanity check:
Is the firmware of the RIO 3.0.0f0 as reported in the web-based config?
(not the same as the RIO image).
http://wpilib.screenstepslive.com/s/...borio-firmware

EDIT: Nevermind, its 3.0.0f0 in the screenshot

Last edited by ozrien : 18-01-2016 at 21:25.
  #7   Spotlight this post!  
Unread 21-01-2016, 22:18
rakosi2 rakosi2 is offline
Registered User
FRC #4160
 
Join Date: Jan 2016
Location: San Diego
Posts: 15
rakosi2 is an unknown quantity at this point
Re: CAN can not see PDP

I am still having this issue. The CAN works in the 2015 game but in the 2016 image the CAN disappears. Can someone verify the Hash check that I posted before. I don't know what else it can be if no other team is having this issue.
  #8   Spotlight this post!  
Unread 22-01-2016, 11:00
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 524
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: CAN can not see PDP

The hash compared okay to mine.

Can you email support@crosstheroadelectronics.com? We'll figure it out, I'm wondering if there is some subtle hardware issue with either RIO or PDP.

Seems strange that your seeing multiple things disappear with multiple RIOs.
  #9   Spotlight this post!  
Unread 23-01-2016, 11:48
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 524
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: CAN can not see PDP

So the root-cause appears to be an anomaly with the 2016 web-based plugin that occurs only if there is a small number of devices (one or two) that have large device IDs (in this example both PCM and PDP were 62).
This limitation has the affect of a device not populating in the web-based config device list, even though CAN and robot API are working, which was the rakosi2's observation.

This has no impact on the roboRIO's API or your ability to control/monitor from robot-code.

For this functional limitation to occur there must be
[1] A small number of devices (typically one or two)
[2] All devices must have large device IDs (> ~30)

I came up with an easy workaround in case anyone gets bit by this.
If you have a device that isn't showing up on the web-page despite its LED(s) indicating good-communication, you can force it to appear with the following steps...
[1] Disconnect the CAN wires (or power) to that device while RIO is off.
[2] power boot the RIO
[3] navigate to the web-based config, wait a few seconds so it has a chance to fully render
[4] Then connect CAN (or power) to that device
[5] Manually refresh the page and the device will appear.
[6] At which point reduce the the Device ID (recommendations below).

For PDP I recommend using device ID '0' (seems to be be necessary if C++ users want to read PDP signals).
For PCMs I recommend starting at '0' and counting up .
For Talon SRXs I recommend starting at '0' and counting up.

I'll update the docs accordingly, thanks rakosi2 for helping diagnose the problem!
  #10   Spotlight this post!  
Unread 23-01-2016, 14:52
smitty6791 smitty6791 is offline
Registered User
AKA: Chris Smith
FRC #0111 (Wildstang)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Illinois
Posts: 4
smitty6791 is an unknown quantity at this point
Re: CAN can not see PDP

We were seeing the same problems with one of our old PDPs. It turned out that the PDP was running firmware version 1.3. It needs to be running version 1.4. Once we did that upgrade, the problem went away.

You can get the firmware image and instructions here:
http://www.ctr-electronics.com/pdp.h...ical_resources
  #11   Spotlight this post!  
Unread 24-01-2016, 23:04
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 524
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: CAN can not see PDP

Hey All,
Bringing this thread to a close, a write up of this functional limitation is in the Talon SRX Software reference guide in Section 21.23.
http://www.ctr-electronics.com/talon...ical_resources

Other product docs will be updated accordingly.
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 02:40.

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