STM32G070K uploading issue

Hello guys,

i am trying to program via stlink (vcc,gnd,sclk,swd, also external 3.3v) in Arduino ide mcu ic on a pcb STM32G070KB with a simple blink code but it seems not to respond/ or there is some error that prevents it from uploading.

Besides that, All connectivities were checked and i programm with a different ic
STM32G030f6 and it uploaded and react fine without any problem.

could anyone advice how it can be fixed? any idea? is there any arduino update for this ic? tough it is shown exactly in the list as STM32G070KB..

Thank you in advance

Did you connect the VCC from the STLink? was that a 5V maybe from the USB port?

It's a 4 volt max mcu according the datasheet

All the decoupling caps present on your board?

Hi,

Yes the VCC 3.3v is comming from the stlink (max 3.3v), that is besides the vdd target that feedback the stlink, that also connected to the same 3.3v.

I have only 1 decoupling set (0.1uf and 4.7uf) as i am using the 32 pins, is there another pin that needs decoupling?

The problem is in the code, it doesn't compile that's why it doesn't upload.

1 Like

You got it Right! The problem was in the code. Thank you!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.