Go to Post Sleep is for the weak - TEntwistle [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Events   CD-Media   CD-Spy   FRC-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 01-19-2012, 02:57 PM
bowmanb bowmanb is offline
Registered User
AKA: TSFL RETURNS
FRC #3991 (KnightVision)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Baton Rouge
Posts: 5
bowmanb is an unknown quantity at this point
Angry Fast flashing RSL (200ms) issue

(Rookie Alert )
I have a crio-2/sidecar issue. No matter what I do, the RSL flashes at the fast rate. I can talk to it both thru the Dlink and with the crossover cable. I can reimage it with no problem, change dipswitches, deploy code (both the simplemotercontrol from the tutorial and robotmain), but nothing happens at the jaguars (flashing yellow always, which means no pwm) and the RSL continues to flash (yes, the jumper is installed, the flash rate matches the sidecar led).

when i start the driver station, it connects and gives me status on lots of things, but it says there is no code loaded and the robot, bridge and enet lights on the diagnostic panel switch between green and red.

I've reimaged the crio several times now with no errors. While it's formatting and loading, no RSL, but after reboot, the RSL starts flashing immediately. Sometimes after reimage and reboot, I get a solid RSL for about 10-20 seconds (just long enough to get my hopes up) before it starts flashing.

FYI, this rig has never worked, we just put it together at the Jumpstart last weekend and our db-37 cable got destroyed when they tried to flip the connector around, so I just got a new cable Tuesday. It is possible that the reversed db-37 was connected up briefly on Saturday. Could that have damgaged anything?.

I've been through the control system tutorial many times now. I'm trying to contact a veteran team in town now to see if they can help, but I thought I'd post up here too. I am wishing for a spare crio and sidecar. If they weren't so expensive I would have some on the way already.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-19-2012, 03:40 PM
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Itinerant Programmer
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 7,188
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Fast flashing RSL (200ms) issue

The flashing sounds normal for missing code.
When you download code use a default project as-is, "build" and choose "Run as startup" to see if that keeps your Robot code light on.
When you get that lit successfully, you'll still need to Enable the Driver Station before the Jaguar lights go solid.

As far as status lights go, make sure the Digital Sidecar power LEDs all bright green, and the cRIO status lights are all correct.
__________________
"A child of five could understand this. Fetch me a child of five." - Groucho Marx
Reply With Quote
  #3   Spotlight this post!  
Unread 02-19-2012, 04:52 PM
Gaelan Dean Gaelan Dean is offline
Registered User
FRC #1885 (Ilite)
Team Role: Programmer
 
Join Date: Aug 2011
Rookie Year: 2010
Location: Virginia
Posts: 3
Gaelan Dean is an unknown quantity at this point
Re: Fast flashing RSL (200ms) issue

We are also having this problem. Have you resolved it yet?
Reply With Quote
  #4   Spotlight this post!  
Unread 02-19-2012, 08:57 PM
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 7,730
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Send a message via AIM to Alan Anderson
Re: Fast flashing RSL (200ms) issue

Here's one reason this might be happening. If you never download code persistently so that it runs on cRIO startup, and if you close your software development before you launch the Driver Station program, you will always see "no robot code".

Make sure you're not just deploying the robot code in debug mode. If you do run it in debug mode, make sure you don't stop the code before you enable the robot.
Reply With Quote
  #5   Spotlight this post!  
Unread 02-20-2012, 11:00 AM
Gaelan Dean Gaelan Dean is offline
Registered User
FRC #1885 (Ilite)
Team Role: Programmer
 
Join Date: Aug 2011
Rookie Year: 2010
Location: Virginia
Posts: 3
Gaelan Dean is an unknown quantity at this point
Angry Re: Fast flashing RSL (200ms) issue

In our case, we discovered that code that was changing the system clock rate (SetSysClkRate()) led to the problem. Removing the call to SetSysClkRate() made the problem go away.

It seems like some of the code in WPILib must be making assumptions about the clock rate. You may want to avoid adjusting the clk rate.
Reply With Quote
  #6   Spotlight this post!  
Unread 02-20-2012, 11:02 AM
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 5,855
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Fast flashing RSL (200ms) issue

Quote:
Originally Posted by Gaelan Dean View Post
changing the system clock rate (SetSysClkRate()) led to the problem
Why were you changing the system clock rate?


Reply With Quote
  #7   Spotlight this post!  
Unread 02-20-2012, 11:12 AM
Gaelan Dean Gaelan Dean is offline
Registered User
FRC #1885 (Ilite)
Team Role: Programmer
 
Join Date: Aug 2011
Rookie Year: 2010
Location: Virginia
Posts: 3
Gaelan Dean is an unknown quantity at this point
Re: Fast flashing RSL (200ms) issue

We're optimizing the kernel to achieve more processing power for other computations.
Reply With Quote
  #8   Spotlight this post!  
Unread 02-22-2012, 08:36 AM
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 5,855
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Fast flashing RSL (200ms) issue

Quote:
Originally Posted by Gaelan Dean View Post
We're optimizing the kernel to achieve more processing power for other computations.
How did you get access to the source code to modify and re-build the kernel?



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 10:01 PM.

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


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