I am having issues deploying code/debugging line by line. Sometimes it connects fine and I can run code, other times it fails at the “attaching debugger,” step. Sometimes unplugging the USB and plugging back in allows for the debugger to work fine. Any advice on how to narrow down the problem? So far my only theory is I selected a crappy USB port that is extremely fragile.
Has anyone had issues with the micro-USB parts selected for debugging? As in durability issues/pins bending…I had one port somehow get bent and could no longer plug anything in. Must’ve been how one of my USB cables got damaged (pins are all pushed back on the one I was using, and no I was not hulk smashing the plug into the receptacle).
I am trying to get my stepper motor working and can set the register values correctly 99% of the time but am getting some odd behavior when I trip the Switch pin…most likely a software issue where I am detecting the wrong edge but that’s just a guess as this code worked on the development board. I know my components are installed correctly but the inconsistent USB debug connection is really making it hard to fine tune all my settings. Was not having this behavior initially.