[Bingo] did some work porting Versaloon for STM8 and STM32 discovery boards. Versaloon is a multiple-architecture programmer that we saw a few weeks back. At its center is an STM32 microprocessor, which greatly simplifies the work necessary to use the two discovery boards instead. Flashing the firmware to the boards will zap the ST-link firmware and [Bingo] doesn’t know of a way to restore that so be warned. This hack is still pretty fresh off the bench, but so far it looks like vsprog and OpenOCD both work just fine with the new hardware.
11 thoughts on “Versaloon Ported To STM8 And STM32 Discovery Boards”
Leave a Reply
Please be kind and respectful to help make the comments section excellent. (Comment Policy)
just to inform an opensource stlink like
standalone software to program the discovery
kit is on its way. It is a bit crapy yet (you
will have to look inside the source), but it
support both flash and RAM programming plus
some other features.
initial project: http://capitanio.org/mlink/
git repo: git://github.com/texane/stlink.git
THIS HAS NOT BEEN TESTED
There’s another “proof-of-concept” DFU firmware updater here, if you don’t have another ST-Discovery laying around: http://j-software.dk/updater.zip
I’ve been reverse engineering the DFU interface for some time, and I think this should be it. Full source is included of course, but I don’t include STLinkUSBDriver.dll, because I don’t know the legal implications of this. If you need it I guess I can send it to you, but otherwise just get it from the “ST-Link firmware update utility”
Again, this has not actually been tested, since I’m still waiting for a versaloon firmware that has bootloader capability :)
Additionally, it should be possible to extract the original firmware v1.01 from the firmware update utility, if anyone wants it
Again, it’s AES-128 encrypted(for some weird reason). But I’ve found the offset and size, if anyone would be interested in going back to using only two broken programs to flash their programs onto this nice chip :)
I would like to know how to do that.
I have a v1 STLink that I want to upgrade to v2.
I bought a couple of these boards awhile back; programming them didn’t seem like the issue, it was more the absentee tool chain… is there a way to compile code for these POS’ yet?
Mikey, there’s a nice summary here: http://embeddednewbie.blogspot.com/2011/01/free-toolchains-for-stm32vldiscovery.html
Hey Jeppe, I will like to restore one of my discoveris. Do you still have the firmware?
Gents ..
I have corrected a problem with the Reset on the STM32VL.
Please grab the software from here 1’st thread
http://www.versaloon.com/bbs/viewtopic.php?f=2&t=17&start=70
There is also a working bootloader :-)
Bingo
Sorry the url to the first thread is this one
Containing links to the current firmware for the STM32VL , STM8S and for building OpenOCD.
http://www.versaloon.com/bbs/viewtopic.php?f=2&t=17
The bootloader url: Includes bootloader (maple clone) binary + patch against the maple bootloader & Versaloon firmware adapted to work with the bootloader, for the STM32VL. I didn’t have the time to adapt the STM8-S Versaloon firmware for the bootloader yet.
Bingo
Hi,
Anyone know if the firmware for the STM32VL will work in the ST-LINK? I opened the ST-LINK and it look similar to the schematic for the STM32VL.
/Janne
I am using this under linux: http://code.google.com/p/arm-utilities/wiki/STLinkDownload