2015-08-22 12:51 PM
I have a problem with debugging an STM32F042 board. When the debugger (ST Nucleo) asks for IDCODE, the MCU responds with an error (trace shown below). At first, I thought that the bootloader is the problem, so I flashed a bunch of zeroes onto the start of the flash to disable it, but it persists. Any clues on what might be causing this?
2015-08-24 09:49 AM
Ok, I am an idiot. The problem was, that I had NRST tied directly to Vcc - without any resistor. This caused the MCU to pull the 3.3V power rail down to ground each time the debugger tried to connect.
2015-08-24 01:31 PM
You aren't the first, and won't be the last, to do that, at least you caught it quickly