MikroProg for stm issue

mikroC, mikroBasic and mikroPascal for PRO ARM® MCUs, supporting STM32, Tiva, Kinetis, & CEC devices
Post Reply
Author
Message
sam.123.address@gmail.com
Posts: 11
Joined: 01 Aug 2023 15:25

MikroProg for stm issue

#1 Post by sam.123.address@gmail.com » 01 Sep 2023 17:24

Hello ,

i would like to know if i can use MikroProg for stm32 programmer to program the blackPill board which contains stm32F401 please look at the picture attached .

how can i connect my MikroProg for stm32 programmer to program the black pill?
Attachments
image.jpg
image.jpg (269.5 KiB) Viewed 412 times

AntiMember
Posts: 136
Joined: 02 Jan 2020 19:00

Re: MikroProg for stm issue

#2 Post by AntiMember » 06 Sep 2023 07:26

https://www.digikey.co.uk/htmldatasheet ... anual.html
Page 13.
GND to pin9 (or 3 or 5) mikroprog
SCK to pin 4
DIO to pin 2
3V3 to pin 1

sam.123.address@gmail.com
Posts: 11
Joined: 01 Aug 2023 15:25

Re: MikroProg for stm issue

#3 Post by sam.123.address@gmail.com » 06 Sep 2023 18:25

hello thank you for your help i tried the same connection you mentioned but the programmer doesn't dectect the mcu .

could you please explain more?

best regards

AntiMember
Posts: 136
Joined: 02 Jan 2020 19:00

Re: MikroProg for stm issue

#4 Post by AntiMember » 13 Sep 2023 20:37

The SWD protocol is used.
If the connection is "under reset", hold down NRST, click on MCU detection and quickly release NRST.
Or mikroProg - Options - Connection - Normal (but it doesn't always work). Or connect reset pins (not convenient)...

Post Reply

Return to “ARM PRO Compilers”