On May 26, 2012, at 19:29 , Tomek CEDRO wrote:

> ... the layers are specified, read http://stm32primer2swd.sf.net carefuly

I tried to, but I could not find any high-level layer, or at least not what I 
understand of it.

in my oppinion, a high-level layer should implement exactly the client 
functionality (the client being the program that calls our stack) 

if, for example, the client is the gdb server (the most usual case), the 
high-level layer should implement calls like 
- setBreakpoint(addr),
- setDataWatchpoint(addr)
- readRegister(id)
- etc

a very smart probe would implement a similar layer, and the USB latency would 
be minimal, with only a few bytes  transferred for each call.

going down the stack, a typically smart (microcontroller-based) probe would 
implement what Tomek calls the 'transport' layer, with the communication unit 
based on JTAG/SWD bitstreams.

the lower level would be the dumb (microcontroller-less) probes, only able to 
run bitbanging sequences.


regards,

Liviu


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to