Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-01-25 Thread CeDeROM
On Sat, Jan 26, 2013 at 3:35 AM, Peter Stuge wrote: > Tomek CEDRO wrote: >> When the code is intergrated to OpenOCD master > I don't think it will be.. As I said - there is no clear list on what needs to be done, Spen changes first then we discuss over the code... -- CeDeROM, SQ7MHZ, http://www

Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-01-25 Thread Peter Stuge
Tomek CEDRO wrote: > When the code is intergrated to OpenOCD master I don't think it will be.. I understand that you feel like you wasted a lot of time, but that's really your own fault for not working with the community. *You* made the choice to spend a lot of time working on your code, before yo

Re: [OpenOCD-devel] Watchpoint

2013-01-25 Thread Jonathan Dumaresq
Hi Spen, This is looking good. Now It's break when the ars is read or write. Thanx for you time and help ! Jonathan Spencer Oliver wrote: > On 25 January 2013 15:25, Spencer Oliver wrote: >> >> For some reason the DWT logic was disabled - the icdi must have been >> enabling it itself. >> >>

Re: [OpenOCD-devel] Watchpoint

2013-01-25 Thread Jonathan Dumaresq
Hi Spen, I'll give it a try ! Jonathan Spencer Oliver wrote: > On 25 January 2013 15:25, Spencer Oliver wrote: >> >> For some reason the DWT logic was disabled - the icdi must have been >> enabling it itself. >> >> So looking into this further it appears to be an OpenOCD issue. I >> will post

Re: [OpenOCD-devel] Watchpoint

2013-01-25 Thread Spencer Oliver
On 25 January 2013 15:25, Spencer Oliver wrote: > > For some reason the DWT logic was disabled - the icdi must have been > enabling it itself. > > So looking into this further it appears to be an OpenOCD issue. I will > post a patch to gerrit that you can test. > http://openocd.zylin.com/1122 Sp

[OpenOCD-devel] [PATCH]: 0154caa hla: enable DWT component and fix watchpoints

2013-01-25 Thread gerrit
This is an automated email from Gerrit. Spencer Oliver (s...@spen-soft.co.uk) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/1122 -- gerrit commit 0154caa652a0d4204cd8a4af5c7496b6f7986b0c Author: Spencer Oliver Date: Fri Jan 25 15:32:42 2013 +

Re: [OpenOCD-devel] Watchpoint

2013-01-25 Thread Spencer Oliver
On 25 January 2013 14:48, Jonathan Dumaresq wrote: >> >> 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. > > At least we have

Re: [OpenOCD-devel] Watchpoint

2013-01-25 Thread Jonathan Dumaresq
Hi Spen, Spencer Oliver wrote: > On 23 January 2013 12:14, Spencer Oliver wrote: >> On 22 January 2013 18:14, Jonathan Dumaresq >> wrote: >>> Hi Spen, >>> >>> I did this as a test >>> >>> volatile uint32_t *test = (uint32_t *)0x20001000; >>> >>> while(1) >>> *

[OpenOCD-devel] [PATCH]: 99f9bef Added missing support for the STM32Lx 384kb dual bank flash.

2013-01-25 Thread gerrit
This is an automated email from Gerrit. Johan Almquist (johan.almqu...@assaabloy.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/1121 -- gerrit commit 99f9befecb3d0fe7145469a5ca2b4639add7b33e Author: Johan Almquist Date: Thu Jan 24 13:49:08 2013 +

Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-01-25 Thread Tomek CEDRO
On Fri, Jan 25, 2013 at 2:50 PM, Mahavir Jain wrote: > Find it below: > = > Debug: 188 17 signal.c:42 oocd_interface_signal_find(): Interface signal > - searching for 'RnW' signal... > Debug: 189 17 signal.c:50 oocd_interface_signal_find(): Interface signal > - not defined (yet?). > Er

Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-01-25 Thread Mahavir Jain
On Fri, 2013-01-25 at 04:19 -0800, Tomek CEDRO wrote: > On Fri, Jan 25, 2013 at 6:54 AM, Mahavir Jain wrote: > > That did the trick! I should have checked it earlier before shouting > > here :( RnW interface_signal was missing in config file. I am not > > entirely sure of its purpose though? > >

Re: [OpenOCD-devel] OpenOCD with PPC architecture

2013-01-25 Thread Lino - Andrea
> If you have lots of spare boards I can take a look at one of them and > the documentation just for curiosity :-) However if you want to have > this implemented with a priority please consider hiring someone > developer from the group willing to do the job or assist you :-) For now, I have not th

Re: [OpenOCD-devel] Watchpoint

2013-01-25 Thread Spencer Oliver
On 23 January 2013 12:14, Spencer Oliver wrote: > On 22 January 2013 18:14, Jonathan Dumaresq 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 brea

Re: [OpenOCD-devel] OpenOCD with PPC architecture

2013-01-25 Thread CeDeROM
On Fri, Jan 25, 2013 at 8:46 AM, Michael Schwingen wrote: > power.org does not manufacture chips - they specify cores. > Manufacturers like Freescale, IBM etc. do make chips - and you need to ask > *them* for debugging specifications, since each implements it differently. > Even if I can get speci

[OpenOCD-devel] [PATCH]: 05fb627 Added missing support for the STM32Lx 384kb dual bank flash.

2013-01-25 Thread gerrit
This is an automated email from Gerrit. Johan Almquist (johan.almqu...@assaabloy.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/1118 -- gerrit commit 05fb62779c3aec3c709db0a5b6572fff70adeeef Author: Johan Almquist Date: Thu Jan 24 13:49:08 2013 +

Re: [OpenOCD-devel] Cortex-M3 SWD interface issue

2013-01-25 Thread Tomek CEDRO
On Fri, Jan 25, 2013 at 6:54 AM, Mahavir Jain wrote: > That did the trick! I should have checked it earlier before shouting > here :( RnW interface_signal was missing in config file. I am not > entirely sure of its purpose though? Hello Mahavir :-) I am happy to hear that thinks are working now!

Re: [OpenOCD-devel] OpenOCD SWD (libswd) support

2013-01-25 Thread Tomek CEDRO
Hello Peter :-) My code is available for testing on my fork repository. Its working. Its ready for testing for end users. It was always there. Feel free to test :-) I would prefer them to be already included into OpenOCD master and fix things as they appear. My changes does not break existing stu

Re: [OpenOCD-devel] OpenOCD SWD (libswd) support

2013-01-25 Thread Tomek CEDRO
Yes, as the logging functions are inline/macros it will be easy, the file:function:line on debug level (maybe normal output as well) would be fine I guess. This is why I added layer name in my log output at some point as a separate commit, modification of logging function is on my todo list but I

Re: [OpenOCD-devel] [OpenOCD-user] Problems with openocd-0.6.1 on darwin.

2013-01-25 Thread Freddie Chopin
W dniu 2013-01-25 07:13, Chris Johns pisze: > Freddie Chopin wrote: >> >> You have to narrow down the commands you have to execute via telnet to >> make GDB work and then you should add them to the -c "init; ..." switch. >> > > I suspect the issue is an initialization time verses the gdb remote > p

Re: [OpenOCD-devel] OpenOCD with PPC architecture

2013-01-25 Thread Michael Schwingen
On Thu, Jan 24, 2013 at 12:07:01PM +0100, Tomek CEDRO wrote: > Hey Michael. This may be the good starting point to obtain the > documentation as the project claims to be Open Source and there is some > community around it. Thats it, just a hint. You can give it a try, maybe > some nice Open Source