• On the electrical side, I often use a cheap digital storage scope to scout out signals. Even hand-held ones like the HPS140 or DSO Nano are a lot better than nothing. There are also some pretty cool USB devices now line the Analog Discovery.

    Sometimes I also just attach LEDs to signal wires so I can get some idea what they're doing.

    For debugging the software, I use the left-hand terminal. I can look at what values are set to just by typing the name of the variable, and I often change functions so that they print out what they're doing or blink LEDs when they're running.

    There's no single-stepping yet I'm afraid - but that's something that is on my list of stuff to do eventually! I tend to just type the name of individual functions or commands one by one in order to test out that they're doing what I expect.

About

Avatar for Gordon @Gordon started