2011-10-05 03:58 PM
Is there any possibility of Mac or Linux drivers for programming the STM32L board. I intend to use this for a class next year (Jan 2012) to introduce micro controllers and I wanted the students to bring the board home to complete assignments. However some students use Macs only so it will be difficult for them if there are no Mac drivers. Currently no students in my school use Linux, but if a linux driver exists, it would make sense for me to get the students to use a live CD and do their assignments in linux as that would allow for more uniform instructions.
#stlink-mac2011-10-16 01:28 AM
Hi,
You can have a look here: https://github.com/texane/stlink A tutorial is available in: doc/tutorial/tutorial.pdf The MacOSX version is not yet available since the soft still requires libsg for stlinkv1. But you can compile it without the stlinkv1 support, in which case it should run on MacOSX and Windows. The only dep is libusb-1.0. Any contribution is welcome! Regards, Fabien.2011-10-22 05:40 AM
Thanks Fabien. Followed the tutorial on Ubuntu oneiric. Seems to work except had to change the order of linking. libusb-1.0 had to be at the end otherwise I got link errors. I am trying it out with Macosx now. Compiles with no errors, but I am waiting for the toolchain to download and build.
2011-10-23 06:30 AM
Hi,
This bug has been fixed in the master. Plus, a support for stm32l flash read,write has been added. The tutorial.pdf contains more information. Best regards, Fabien.2011-11-07 07:27 AM
However some students use Macs only so it will be difficult for them if there are no Mac drivers.
They need to learn to ''Think Differently'', a netbook runs $160-$240. This might prove to be a particularly import lesson about where the industry is, and what you'll be expected to use and adapt too. And then we wonder where the low cost embedded development mind share and effort congregates. To use a woodworking hobbiest analogy, the guys buying $599 12'' sliding mitre saws can easily afford a $99 10'' fixed mitre saw, and understand the appropriateness of each.2011-11-07 10:28 AM
I just got Versaloon to support the ST-Link part of the STM32L-Discovery , and have programmed the STM32L-Discovery via OpenOCD & GDB.
http://www.versaloon.com/bbs/viewtopic.php?f=2&t=20318 It does require some soldering (2 wires) & to be able to program the onboard ST-Link chip via SWD .. Ie. another STM32L or VL. /Bingo2015-09-15 03:53 AM
another kind of st-link flash and debug tool is here:
it works on all platforms where is running python and has very simple command line interface not only for flashing but also for simple debugging from console.even if it still need some improvements, but it's getting to be a useful.