Skip to main content
Visitor II
August 30, 2018
Solved

Is it possible to debug STM32F0 chip with Discovery embedded ST-LINK when Vddio2 is powered by 1.8V?

  • August 30, 2018
  • 1 reply
  • 718 views

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?

    This topic has been closed for replies.
    Best answer by WMa ?

    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.

    1 reply

    WMa ?AuthorAnswer
    Visitor II
    August 31, 2018

    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.