Skip to main content
JKowa
Associate
November 3, 2018
Question

STM32F030K6T6 - connect under reset.

  • November 3, 2018
  • 6 replies
  • 926 views

Hello, i have problem with STM32F030K6T6 Mcu. I made my own board with this Mcu. I can connect with it via St-link utility only in Connect under Reset mode. I can earase chip and write new program, but only in this mode.

I also cant connect with mcu while using ​eclipse.

Hardware looks fine with me.

Could you please tell me how to solve this problem

Im using STM32 ​f4 disco board as programmer.

    This topic has been closed for replies.

    6 replies

    T J
    Senior III
    November 3, 2018

    Eclipse is not simple to get going.. but it does work. eventually.

    Nothing is simple.

    I use Visual Studio and GDB ($150)

    its very good when the confusion subsides and understanding rolls in... and FAST...

    T J
    Senior III
    November 3, 2018

    Eclipse is not simple to get going.. but it does work. eventually.

    Nothing is simple.

    I use Visual Studio and GDB ($150)

    its very good when the confusion subsides and understanding rolls in... and FAST...

    T J
    Senior III
    November 3, 2018

    Eclipse is not simple to get going.. but it does work. eventually.

    Nothing is simple.

    I use Visual Studio and GDB ($150)

    its very good when the confusion subsides and understanding rolls in... and FAST...

    waclawek.jan
    Super User
    November 3, 2018

    > I can connect with it via St-link utility only in Connect under Reset mode.

    This is usually caused by the application setting the SWD pins (PA13, PA14) to other than their reset value (ie. MODERx=0b10 for AF, and AFRHx=0).

    JW

    JKowa
    JKowaAuthor
    Associate
    November 3, 2018

    @TJ Im using stm32CubeMx and System Workbench for STM32 and it work great while working with Discovery Boards. I made new project and it start working i do not know why :(

    @waclawek.jan It is empty chip, there is no program flashed onto it.

    T J
    Senior III
    November 3, 2018

    keep trying different examples,

    you will get the hang of it eventually