#PA tool detecting serial port but not running code

31 messages · Page 1 of 1 (latest)

vocal cove
#

I have checked everything, updated the hex on my teensy, and the program indicates that a connection exists, but it doesn't run at all. Can I get some help in terms of what might be wrong causing it to not run at all? This only started after I downloaded the newest release 42.5 and updated teenxy with the newest hex program

#

for the record, this is what it looks like

lean zinc
#

Did you use change grip order to disconnect all the controllers first? Just to make sure. Does keyboard control work?

soft rock
#

if the ticks are not going up, likely it's on the connection

vocal cove
vocal cove
soft rock
#

0 ticks usually means that a connection was established but the communication isn't properly going through

#

some things we can look at as potential troubleshooting

  • redocking the switch
  • attempt a different port on the switch dock and/or computer
#

if these didn't work the next reasonable step would be to route everything to the computer, we'll see when we get there

vocal cove
#

I've tried both of those steps already prior to making this post

#

is there a page on github that mentions or contains information relating to routing things to the computer?

soft rock
#

alright can you plug the entire loop to your computer

#

both serial and microcontroller should be connected

#

this helps to know if the issue is on the hardware or switch end

vocal cove
#

ok. ticks are giving non-zero values when plugged into the computer

soft rock
#

okay so the hardware itself is set up correctly, as is with the switch

vocal cove
#

yes

soft rock
#

I would double check the dock, try a different port on there, make sure that enough power is going to it, etc.

vocal cove
#

I'm going to reboot the switch and see if it fixes it

soft rock
#

we've established that the switch side is fine, should mostly be a dock side issue in this case but yeah doesn't hurt to try restarting

vocal cove
#

btw, what do the ticks indicate?

#

how many inputs from the microcontroller are being accepted by the device per time interval?

vocal cove
#

seems that the game was in a bugged state

#

thanks for all the help!

lean zinc
#

Need “turn it off and on again” sticker

soft rock
#

you are on the right track, a tick is a constant time unit that usually measures a loop of logic computation

#

it's used in this case to also show how long it was since the last active connection

vocal cove