Re: [Openocd-development] Address translation failure with SAM9-L9260 board script

2009-10-29 Thread Øyvind Harboe
On Fri, Oct 30, 2009 at 7:19 AM, Dimitar Dimitrov wrote: > On Sunday 25 October 2009, you wrote: >> If you could report back on whether software breakpoints >> work in memory marked as read only by the MMU that >> would be fantastic. > > Where can I find an example application that enables the MMU

Re: [Openocd-development] Address translation failure with SAM9-L9260 board script

2009-10-29 Thread Dimitar Dimitrov
On Sunday 25 October 2009, you wrote: > If you could report back on whether software breakpoints > work in memory marked as read only by the MMU that > would be fantastic. Where can I find an example application that enables the MMU and marks code regions as read only? Dimitar __

Re: [Openocd-development] Address translation failure with SAM9-L9260 board script

2009-10-25 Thread Øyvind Harboe
It seems like the problem I could help you with is fixed with the patch. You probably have to repost your second problem w/a new subject to get help on that one. I don't know much about ft2232 stuff. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger an

Re: [Openocd-development] Address translation failure with SAM9-L9260 board script

2009-10-25 Thread Dimitar Dimitrov
I applied the patches but I got the following error: Error: 228 7449 ft2232.c:419 ft2232_read(): couldn't read the requested number of bytes from FT2232 device (0 < 6) After increasing the FT2232 timeouts (patch attached) the "reset init" command completed successfully. Then I tried to load an

Re: [Openocd-development] Address translation failure with SAM9-L9260 board script

2009-10-25 Thread Øyvind Harboe
Try with the two attached patches. Thanks for testing this! If you could report back on whether software breakpoints work in memory marked as read only by the MMU that would be fantastic. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash pr

[Openocd-development] Address translation failure with SAM9-L9260 board script

2009-10-25 Thread Dimitar Dimitrov
Hi, I'm trying to debug SAM9-L9260 board /AT91SAM9260 chip/ using the latest GIT openocd checkout, FTDI-based dongle and libftdi-0.16. I made the following minor fix to the board cfg: - diff --git a/tcl/board/olimex_sam9

Re: [Openocd-development] Address translation failure

2009-10-22 Thread Paul Thomas
On Wed, Oct 21, 2009 at 10:46 PM, Øyvind Harboe wrote: >> Thanks! Yes, it's right in the help. "mww phys" has the same affect. > > Meaning it works or does not work? > > I've updated the documentation and example config > files in the git repository now(there was a problem yesterday > w/the git re

Re: [Openocd-development] Address translation failure

2009-10-22 Thread Gary Carlson
Hi Paul, To be honest, I have been stuck on other projects the last couple months so I haven't played with the latest build of OpenOCD using the script I created earlier for the 9G20 much. If I get a chance, I will try to hook up everything again and see what happens. Gary On 10/21/09 4:37 P

Re: [Openocd-development] Address translation failure

2009-10-21 Thread Øyvind Harboe
> Thanks! Yes, it's right in the help. "mww phys" has the same affect. Meaning it works or does not work? I've updated the documentation and example config files in the git repository now(there was a problem yesterday w/the git repository that has now been resolved). -- Øyvind Harboe http://ww

Re: [Openocd-development] Address translation failure

2009-10-21 Thread Paul Thomas
On Wed, Oct 21, 2009 at 4:48 PM, Dean Glazeski wrote: > Hi, > > Thought I would post a link to the discussion: > https://lists.berlios.de/pipermail/openocd-development/2009-October/011436.html > > // Dean Glazeski > > > On Wed, Oct 21, 2009 at 6:46 PM, Dean Glazeski wrote: >> >> Hi, >> >> I belie

Re: [Openocd-development] Address translation failure

2009-10-21 Thread Dean Glazeski
Hi, Thought I would post a link to the discussion: https://lists.berlios.de/pipermail/openocd-development/2009-October/011436.html // Dean Glazeski On Wed, Oct 21, 2009 at 6:46 PM, Dean Glazeski wrote: > Hi, > > I believe there was a recent update where Oyvind yanked out that command in > fav

Re: [Openocd-development] Address translation failure

2009-10-21 Thread Dean Glazeski
Hi, I believe there was a recent update where Oyvind yanked out that command in favor of a flag on mww. I think it's something like mww phys address data or some such. I don't think he's gotten around to updating the config scripts and documentation, though. // Dean Glazeski On Wed, Oct 21, 2

[Openocd-development] Address translation failure

2009-10-21 Thread Paul Thomas
Hello, I just switched to the new git tree. First I noticed that the "arm926ejs mww_phys 0xfd08 0xa5000501" command didn't work. When I try and do a normal "mww 0xfd08 0xa5000501" command found in at91sam9g20-ek I get back a "address translation failure" error. I thought the point of the m