Hy-Tiny STM32F103 board ever get discussed here?

Any other STM32 based boards
User avatar
RogerClark
Posts: 5470
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Hy-Tiny STM32F103 board ever get discussed here?

Postby RogerClark » Sun Sep 04, 2016 11:54 am

I tried pulling PA0 on mine but the bootloader didnt work

I will need to investigate why

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

Re: Hy-Tiny STM32F103 board ever get discussed here?

Postby RogerClark » Sun Oct 30, 2016 10:56 am

I've finally got around to getting this board working

There is now a bootloader for it

https://raw.githubusercontent.com/roger ... hytiny.bin

I've also had to add a new variant (board) to the repo to support it, because it has extra hardware to handle the USB reset (disconnect), but its controlled by pin PA0 which isn't the same pin as the Maple mini.

It also has less pins available and hence only 2 USARTS and only 1 SPI channel.


Enjoy ;-)

roffey
Posts: 10
Joined: Tue Sep 27, 2016 8:02 am

Re: Hy-Tiny STM32F103 board ever get discussed here?

Postby roffey » Mon Dec 05, 2016 1:34 pm

Just wanted to say a thank you for all your work here.. I'm way down the ladder as far as the capabilities that exist here are concerned and all this work has been a great help for me.
Played with the Maple minis which have been great and now have some HY-Tinys going just fine.
Had a bit of work to do as far as understanding how to get the bootloader on, but as I had an ST-Link available to me and some details here, I pulled it together slowly.
In the end it was quite simple really, and the Tiny worked straight away in the Arduino environment.

Pin1 STLink to Tiny 3V3
Pin3 STLink to Tiny GND
Pin7 STLink to Tiny SWDIO
Pin9 STLink to Tiny SWCLK
Pin15 STLink to Tiny RST

Got STLink Utility from ST.com site, and the bootloader from your link here.
Connect Link and Tiny. Power Tiny and Link via USB's. Open ST link utility. Hit Connect. Load up bootloader binary.
Select Prog & Verify. Addresses etc default correctly (0x08000000), so hit Start and 3 seconds later all is done.

Disconnect, reset and load Blink file, use generic STM32F103T, change pin to PA1 (as mentioned previously), and bang.. all done.
I only include the above here just in case it may be of help to someone
Thanks again .....
STLINK_HYTINY2.jpg
STLINK_HYTINY2.jpg (252.99 KiB) Viewed 290 times

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

Re: Hy-Tiny STM32F103 board ever get discussed here?

Postby RogerClark » Mon Dec 05, 2016 7:19 pm

Which bootloader file did you install?

I did one specifically for that board, which does not require external pullups

roffey
Posts: 10
Joined: Tue Sep 27, 2016 8:02 am

Re: Hy-Tiny STM32F103 board ever get discussed here?

Postby roffey » Tue Dec 06, 2016 8:37 am

I used the one in the posts above ...
https://raw.githubusercontent.com/roger ... hytiny.bin
Loaded and ran like clockwork ..... making life easy for me! Hence the thanks!!

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

Re: Hy-Tiny STM32F103 board ever get discussed here?

Postby RogerClark » Tue Dec 06, 2016 8:43 am

You're welcome


Return to “All other boards”

Who is online

Users browsing this forum: No registered users and 1 guest