Programming the STM32F042K6T6 micrcontroller?

Status
Not open for further replies.

zenerbjt

Member
Dear Engineers,
We need to program the STM32F042K6T6 microcontroller. (LQFP32 footprint)

STM32F042K6T6 datasheet:
https://www.st.com/resource/en/datasheet/stm32f042k6.pdf

Do you know to which pins should the programmer be connected?
Also, do you know if there are standard programming connectors/applicators for it? (eg sprung pin arrays). Is there, say, a "Pickit2" type thing for the STM32F042K6T6?
We have been asked to put SMD pads of 1.27mm pitch on the PCB in two rows of three….but wonder which pad to connect to which pin on the micro?
 
Last edited:
Thankyou. Would i be correct in saying that its the "J-LINK OB" connector in the bottom LHS that is the programming connector?

We dont have room on the PCB for a programming header or connector.....we only have room for bare programming pads on the bottom side, either SMD or PTH. Do st.com offer any pogo pin connectors for such a setup?

...................................................................................
The below programming lead looks like what they must have been using on the PCB that i am updating...i can see 6 pads on the pcb and this connector looks like it contacts to such a SMD pad array.....but i cant find the part number or datasheet for the below...do you know it?

Programming lead
https://www.tag-connect.com/product/tc2030-swim-nl

....i am guessing that the long grey pins are locators...and the gold pins are presumably pogo pin programming pin connectors?
 
Last edited:
No, it's the Bootx at the top left(ish) - the same 2x3 socket you mentioned - note there's only four actual connections to it.

You can program it via an ST-Link V2
 
Please, do you think that the attached is the pinout for programming the STM32F042K6T6 micro from the ST LINK/V2 programmer?
 

Attachments

  • ST LINK V2 programmer.jpg
    47 KB · Views: 251
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…