Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   TI Launch Pad Button Not Working (http://www.chiefdelphi.com/forums/showthread.php?t=134157)

jon_bui 07-02-2015 17:39

TI Launch Pad Button Not Working
 
I'm trying to test out the KOP TI Launchpad. I've successfully flashed it with the Gamepad Tool for FRC, using option 3. My driver station recognizes the launchpad as a joystick, but the Driver Station doesn't recognize button pushes. I just have one button for now, one wire is plugged into gnd and the other has been plugged into p4.1. I've use the diagram on the gamepad tool to try all the other pins designated for buttons. But no luck. Any advice?

wt200999 07-02-2015 17:56

Re: TI Launch Pad Button Not Working
 
The LaunchPad has pull down resistors, so you need to connect from the port to 3.3V.

There is an image here:
http://processors.wiki.ti.com/index....igital_Buttons

(This is a change from the Stellaris LaunchPad from 2014)

jon_bui 07-02-2015 18:33

Re: TI Launch Pad Button Not Working
 
Thanks, it worked. You're the man!

BitTwiddler 08-02-2015 00:18

Re: TI Launch Pad Button Not Working
 
1 Attachment(s)
Mitch got ours working today. Course he spent over 2 hours to correctly map the inputs to the correct wires. Now to build us a box to house the thing.

billbo911 08-02-2015 16:29

Re: TI Launch Pad Button Not Working
 
We ran into a minor issue yesterday with the LaunchPad.
If we boot the DS with the LaunchPad connected, Windows recognizes it and it is displayed on the DS along with the Joysticks. Although, button presses are not sensed or displayed.

Now if we connect the Launchpad after Windows has booted, everything works correctly. This would be a major issue if the LaunchPad was buried inside our Drives's Station, or access to the USB connectors on the laptop were not easy to access. Fortunately, the portion of our Driver's Station where the LaunchPad is is a separate box and won't be plugged in until the laptop is booted.

Christopher149 08-02-2015 16:46

Re: TI Launch Pad Button Not Working
 
Quote:

Originally Posted by billbo911 (Post 1440321)
We ran into a minor issue yesterday with the LaunchPad.
If we boot the DS with the LaunchPad connected, Windows recognizes it and it is displayed on the DS along with the Joysticks. Although, button presses are not sensed or displayed.

Now if we connect the Launchpad after Windows has booted, everything works correctly. This would be a major issue if the LaunchPad was buried inside our Drives's Station, or access to the USB connectors on the laptop were not easy to access. Fortunately, the portion of our Driver's Station where the LaunchPad is is a separate box and won't be plugged in until the laptop is booted.

Does F1 still refresh joysticks, and does that help?

wt200999 08-02-2015 17:05

Re: TI Launch Pad Button Not Working
 
I was able to replicate this in a VM. In addition to your description, I also tried 'soft' disconnecting the device from the Windows VM (board itself stays powered) and reconnecting it, and I still was unable to get button inputs. So in this case the device requires a full reset.

On that note, and while not optimal, you can use the RST button or pin to force a reset. That seemed to work on my end to get the button inputs responding again.

Also rescanning or using F1 did not work to get the buttons responsive again.

I've submitted a bug for this on Github and we will take a look at it.

billbo911 08-02-2015 17:18

Re: TI Launch Pad Button Not Working
 
Quote:

Originally Posted by wt200999 (Post 1440337)
.....
On that note, and while not optimal, you can use the RST button or pin to force a reset. That seemed to work on my end to get the button inputs responding again.

Also rescanning or using F1 did not work to get the buttons responsive again.

I've submitted a bug for this on Github and we will take a look at it.

Thanks for submitting the Bug!

Accessing the RST button on our Co-Pilot console is not an option. The LaunchPad is buried inside a closed 14" X 14" button box.
So, until a fix comes out, we will just not plug the box in until the Laptop is fully into Windows.

BitTwiddler 08-02-2015 23:27

Re: TI Launch Pad Button Not Working
 
Quote:

Originally Posted by wt200999 (Post 1440337)
I was able to replicate this in a VM. In addition to your description, I also tried 'soft' disconnecting the device from the Windows VM (board itself stays powered) and reconnecting it, and I still was unable to get button inputs. So in this case the device requires a full reset.

On that note, and while not optimal, you can use the RST button or pin to force a reset. That seemed to work on my end to get the button inputs responding again.

Also rescanning or using F1 did not work to get the buttons responsive again.

I've submitted a bug for this on Github and we will take a look at it.

Guess we'll plan to make the reset button accessible from outside the box. Thanks for the "heads-up".

billbo911 09-02-2015 11:52

Re: TI Launch Pad Button Not Working
 
Quote:

Originally Posted by BitTwiddler (Post 1440491)
Guess we'll plan to make the reset button accessible from outside the box. Thanks for the "heads-up".

Just make sure the button isn't too easily accessed. The last thing you want to do is accidentally hit it right in the middle of a match!


All times are GMT -5. The time now is 20:55.

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