On 23 January 2013 12:14, Spencer Oliver <s...@spen-soft.co.uk> wrote: > On 22 January 2013 18:14, Jonathan Dumaresq <jdumar...@cimeq.qc.ca> wrote: >> Hi Spen, >> >> I did this as a test >> >> volatile uint32_t *test = (uint32_t *)0x20001000; >> >> while(1) >> *test = *test + 1; >> >> Whould I been able to break on access to memory location 0x20001000 ? >> >> wp 0x20001000 4 rw >> >> Nothing stop ! >>
OK i have looked into it and it seems the stlink is overwriting the watchpoint config that we are writing to the target. I tested the ti-icdi as it uses the same driver as the stlink and that works as expected. The stlink does have cmds that support adding watchpoints, but that will need adding at the driver level - no time at present. It certainly does seem strange that they do not overwrite the breakpoint settings, just the watchpoint - oh well. 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. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel