On 7 January 2013 13:25, Uwe Bonnes <[email protected]> wrote: >>>>>> "Brent" == Brent Roman <[email protected]> writes: > > Brent> Hi, I was surprised to find that the ST-Link interface does not > Brent> support DCC target requests, even for ARM Cortex-M3 CPUs > Brent> supported via other JTAG interfaces. > > Brent> The attached patch adds that ST-Link support for DCC target > Brent> requests. It is tested only on the STM32L-discovery board, but > Brent> should work on all STLINK Cortex-m3 targets. Only the file > Brent> stm32_stlink.c is modified. The code was (very obviously) > Brent> derived from the existing Cortex-M3 support for DCC. It should > Brent> handle tracepoints and the rest, but I have only tested console > Brent> output. > > Brent, > > are you sure the STM32 has the DCC capability at all? I thought, the STM32 > has the ITM (instrumentation trace macrocell) instead. Any references to the > DCC capabilities welcome! >
we emulate the functionality in software for the cortexm arch. snippet from src: /* we use the System Control Block DCRDR reg to simulate a arm7_9 dcc channel * DCRDR[7:0] is used by target for status * DCRDR[15:8] is used by target for write buffer * DCRDR[23:16] is used for by host for status * DCRDR[31:24] is used for by host for write buffer */ For info we also support the arm semi hosting std - this is implemented by codesourcery gcc. Unsure about mainline gcc. Cheers Spen ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
