Playing with a ST-Link v2 clone

Any other STM32 based boards
Post Reply
User avatar
Rintin
Posts: 16
Joined: Sat Jan 23, 2016 11:20 am

Playing with a ST-Link v2 clone

Post by Rintin » Wed Jul 06, 2016 8:56 pm

Played a bit with a ST-Link V2 clone.

It contains a STM32F101CBT6.
Attachments
2016-07-06_21-20-54_906.jpg
2016-07-06_21-20-54_906.jpg (89.57 KiB) Viewed 1302 times
2016-07-06_22-25-30_319.jpg
2016-07-06_22-25-30_319.jpg (194.64 KiB) Viewed 1302 times
#legalizeawoo

User avatar
ahull
Posts: 1544
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland
Contact:

Re: Playing with a ST-Link v2 clone

Post by ahull » Wed Jul 06, 2016 9:38 pm

Is it sufficiently similar to allow you to select the board type as an STM32F103C8T6 - the datasheet suggests there are few significant differences. I suspect it is probable that STM use the same die for a whole bunch of these chips, and simply enable the different hardware options with firmware or fuses. I don't have the fuming nitric acid or the microscope to prove this however. :D
- Andy Hull -

User avatar
Rintin
Posts: 16
Joined: Sat Jan 23, 2016 11:20 am

Re: Playing with a ST-Link v2 clone

Post by Rintin » Wed Jul 06, 2016 10:23 pm

> Is it sufficiently similar to allow you to select the board type as an STM32F103C8T6
Yes.

> the datasheet suggests there are few significant differences.
I should check it out...
#legalizeawoo

User avatar
RogerClark
Posts: 6350
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Playing with a ST-Link v2 clone

Post by RogerClark » Wed Jul 06, 2016 10:37 pm

I think I posted about doing the same thing, several months ago.

i think the booloader also works on a STlink dongle, because like Andy says the F101 is functionally very similar to the F103

User avatar
Rintin
Posts: 16
Joined: Sat Jan 23, 2016 11:20 am

Re: Playing with a ST-Link v2 clone

Post by Rintin » Thu Jul 07, 2016 7:44 pm

The bootloader from https://github.com/rogerclarkmelbourne/ ... 1/binaries seems to work. With generic_boot20_pa9.bin the LEDs are blinking.

The red/blue LEDs are on pin PA9
pinMode .digitalWrite .LED
INPUT-off
OUTPUT0red
OUTPUT1blue
#legalizeawoo

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests