Maple mini like Versaloon programmer

Maple Mini, Maple Rev3, Maple Rev 5 and Maple Ret 6, iTead Maple etc
Post Reply
Valery
Posts: 14
Joined: Fri Jan 08, 2016 8:19 pm

Maple mini like Versaloon programmer

Post by Valery » Tue Jan 12, 2016 7:23 pm

Did anybody use maple mini clone as Versaloon programmer?
I use for my hobby PIC16 usually, and starting to discover STM32 with maple clone, but sometimes I need to use AVR microcontroller.
So, I think about possibilities to make ISP programmer from one of my maple mini boards.

User avatar
martinayotte
Posts: 1229
Joined: Mon Apr 27, 2015 1:45 pm

Re: Maple mini like Versaloon programmer

Post by martinayotte » Tue Jan 12, 2016 7:30 pm

I've wished to figure out what versaloon was, googled it, but all those links found pointing to http://www.versaloon.com web site that seems to be gone.

User avatar
Just4Fun
Posts: 67
Joined: Tue Jan 05, 2016 9:48 pm
Location: Dark side of the Moon
Contact:

Re: Maple mini like Versaloon programmer

Post by Just4Fun » Tue Jan 12, 2016 8:17 pm

May be this one...? http://wunderkis.de/vsl-dual/index.html

Cheers

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

Re: Maple mini like Versaloon programmer

Post by RogerClark » Wed Jan 13, 2016 6:02 am

I had a quick look at the schematic linked to by the last site ( http://wunderkis.de/vsl-dual/vsl-dual-rev0.sch.pdf ) but I can't see the STM32 in the PDF

However looking at the USB connections they seem to use PC13 and PB2 to get the USB bus to re-enumerate.
I'm not sure why they have 2 pins driving USB+DP, but whatever the reason, you'd need to either seriously modify your Maple mini or you'd need to modify the firmware.

Personally I think the better option is to change the firmware, as the Maple mini has its own USB reset hardware which uses 2 x NPN transistors.

But you'd need to work out why 2 pins are uses as the Maple mini only uses 1 pin to reset the USB.

Valery
Posts: 14
Joined: Fri Jan 08, 2016 8:19 pm

Re: Maple mini like Versaloon programmer

Post by Valery » Wed Jan 13, 2016 10:53 am

Schematic is attached, and link to googlecode - MiniRelease1 - hardware. I'm afraid about 12Mhz OSC on versaloon instead of 8Mhz on maple. But here used St-link from Discovery board with 8 Mhz OSC.
Attachments
VersaloonMiniRelease1.pdf
(75.44 KiB) Downloaded 164 times

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

Re: Maple mini like Versaloon programmer

Post by RogerClark » Wed Jan 13, 2016 8:20 pm

If the firmware expects a 12mhz clock, you will need to recompile it.

You would only need to change the setting of the clock Phase Lock Loop

You can change the USB reset pin stuff at the same time.

Edit.
I took a quick look at the source tarball and it looks like a dogs dinner.

I'm not entirely sure why there are so many different folders appearing to contain source code that requires many different IDEs

But perhaps somewhere in the tarball is just one simple makefile that could be run to build the firmware ??
(if not. someone should make one)

jonr
Posts: 14
Joined: Sun May 08, 2016 2:06 pm

Re: Maple mini like Versaloon programmer

Post by jonr » Wed May 25, 2016 11:36 pm

So is there any low cost, readily available hardware that one can load Versaloon on?

https://github.com/versaloon/versaloon

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

Re: Maple mini like Versaloon programmer

Post by RogerClark » Thu May 26, 2016 1:54 am

I recall that someone posted about buying a board with a 12Mhz crystal (which is what Versaloon needs)

Try going a google search of the forum for 12Mhz e.g. "12Mhz site:stm32duino.com" and take a look at those hits and see if you can find what the board is

Failing that, you either need to buy a board e.g. Blue Pill and change the crystal, or recompile Versaloon to use the more common 8Mhz crystal (used by 95% of F103 boards)

User avatar
zoobab
Posts: 1
Joined: Sun May 07, 2017 10:18 am
Contact:

Re: Maple mini like Versaloon programmer

Post by zoobab » Mon May 08, 2017 3:14 pm

I am adding Versaloon support for my bluepill here:

https://github.com/zoobab/versaloon

This is WIP, will tell you when it works...

Post Reply