Go to Post Before anyone accuses FIRST of being in the pocket of the sponsoring corporations, they might spend a minute and a half to actually apply some of that critical analytical ability that we are supposed to be demonstrating as educated engineers. - dlavery [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, 01:37
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
Issue with Cypress FirstTouch

All,
I am trying to get my driver station to recognize the Cypress FirstTouch Module and I'm not having much success.
Our FirstTouch Module comes from the 2013 KoP.

The Driver Station and associated software uses the latest FRC Update (2.0).

We attempted to update the firmware from the Classmate via the FRC 2013 Control System manual using FRC_IO.2012.v3.hex, and got the error "The hex file was built for silicon revision ES3, but the acquired device is revision **"

PSoC version was 3.12.0.827.

Based on online recommendations, I decided to take the device home and install with my desktop computer. The same error occurred here as well. I updated PSoC to version 3.17 from the Cypress website and then retried the firmware update, and it indicated that the update was successful.
However, The Driver Station does not recognize the board still. I uninstalled V3.17 and the DS, re-installed (back to 3.12.0.827), still with no luck getting the DS to recognize the board.

More troubleshooting I've tried:
- Verified the CyMiniProg2Service is running
- Did a checksum compare of PSoc Flash vs Hex file --> passes (0x4271) (Wouldn't this mean the correct firmware is installed? v3.12 still won't allow uploading new firmware)
- Verified the USB device name is FTK3 (3.4.1.20)
- Checked the "bootstrap firmware" file ftk_3_simfw.hex --> WRONG filesize! My file's size is 25,257 bytes, not 29,663 bytes

What is the "bootstrap" firmware, and where do I find the correct file if this one is wrong?

Anything else I can try??
__________________
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)
  #2   Spotlight this post!  
Unread 08-02-2013, 08:17
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,801
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've seen this problem, but haven't had the urgency or time to research it.
I did trade a working one we had for a board with the problem, so I could look at it, but build season pushed that aside.
It seems to be an upgraded version of the boot firmware doesn't return it's version # in a way compatible with the older PSoC Programmer 3.12
And the Programmer won't update the board unless it can identify the board version.

I've attached the 29K version of ftk_3_simfw.hex
Attached Files
File Type: zip FRC-PSoC.zip (10.5 KB, 22 views)
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 08-02-2013 at 08:20.
  #3   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,521
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.
  #4   Spotlight this post!  
Unread 08-02-2013, 10:12
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,753
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
  #5   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
  #6   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.
  #7   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)
  #8   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,801
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 02:15.

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