USB connection no longer possbile

I am able to communicate with the ODrive via UART with an Arduino. So I guess the ODrive itself is actually running? But I’ll also check if there’s activity on the SPI pins on power-up.

Unfortunately, I’ve got no experience so far in debugging Firmware. Are there any instructions? If I understand it right, I can do it with VSCode and a ST Link?

Aha! Interesting… So it’s really USB. Last thing to check is if the USB pins are actually sending anything, or if they’re just dead.

Yeah, you can use gdb to step through the code in VSCode if you want…

Yeah OK, I hadn’t realised you had it running with UART.
Debugging probably won’t help all that much, because obviously the code is not getting stuck anywhere…

Probably, the USB of the chip is fried somehow. :frowning: Maybe you can send it back to Oskar for a replacement? You can email info@odriverobotics.com with a link to this thread

If you can though, you should still try to set a breakpoint in usb_server_thread and step through it to see what’s going on :+1: even if only to learn a bit about debugging embedded devices :grin:

1 Like