How to use the GDB (Gnu Debugger) and OpenOCD for microcontroller debugging - from the terminal?
问题 The standard (low-cost) way to program ARM microcontrollers is using Eclipse with a complex toolchain plugged into it. Eclipse has definitely its merits, but I'd like to feel independent from this IDE. I'd like to discover what happens behind the scenes when I build (compile - link - flash) my software, and when I run a debug session. To get such deeper understanding, it would be wonderful to run the whole procedure from the command line. Note: I'm using 64-bit Windows 10. But most stuff