Go to Post Lesson learned: don't hide cables where drills can find them! - Richard Wallace [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 08-02-2013, 08:30
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Issue with Cypress FirstTouch

I know this doesn't answer your question, however I thought it would he helpful to make you aware of it.

The Cypress First Touch is notoriously fickle. We stopped using it after the first year of struggles, and switched over to this:

https://www.estoprobotics.com/estore...d&productId=33

The best aspect of the e-stop product is that it is recognized as a joystick HID device. No playing with firmware or anything else. Of course, its capabilities might not fit your application.
  #2   Spotlight this post!  
Unread 08-02-2013, 10:12
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,813
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Issue with Cypress FirstTouch

We had a lot of problems with the Cypress device last year. The "old" one from a previous year would occasionally cut out on us while using it. We figured something happened to the board, so we bought a new one. We spent 2 weeks trying to get the driver station to recognize it before we gave up and used a joystick instead. It was a less than optimal solution, but we didn't have time to futz around with something else to get it working at that point.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #3   Spotlight this post!  
Unread 08-02-2013, 10:52
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Issue with Cypress FirstTouch

We used it when it was new in 2010.

We will NEVER use it again.

We used the guts of a gamepad for buttons only, then switched to the uhid.

It looks like a USB HID device to the laptop, no drivers needed. It has analog and digital inputs, and has worked well for us.

Back when we used the Cypress board in 2010, we played at least two matches without it in competition because it just didn't work well. It turned out that the driver would lock up if the computer went through sleep mode, so we could never let the laptop go to sleep mode that entire season (even at the championships) or risk having to reboot TWICE to get the Cypress board to work again.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #4   Spotlight this post!  
Unread 08-02-2013, 12:36
sircedric4's Avatar
sircedric4 sircedric4 is offline
Registered User
AKA: Darren
no team (The SS Prometheus)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Lousiana
Posts: 245
sircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond repute
Re: Issue with Cypress FirstTouch

I am having the exact same problem as the initial poster. If anyone could answer our question on how they got their Cypress boad working that would be extremely helpful.

Edit:
We performed the steps in Post 3 from this thread and it fixed the issue for us:
http://www.chiefdelphi.com/forums/sh...ight=frc_io.v3

It basically boiled down to programming the Cypress on a separate computer. I see you already tried that so I am sorry that I am unable to help. If you do get it figured out please post the solution.

Last edited by sircedric4 : 08-02-2013 at 13:05.
  #5   Spotlight this post!  
Unread 10-02-2013, 00:35
seg9585's Avatar
seg9585 seg9585 is offline
Registered User
AKA: Eric
FRC #4276 (Surf City Vikings)
Team Role: Engineer
 
Join Date: Feb 2006
Rookie Year: 2001
Location: Boeing (Seal Beach, CA)
Posts: 520
seg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond repute
Re: Issue with Cypress FirstTouch

Resolved!

After fiddling around with the controller for awhile, I managed to find a way to get the DS to recognize the First Touch module. For anyone still having trouble, here are the exact steps I used:

1. On a clean computer (never installed Cypress/DS), install the LabView 32-bit Runtime engine (from LabView website, see Control System instructions).

2. Install the FRC Utilities and Driver Station (Rev 2 updates). This can be installed directly, without havign a previous version loaded on your PC. This will install Cypress PSoC 3.12

3. Plug in the FirstTouch module (USB). Open PSoC, click the "Utilities" tab, then "Check for Update". Install version 3.17 from the Cypress website. After install, reboot computer.

4. Open PSoC version 3.17, load and program firmware using FRC_IO.2012.v3.hex file per the FRC Control System instructions. This resulted in a success for me. You can check for success by clicking the "Checksum" button and verifying that the loaded file and PSoC firmware both have the same checksum.

5. Disconnect PSoC module from computer.

6. Completely uninstall all Cypress software. (Use Add/Remove programs). Also, you'll need to manually remove the Program Files/Cypress folder if it wasn't removed already. I also went into my Registry and manually removed keys with the title CyMiniProg2Service . (BE CAREFUL when changing items in your registry!!)

7. Completely uninstalled the FRC Driver Station software (Add/Remove Programs). Restart computer.

8. Now that your computer is fresh, RE-INSTALL the FRC Driver Station software. This will re-install Cypress with a fresh copy of 3.12 and associated files. Plug the module back into your computer.

9. In PSoC Programmer, you can open it up, load the 2012 hex file, and verify the checksums still match. You won't be able to re-flash the firmware with this version, though.

10. Go into Control Panel --> Administrative Tools --> Services. Manually start CyMiniProg2Service (and set it to automatically start).

11. Load your Driver Station and see if the device is recognized! If you configure the I/O to Advanced mode, you should see the accelerometer data changing when you move the module around.

Hope this helps!
__________________
My FIRST legacy:

Team 204 Student 2001, 2002 (Voorhees, NJ)
Team 1493 College Mentor 2006 - 2008 (Troy, NY)
Team 2150 Intern/Professional Mentor 2007, 2009 (Palos Verdes)
Team 4123 Lead Engineering Mentor 2012 (Bellflower, CA)
Team 4276 Engineering Mentor 2012-2016 (Huntington Beach, CA)
  #6   Spotlight this post!  
Unread 10-02-2013, 08:56
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
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: 8,846
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: Issue with Cypress FirstTouch

I can confirm that the boards returning "device revision is **" need PSoC Programmer 3.17 to download the FRC firmware.

I did it on a machine I'm not using as a Driver Station for FRC and just installed PSoC Programmer 3.17 from the Cypress website: http://www.cypress.com/?rID=38050
Copied the FRC Cypress firmware onto that machine.
Plugged in the Cypress board and updated it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 10-02-2013 at 08:59.
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 16: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