cancel
Showing results for 
Search instead for 
Did you mean: 

Implementing a 'live watch' window in C# test app using ST-Link

Jim Frederick
Associate II
Posted on November 20, 2015 at 20:12

I'd like to implement something like IAR's EWARM 'live-watch' window in a C♯ app on a PC to interrogate firmware values via an ST-Link. I'd use this for production testing or diagnostics. The 'live watch' window in EWARM will read parameters over an ST-Link without pausing execution of firmware. It also allows writing too.

In lieu of this, we use a UART or CAN bus but it would be nice to eliminate redundant hardware connections and use the ST-Link since it's needed for initial programming anyway.

Does anybody do this? Is there an API or DLL available to implement this type of communications?

-Jim

#api #st-link-c
4 REPLIES 4
Posted on November 22, 2015 at 01:45

http://www.st.com/web/en/catalog/tools/FM146/CL1984/SC720/SS1450/PF210568?sc=stvp

And of course Segger makes a business out of JTAG and programming automation, with DLL/LIB support.

Test points for JTAG and USART connectivity aren't hugely burdensome.

 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
LaurentL
ST Employee
Posted on November 23, 2015 at 16:52

Hello,

Maybe have a look at STM Studio software :

http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1533/PF251373

There is no dll or api you can use with this soft but it can be used to diagnose/test your appli without modifying your appli code.

Rgds,

Laurent
jamie2
Associate
Posted on March 21, 2016 at 14:16

The SOMNIUM DRT Cortex-M IDE also supports live viewing of variables / expressions while debugging:

http://somniumtech.com/software-tools/somnium-drt-cortex-m-ide
Posted on March 21, 2016 at 16:53

''Our team's 100+ man years' experience combines business development, operations, microprocessor design and software engineering leadership roles at start-ups through to major international companies.''

So is that like 3 guys with 33+ years in the industry? Your copy editor must have thought that sounded good, it just has me scratching my head.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..