<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Thanks Charles, Volker.<br>
<br>
I ended up with a whole pile of the Eli-Express cheap boards - the
first lot arrived with protection enabled in such a way that even
a genuine STLINK programmer couldn't unlock them. Complained to
the supplier so sent another batch - with the same problem. Ended
up having to build a special rig to unlock them with some help
from an ST app note.<br>
<br>
Glad to hear that GCC comes well regarded, sound like I will
pursue gcc-arm-none-eabi, and try it with Keil IDE. Also glad that
it's not me with concerns about ST Cube.<br>
<br>
Hopefully catch up on Monday, for the ARMstravoganza with Dave
Jagger.<br>
<br>
Regards,<br>
<br>
Mark<br>
<br>
<br>
On 13/09/2018 10:42 AM, Charles Manning wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAE21AQpLwCMoosb6MGAZFmEZPzTUveAHs-ytT1VEWqHoJj286g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>I have used gcc for years for ARM and it works
great. Kiel might be slightly better.</div>
<div><br>
</div>
<div>ARM is a major sponsor of the gcc development
effort (Linaro) . That might seem strange, but it
makes sense to them and they are <br>
</div>
<div><br>
</div>
<div>I've done a few STM32 projects. I use gcc on Linux.
I did use the ST Cube thing to rough out the CDC class
code, but then moved to Makefiles etc for the rest of
the development.</div>
<div><br>
</div>
<div>The ST HAL stuff is poxy bloatware and I only used
that for things like USB drivers.</div>
<div><br>
</div>
<div>Most recently, I'm working on a system using an
STM32F042 (6k RAM, 32k flash, M0 with no crystal, USB
full speed). It works fine. Still heaps of space. That
would not be possible using the standard ST HAL stuff.<br>
</div>
<div><br>
</div>
<div>Under Ubuntu 16.,04 you can get all you need by
getting the binutils and gcc packages for ARM.</div>
<div><br>
</div>
<div>That is unfortunately broken (some screwed up
libraries) under 18.04 and you'd do better with the
gcc-arm-embedded PPA</div>
<div><a
href="https://launchpad.net/%7Eteam-gcc-arm-embedded/+archive/ubuntu/ppa"
moz-do-not-send="true">https://launchpad.net/~team-gcc-arm-embedded/+archive/ubuntu/ppa</a></div>
<div><br>
</div>
<div>For debugging I use gdb with openocd (sometimes
with ddd).</div>
<div><br>
</div>
<div>I have used many different debugger devices, but I
currently use an STLINK V2 most of the time. $2.
Can't go wrong.<br>
</div>
<div><a
href="https://www.aliexpress.com/item/1PCS-ST-LINK-Stlink-ST-Link-V2-Mini-STM8-STM32-Simulator-Download-Programmer-Programming-With-Cover/32792513237.html"
moz-do-not-send="true">https://www.aliexpress.com/item/1PCS-ST-LINK-Stlink-ST-Link-V2-Mini-STM8-STM32-Simulator-Download-Programmer-Programming-With-Cover/32792513237.html</a></div>
<div><br>
</div>
<div>
<div>I have used that with M0, M1, M3, M4.</div>
<div><br>
</div>
</div>
<div>May I also suggest getting a few of these boards
for laughs too:</div>
<div><a
href="https://www.aliexpress.com/item/STM32F103C8T6-ARM-STM32-Minimum-System-Development-Board-Module-Forarduino/32342717171.html"
moz-do-not-send="true">https://www.aliexpress.com/item/STM32F103C8T6-ARM-STM32-Minimum-System-Development-Board-Module-Forarduino/32342717171.html</a><br>
</div>
<div><br>
</div>
<div>Let me know if you need a blinky project to kick
off.</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Wed, Sep 12, 2018 at 10:27 PM Mark Atherton
<<a href="mailto:markaren1@xtra.co.nz"
moz-do-not-send="true">markaren1@xtra.co.nz</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
Does anyone have any experience with the various toolchains
out there <br>
for the STM32 ?<br>
<br>
Most of the stuff I do is bare-metal, but am definitely not a
fan of <br>
stm32cube, or Eclipse.<br>
<br>
Obvious choices seem to be Keil uVison; the limited code-size
trial IDE <br>
seems to be excellent. but looks like $$$$ is involved for the
<br>
professional unlimited versions. I understand that ARM bought
Keil a <br>
while ago, and that this product is their tool of choice.<br>
<br>
ARM do have a free toolchain gcc-arm-none-eabi (85MB)
available, which <br>
seems odd given the conflict of interest with Keil.<br>
<br>
openSTM32 (owned by ac6) have an open source 'System Workbench
for <br>
STM32' which seems bulky (!) at over 450MB.<br>
<br>
Finally, at least the older uVision toolchain appears to allow
GCC tools <br>
to be installed. Anyone used this combination, if there is no
code limit <br>
size on their debugger, this would be ideal.<br>
<br>
Comments, thoughts and experiences please.<br>
<br>
Thanks,<br>
<br>
Mark</blockquote>
</div>
</blockquote>
<br>
</body>
</html>