>>>>> "Paul" == Paul Fertser <fercer...@gmail.com> writes:


    Paul> BTW, stm32 discovery boards are rather cheap and powerful, and
    Paul> also the stlink embedded on those can be easily reflashed to
    Paul> BlackMagicProbe. And BlackMagicProbe has a passthrough mode for
    Paul> raw jtag commands. It would be nice to have a driver in OpenOCD
    Paul> for that.

Paul,

blackmagic raw_jtag is yet not in mainstream blackmagic. Find it at
https://github.com/UweBonnes/blackmagic as branch raw_jtag.

I offered raw_jtag to Gareth some time ago, but he was not convinced that
raw_jtag is the right way to go. Probably he thought it was to complicated
as raw_jtag commands are encapsulated into remote gdb protocoll commands.

Another option would be to set up another pair of endpoints. I thought about
writung an interpreter that would make these pair of endpoints behave like
the MPSSE mode of an FTDI device. However this could cause license/copyright
issues.

So I still think the raw_jtag modes is sensible.

raw_jtag does not offer a swd pass-through yet.

For anybody wanting to reflash a stlink, have a look at
http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe

When bootstrapping a F401-Disco, use the f4discovery_add_f401 branch at
https://github.com/UweBonnes/blackmagic. F401 Disco is slower and has less
RAM than the older F4-Discovery. F429 doesn't enter the system bootloader
due to internal devices connected to the line monitored in the system 
bootloader.

Bye
-- 
Uwe Bonnes                b...@elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to