|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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?? |
|
#2
|
|||||
|
|||||
|
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 Last edited by Mark McLeod : 08-02-2013 at 08:20. |
|
#3
|
||||
|
||||
|
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
|
||||
|
||||
|
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.
|
|
#5
|
|||||
|
|||||
|
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. |
|
#6
|
||||
|
||||
|
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
|
||||
|
||||
|
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! |
|
#8
|
|||||
|
|||||
|
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. Last edited by Mark McLeod : 10-02-2013 at 08:59. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|