Apologies if this has already been mentioned (I had a look but didn't see it) but the guys at Olimex have released a new version of their OpenOCD Development Suite (ODS) today: https://www.olimex.com/Products/ARM/JTAG/_resources/OpenOCD/
New ODS release [useful for Olimexino-STM32 maple-clone]
(8 posts) (3 voices)-
Posted 3 years ago #
-
Probably also worth mentioning mbolivar likes the Black Magic JTAG Probe
This doesn't need OpenOCD, gdb talks directly to it. I haven't used it, but it looks very nifty.
Posted 3 years ago # -
Does this need any other hardware other than an Olimexino-stm32-maple? Does it support single stepping and such? On the scale of 1-10 how easy is it to setup and use? I'm not a fan of £@£%& windows (any more), so, for me at least, it needs to be pretty painless to persuade me to switch back. I really don't want to spend 2 days in a bad mood.
Posted 3 years ago # -
higwoshy - I'm not sure what the "this" in "Does this need any other hardware other than ...", but assuming you're talking about Black Magic JTAG Probe ..
I have not used it, but it sounds pretty nifty:
- Black Magic probe works with Linux, Windows and Mac.
- It looks like a USB CDC ACM, so needs no driver to talk to it under Linux.
- Implements GNU's gdb debug protocol directly, so gdb doesn't need OpenOCD, or any other software (no ST-LINK/V2 driver ...).
- It supports "watchpoints, flash memory breakpoints, memory and register examination, flash memory programming, etc"
- It talks to Coretx MCU's using JTAG or SWD, so it can be used with ST or NXP, or Texas (LM...). I assume this might mean I'd only need one JTAG/SWD hardware device for a bunch of different manufacturers hardware.AFAIK its hardware and firmware is Open Source too. The sources are at: https://github.com/gsmcmullin/blackmagic
I may get one as it seems less hassle than an ST-LINK/V2, or an OpenOCD gizmo
mbolivar says he's used it and 'everything Just Works' http://forums.leaflabs.com/topic.php?id=1690#post-10628
Posted 3 years ago # -
Ah, yes, I meant the OpenOCD software - does it need additional hardware other than the Olimexino board? I'm guessing it does as it mentions JTAG, which the Oli does have, but it's SWD.
I was thinking that it would work over USB, but I see now that would be impossible. When you say OpenOCD gizmo, what do you mean?
Anyway, it looks like I'll have to spend at least £50 to get a usable debugger so I'll stick with SerialUSB for now.
Posted 3 years ago # -
higwoshy - if you want a low-cost hardware debugger (SWD only), then any of the recent STM32FxDiscovery boards have SWD ST-LINK/V2 built in (STM32F0DISCOVERY, STM32F4DISCOVERY, STM32F3DISCOVERY).
A quick look at digikey shows a STM32F0Discovery can be had for $7.99
http://www.digikey.com/product-search/en?x=0&y=0&lang=en&site=us&KeyWords=stm32f+discoveryThen get the gdb driver from https://github.com/texane/stlink
It supports hardware breakpoints, single-step, watching variables, disassembles binary, source level debugging, etc.
Posted 3 years ago # -
Thanks. Possibly works with OSX as well by the looks of it.
Posted 3 years ago # -
higwoshy - I have used an older version of texane/stlink with Mac OS X
I haven't updated to a new version because they decided the build process required me to install a (much more complex) piece of software to locate where I had put the usb library (which installs in a standard location by default).
The software to locate the usb library didn't install at that time, and it was more effort to fix than everything else required to run the program (can anyone say "diamond-polished depleted-uranium sledgehammer to crack unshelled nut"?)
Posted 3 years ago #
Reply
You must log in to post.