> > 
> > However, I heard that with Lauterbach debugger, I can make steps in FLASH.
> So it must be because of different usage of ARM debug module? It seems to me
> that step in OpenOCD is done through breakpoint, > isn't it ? Is there any
> other posiibility ?
> 
> I'm not sure how OpenOCD does things, but from experience with implementing
> a GDB-stub in software on a Luminary Micro Cortex-M3:
> Single-stepping is a hardware feature, which does not require setting
> breakpoints
> Hardware breakpoints could be placed anywere, and I do think flash and
> memory were available at two different memory-mappings
> There are only 3 or 4 hardware breakpoints available
> Software breakpoints could only be placed in memory (we did not implement
> them)
> GDB was not intelligent with software vs hardware breakpoints, we always
> used hardware breakpoints

Can you point me where to get more info about single stepping ? It seems to me, 
that it is OpenOCD's weakness. Tomorrow I will hopefully get Lauterbach license 
to test this feature. But truth is that I can not do single stepping on my 
system with OpenOCD/gdb.

Vaclav

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to