Go to Post Robotic Football now thats something I would build 6 weeks for. - Nikkocharger [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 09-02-2014, 12:24
jarruda jarruda is offline
Software Engineer
AKA: Justin Arruda
FRC #1350 (Rambots)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2004
Location: United States
Posts: 16
jarruda is an unknown quantity at this point
Enhanced I/O Missing

I am having an issue trying to get the Cypress Enhanced I/O board working with the 2014 Driver Station. We've been using the same board without problems for several years now without issue.

Here is what I'm seeing:


The I/O status light is grayed out and the message:
"Unable to locate I/O unit over USB" shows in the Messages text area.

But, if you look at the I/O tab, you see the green light next to it. Navigating to that tab I see:


All the data is correct - it responds to accelerometer data and my connected buttons and toggles. So clearly the Driver's Station can see and communicate with the Cypress PSoC, but the Diagnostics tab don't seem to see it.

On the robot, when we attempt to use the Java library to configure the EI/O, it throws an Enhanced I/O Missing exception.

I've checked the version of everything according to the screensteps site:
FTK3 (3.4.1.20) is listed in device manager.
ftk_3_simfw.hex is 29,663 bytes.
nicyapi.dll is installed and is version 1.0.0.49154.

My driver's station version is 01.04.14.00, which I think is the latest?

Any ideas?

Last edited by jarruda : 09-02-2014 at 12:25. Reason: Fix image links
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2014, 18:48
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,544
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Enhanced I/O Missing

I see the same thing. No LED on the diagnostics tab, but everything works on the I/O tab.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2014, 19:02
Zmarken Zmarken is offline
Registered User
FRC #1716 (Redbird Robotics)
Team Role: Engineer
 
Join Date: Dec 2013
Rookie Year: 2012
Location: De Pere
Posts: 30
Zmarken is an unknown quantity at this point
Re: Enhanced I/O Missing

You might've already done this, but not mentioned it, but have you made sure the service is started? That could potentially be the issue, as it's mentioned in the "Messages" in your first screenshot...
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2014, 19:14
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,544
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Enhanced I/O Missing

Upon further investigation, it's the LED that's broken. I think it's safe to ignore it. If you plug in Joystick 5, the I/O light turns on.
Reply With Quote
  #5   Spotlight this post!  
Unread 10-02-2014, 05:57
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Enhanced I/O Missing

Interesting. Additional joysticks were added to aid in identifying and configuring the TI board. In the process, the USB Devices on the Diagnostics tab got out of order and the last two joysticks, I/O, and Kinect LEDs are indeed busted. Trust the one on the I/O Button, but not the one in Diagnostics.

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 10-02-2014, 11:46
jarruda jarruda is offline
Software Engineer
AKA: Justin Arruda
FRC #1350 (Rambots)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2004
Location: United States
Posts: 16
jarruda is an unknown quantity at this point
Re: Enhanced I/O Missing

Quote:
Originally Posted by Joe Ross
Upon further investigation, it's the LED that's broken. I think it's safe to ignore it. If you plug in Joystick 5, the I/O light turns on.
Unfortunately attempting to utilize the EI/O from robot code throws an Enhanced I/O Missing exception when trying to configure it, so it seems that the issue is not only the LED. I will attempt to connect a joystick to port 5 to see if it will fool the DS into thinking it's connected.

Quote:
Originally Posted by Zmarken View Post
You might've already done this, but not mentioned it, but have you made sure the service is started? That could potentially be the issue, as it's mentioned in the "Messages" in your first screenshot...
The service is indeed started. The correct version would not show up in device manager if it was not.

Furthermore, the device is working on the I/O tab. It displays live accelerometer data and the current state of the various buttons and switches that I have connected to the Cypress board.
Reply With Quote
  #7   Spotlight this post!  
Unread 10-02-2014, 11:48
jarruda jarruda is offline
Software Engineer
AKA: Justin Arruda
FRC #1350 (Rambots)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2004
Location: United States
Posts: 16
jarruda is an unknown quantity at this point
Re: Enhanced I/O Missing

Quote:
Originally Posted by Greg McKaskle View Post
Interesting. Additional joysticks were added to aid in identifying and configuring the TI board. In the process, the USB Devices on the Diagnostics tab got out of order and the last two joysticks, I/O, and Kinect LEDs are indeed busted. Trust the one on the I/O Button, but not the one in Diagnostics.

Greg McKaskle
Greg, is there any way that this could affect usage of the EIO board via the DriverStationEnhancedIO Java class?
Reply With Quote
  #8   Spotlight this post!  
Unread 12-02-2014, 18:17
jarruda jarruda is offline
Software Engineer
AKA: Justin Arruda
FRC #1350 (Rambots)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2004
Location: United States
Posts: 16
jarruda is an unknown quantity at this point
Re: Enhanced I/O Missing

I have tested moving a joystick to the 5th port to see if it would "trick" the DS into thinking the EI/O unit was present.

While it indeed does light the LED on the Diagnostic tab, it is a red herring and does not resolve my connectivity issues.

On the robot I am still receiving the following exception when I try to configure the EI/O unit:

Code:
edu.wpi.first.wpilibj.DriverStationEnhancedIO$EnhancedIOException: Enhanced IO Missing
Greg, or anyone else with information on what can cause this particular exception while the DS can clearly access the EI/O device, I'm willing to try whatever you can think of.
Reply With Quote
  #9   Spotlight this post!  
Unread 12-02-2014, 23:45
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: 9,112
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
Re: Enhanced I/O Missing

Do you actually have it configured for Enhanced I/O? Or is it set to Compatible mode instead?
Reply With Quote
  #10   Spotlight this post!  
Unread 13-02-2014, 07:51
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Enhanced I/O Missing

I don't have a Cypress board with me to test, but looking at the code, I don't believe that the swapped LEDs on the Diagnostics tab will have any other affects. The I/O LED on the I/O tab is used in the code to "remember" that the board is present and functioning. The Diagnostics cluster is a leaf element that is a copy of the I/O and other LEDs.

Please check the mode, as Alan pointed out. I noticed that you were getting a Diagnostics error earlier, and again, I don't think the LED is the cause of that.

Greg McKaskle
Reply With Quote
  #11   Spotlight this post!  
Unread 03-03-2014, 13:41
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,345
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Enhanced I/O Missing

We are seeing the symptom of the IO LED not lighting, but we also see no changes on the I/O screen either when various inputs are changed.
We do not need the Extended configuration, Compatibility mode is enough for us.

Were there any new drivers needed this year that my students may have overlooked installing? Is it possible we could be running an older version of the Driver's Station? I did not watch them perform install and we may be using a previous year's version.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #12   Spotlight this post!  
Unread 03-03-2014, 20:56
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Enhanced I/O Missing

The DS version is easy. It is kickoff day 2014.

I don't have a Cypress board with me, but I assume that you are setting the Digital outputs. The LEDs are supposed to be tied to the Digital outputs. If that doesn't work, perhaps try Enhanced and see if that works even though you don't need as many channels.

Greg McKaskle
Reply With Quote
  #13   Spotlight this post!  
Unread 03-03-2014, 22:53
jarruda jarruda is offline
Software Engineer
AKA: Justin Arruda
FRC #1350 (Rambots)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2004
Location: United States
Posts: 16
jarruda is an unknown quantity at this point
Re: Enhanced I/O Missing

Quote:
Originally Posted by billbo911 View Post
We are seeing the symptom of the IO LED not lighting, but we also see no changes on the I/O screen either when various inputs are changed.
We do not need the Extended configuration, Compatibility mode is enough for us.

Were there any new drivers needed this year that my students may have overlooked installing? Is it possible we could be running an older version of the Driver's Station? I did not watch them perform install and we may be using a previous year's version.
Have you looked at the troubleshooting section of the screensteps website?
http://wpilib.screenstepslive.com/s/...module-for-frc

If the I/O tab's light is not lit and you can't see things like live accelerometer data, one of the bullet points of the troubleshooting section usually doesn't check out.


** Update to my situation: I managed to get everything working again by performing the configuration of the unit in robot code later on during initialization. It seems to have been timing related or perhaps something like configuring the jaguars in the same DS update upset the system.
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 21:22.

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