cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F030K6T6 - connect under reset.

JKowa
Associate

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.

6 REPLIES 6
T J
Lead

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
Lead

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
Lead

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...

> 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
Associate

@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
Lead

keep trying different examples,

you will get the hang of it eventually