So i was tired of the clunky Arduino IDE and decided to try and get a proper debugging scenario working with GDB https://github.com/ftrias/TeensyDebug and PlatformIO under Visual Studio Code. After much struggling i finally got it working with a test program and lo and behold a real debugger with breakpoints and watches!
So i tried to port my real program to the Visual Studio Code way of doing things and had all sorts of trouble but managed to compile it after a few hours. Unfortunately, then my Teensy just disappeared from the list of USB devices (i'm on Linux). Okay so now i noticed its blinking 9 times whenever i plug it in which apparently signals some JTAG issue? Anyway i reset the thing by holding the reset button down and after a while it reboots and shows the default blink program - success! Buuuttt its still not on the list of USB devices, no matter what i do. My other Teensy (i am a klutz so i got two) however gladly enumerates as a USB device still.
Did i manage to kill it somehow? Is Visual Studio Code the bringer of doom?
So i tried to port my real program to the Visual Studio Code way of doing things and had all sorts of trouble but managed to compile it after a few hours. Unfortunately, then my Teensy just disappeared from the list of USB devices (i'm on Linux). Okay so now i noticed its blinking 9 times whenever i plug it in which apparently signals some JTAG issue? Anyway i reset the thing by holding the reset button down and after a while it reboots and shows the default blink program - success! Buuuttt its still not on the list of USB devices, no matter what i do. My other Teensy (i am a klutz so i got two) however gladly enumerates as a USB device still.
Did i manage to kill it somehow? Is Visual Studio Code the bringer of doom?