stm32f103c8t6 st-link connected but failing to upload code

Thread Starter

csiron

Joined Jun 25, 2021
5
We designed a PCB with stm32f030c8t6. We soldered the PCB and tried to upload the code. Power has gone to the stm32f030c8t6 successfully but when we arranged a pin as a gpio output it wasn't high.
 
Last edited by a moderator:

trebla

Joined Jun 29, 2019
470
You tried to upload the code without success or you are uploaded code successfully?
And withot schematics and code is very hard to tell what is wrong with your design (if it is wrong).
 

MrChips

Joined Oct 2, 2009
24,627
You need to show the connections from the PC to the board and tell us what platform you are using to flash the MCU.
 

Thread Starter

csiron

Joined Jun 25, 2021
5
There is no connection error because our computer sees the microcontroller. We are using cudeid, c language
 

Thread Starter

csiron

Joined Jun 25, 2021
5
You tried to upload the code without success or you are uploaded code successfully?
And withot schematics and code is very hard to tell what is wrong with your design (if it is wrong).
We upload the code successfully but we couldn't read the voltage
 

MrChips

Joined Oct 2, 2009
24,627
We upload the code successfully but we couldn't read the voltage
If the IDE programmed the MCU with no errors then your next step is to debug your code.
Start off by doing the simplest operation possible such as flash an LED.
Do you know how to run using debug feature?
Have you configured the system clock properly?
 
Top