2010-09-18 06:52 AM
Hi. I am currently working on making the board work under Linux, utilising the Boot mode present in the STMF100RB and am blogging the results at
So far I have (with a lot of help from the WWW) figured out all the hardware and protocols to connect the board to any machine with a serial port and have a communicating board - you can read and write to it. I know some people (including me) regretted the lack of O/S support for the STM8 board, so all the instructions are up there if anyone else wants to try it out, critique or comment on what I've done etc. please feel free to do so. No changes to the board are required (no solder bridge removal) though I have hacked off the six pins at the bottom because it won't plug in my breadboard otherwise :( I hope to have code running on it by Monday (tomorrow it's my birthday ....) Picture being worth 1000 words :) #vsprog #gnu #swd #openocd #stlink #firmware #discovery-breadboard #openocd #gcc2010-09-18 12:24 PM
Paul, that was nicely done.
keep it coming.
2010-09-19 03:00 AM
Dear Paul, I wish you Happy Birthday , Cheers, STOne-32
2010-09-24 03:35 AM
Hi. If anyone is following this, I've now uploaded a demo program which works (unlike so many ARM Demo programs .....). It doesn't do much other than flash the lights and respond to the button, but it is now a complete working toolset from source to MCU.
2011-01-30 02:05 PM
Hi,
I wrote an article about the available toolchains for the STM32VLDISCOVERY board. Check it out here:http://embeddednewbie.blogspot.com/2011/01/free-toolchains-for-stm32vldiscovery.html
2011-03-24 03:40 PM
2011-06-15 07:51 PM
Hi Donald,
Thanks, I got it a couple days back. It does work. One thing, code verification always returns true even with different code loaded into stlink-download. Perhaps I have not yet found the proper way to use the verify option. Now I can use both my BeagleBoard, TI msp430 Launchpad's and the stm32vld in my linux environment.2011-06-15 07:52 PM
Paul, thank you for the tips on the rs-232 interface.
Don2011-07-10 10:31 AM
''I have hacked off the six pins at the bottom because it won't plug in my breadboard otherwise :(''
Alternative arrangement - without having to chop those pesky pins:/d211a50f
2011-07-11 10:52 AM
After trying first to use the stock ST-Link interface on my STM32VLDISCOVERY boards from Linux with lots of frustration, I switched to the alternate Versaloon firmware for the ST-Link MCU on the Discovery board.
Now I can use the command line vsprog tool to quickly and reliably download code to flash and use OpenOCD+gdb+ddd for debugging alongside my CodeSourcery Lite toolchain. It works fantastically! Although it was some effort to get up and running because the Versaloon tools have been changing rapidly, you just need to ensure you match firmware and PC tool versions and you'll be good to go. A couple of minor hardware mods to get running, and you'll be set. You do need an external SWD programmer to initially get the boot loader onto the MCU, but after that you do everything over USB as normal. - -