On 22 January 2013 16:06, Jonathan Dumaresq <jdumar...@cimeq.qc.ca> wrote:
> Hi Spen,
>
> Finnaly I got it checked out with this
>
> git fetch http://openocd.zylin.com/openocd refs/changes/31/931/3 && git
> checkout FETCH_HEAD
>
> But it's not seem to work ethier.
>
> Here my tes on the stm32F4 target
>
> mdw 0x20000000 1
> 0x20000000: 00600321
>
> mww 0x20000000 0 1
>
> mdw 0x20000000 1
> 0x20000000: 00000000
>
> wp 0x20000000 1 rw

as you are writing 32bit words above the you should really use
wp 0x20000000 4 rw

>
> wp
> address: 0x20000000, len: 0x00000001, r/w/a: 0, value: 0x00000000, mask:
> 0xffffffff
>
> reset run
>
> ....
> Nothing break;
>
> Halt
> wp
> address: 0x20000000, len: 0x00000001, r/w/a: 0, value: 0x00000000, mask:
> 0xffffffff
>
> mdw 0x20000000 1
> 0x20000000: 00600321
>
> Normally I think the wp should have trigged ?
>

i would not expect that to work.
Do not have time now but when i committed the patch i tested
watchpoints and they were working fine.

I suggest you write a simple testcase that just writes to a mem
location and use that to test.

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

Reply via email to