debug teensy

112 views
Skip to first unread message

Wu Jiang

unread,
Jul 5, 2017, 4:10:51 PM7/5/17
to LINOROBOT
Wondering if you guys know any good ways to debug teensy board. After I changed some code in firmware, I got this message:

Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino.

It must be my changes that causes teensy crash.

Juan Miguel Jimeno

unread,
Jul 5, 2017, 7:57:07 PM7/5/17
to LINOROBOT
Can the Teensy get connected?

If so, then most likely it's in the main loop. This usually happens when you're trying to publish in a faster rate( ie publishing multiple sensor readings continuously without controlling the polling rate) . Or something's hogging the code befor a publisher publish your message ( ie publishing IMU data but there's no IMU connected in the pin and it's waiting for the IMU data).

Wu Jiang

unread,
Jul 6, 2017, 10:47:39 AM7/6/17
to LINOROBOT

Wu Jiang

unread,
Jul 6, 2017, 10:48:59 AM7/6/17
to LINOROBOT
Also, I found minicom is very useful for debugging teensy.
Reply all
Reply to author
Forward
0 new messages