2018-08-30 04:02 AM
Hello,
I am trying to debug STM32F072 chip using ST-LINK on mb1076 Discovery board.
STM32F072 is on custom board. It is powered from 3.3V except Vddio2 pin which is powered from 1.8V. I am able to program chip but when I try to debug it I get output
Remote debugging using 127.0.0.1:2009
0x1fffcc28 in ?? ()
tbreak main
Temporary breakpoint 1 at 0x8001e06: file C:\...\main.c, line 117.
continue
Continuing.
in console instead of proper one:
Remote debugging using 127.0.0.1:2009
Reset_Handler () at C:\...\startup_stm32f0xx.s:74
74 movs r1, #0
tbreak main
Temporary breakpoint 1 at 0x8001e06: file C:\...\main.c, line 117.
continue
Continuing.
Temporary breakpoint 1, main () at C:\...\main.c:117
117 StateFunc stan = Device_PoweringOn;
As for mb1076 board I moved resistor R26 to place R15 to check if lower voltage on AIN1 will change anything. It did not help.
Do you have any ideas?
Solved! Go to Solution.
2018-08-31 02:46 AM
After doing some research and inspection of my board project I doscovered that BOOT0 pin was not connected to GND. Pulling it to the ground with a resistor solved problem. Now debugging is working.
2018-08-31 02:46 AM
After doing some research and inspection of my board project I doscovered that BOOT0 pin was not connected to GND. Pulling it to the ground with a resistor solved problem. Now debugging is working.