Re: [Openocd-development] svn needs to be shuffled around a bit

2008-12-03 Thread Spen
it should be a seperate project. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] svn r1194 - fixing for str9

2008-12-03 Thread Spen
Can one of you help me with the str9 issues? I'm sort of stuck. I have had a quick look - very broken. I will see if i can get to the problem. trunk is now working with the str9xpec driver. I am going to add a some info in the docs on its correct use. Cheers Spen

Re: [Openocd-development] openocd 1.0 branch

2008-12-01 Thread Spen
Spen: Should we delete the 1.0 branch for now and cut a new one once it is time? Porting back from svn trunk makes little sense at this point since we have changed the syntax so much and I'd be very much against using the old syntax in the 1.0 release -- we could delete

[Openocd-development] [COMMIT]low density stm32 support

2008-11-27 Thread Spen
Hi, Committed the following: - stm32x flash driver: add support for low density devices Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

[Openocd-development] [COMMIT}luminary flash driver tail bytes

2008-11-27 Thread Spen
committed the attached patch: - fix issue with luminary flash driver and tail bytes This is already done in other flash drivers Index: src/flash/stellaris.c === --- src/flash/stellaris.c (revision 1190) +++

[Openocd-development] [COMMIT]targets cmd patch

2008-11-26 Thread Spen
Found a couple of issues with the targets cmd fixes seg fault with multiple targets and fixes printing the target names. Cheers Spen Index: target.c === --- target.c(revision 1186) +++ target.c(working copy) @@ -1362,7

Re: [Openocd-development] Serial Wire Debug experiment

2008-11-25 Thread Spen
this info. Also you get acks back from the swi so speed does not matter as the clock is in sync, similar to the old jtag rclk. Also in future we could add support for the trace port - similar to old arm etm. Cheers Spen ___ Openocd-development mailing list

Re: [Openocd-development] openocd release

2008-11-25 Thread Spen
It is common practice for an open-source project to release a version as a tar of the source code. I expect we will release a source code tar, linux binaries, and win32 binaries. That's my thinking. Spen ___ Openocd-development mailing list

Re: [Openocd-development] openocd 1.0 branch

2008-11-25 Thread Spen
. -- Rick Altherr [EMAIL PROTECTED] Depends on the general consensus - i still use/like the old syntax. But i am not averse to change. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de

Re: [Openocd-development] openocd release

2008-11-24 Thread Spen
(month or so) all is good then we tag a release 1.0. This will have no effect on mainline svn (trunk) - this will progress as normal. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman

[Openocd-development] openocd 1.0 branch

2008-11-24 Thread Spen
i said before we will only add major bug fixes to this release branch, svn trunk will continue as normal. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] openocd release

2008-11-22 Thread Spen
spen release will be for both x86 win32 (mingw) and linux I would add a Cygwin build. Only because - often some development environments are _cygwin_ in addition to mingw Fair enough - easily done. Spen ___ Openocd-development mailing list

Re: [Openocd-development] LM3s8962 Working Area

2008-11-20 Thread Spen
Hi, you need to be using the main openocd trunk for cortex_m3 support - the cortex_m3 branch was for early dev work. http://svn.berlios.de/svnroot/repos/openocd/trunk You also need to increase the working area to at least 16k Cheers Spen _ From: [EMAIL PROTECTED] [mailto:[EMAIL

[Openocd-development] [COMMIT]mips32 hardware breakpoint support

2008-11-17 Thread Spen
Hi, I have committed the attached patch. It adds hardware breakpoint support to the mips target. TODO: software breakpoints and watchpoints. Cheers Spen mips.patch Description: Binary data ___ Openocd-development mailing list Openocd-development

Re: [Openocd-development] BCM6348 Support

2008-11-16 Thread Spen
Cheers AndyP Hi Andy Think this is the wrong project - looks like this patch is for urjtag. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd

[Openocd-development] [COMMIT]cortex_m3 examine patch

2008-11-14 Thread Spen
Hi, committed the following patch. It stops multiple calls to examine from allocating the breakpoint arrays etc. Cheers Spen Index: cortex_m3.c === --- cortex_m3.c (revision 1168) +++ cortex_m3.c (working copy) @@ -1357,50

[Openocd-development] gdb app notes

2008-11-13 Thread Spen
FYI - contains some good info http://www.embecosm.com/appnotes/ean4/embecosm-howto-rsp-server-ean4-issue-2 pdf http://www.embecosm.com/appnotes/ean3/embecosm-howto-gdb-porting-ean3-issue- 2.pdf Cheers Spen ___ Openocd-development mailing list Openocd

[Openocd-development] mips register patch

2008-11-13 Thread Spen
Hi, I have committed the following mips patch. It corrects a register hi/lo read - wrong way round all the register now can be written to, including the special CP0 regs. I will have a look at the breakpoint support - hopefully. Cheers Spen mips.patch Description: Binary data

Re: [Openocd-development] mips4k does not support breakpoints

2008-11-12 Thread Spen
/write routines need improving aswell. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

[Openocd-development] [PATCH] mips variant patch

2008-11-12 Thread Spen
Hi, committed a small patch that fixes a crash when the mips variant is not specified. Cheers Spen Index: mips_m4k.c === --- mips_m4k.c (revision 1159) +++ mips_m4k.c (revision 1160) @@ -234,6 +234,7 @@ { mips32_common_t

Re: [Openocd-development] Invalid path names on windows

2008-11-03 Thread Spen
you are quite correct, as a workaround replace the backslashes with forward slashes. other than that the tcl developers will give you a more definitive answer/fix - have to admit it, but i am lost when it comes to that part of openocd now. Cheers Spen _ From: [EMAIL PROTECTED] [mailto

Re: [Openocd-development] Problem with GDB 6.8

2008-10-24 Thread Spen
than accepting it? I did have similar problems with an older gdb turned out after further debugging the problem was caused by ld are there still issues when using gdb directly, rather than through gdbmi. Cheers Spen ___ Openocd-development mailing list

[Openocd-development] mingw build patch

2008-10-24 Thread Spen
Hi, I have committed this patch -it fixes issues with newer gcc and native win32 builds where gettimeofday does not exist. Cheers Spen Index: replacements.h === --- replacements.h (revision 1100) +++ replacements.h

Re: [Openocd-development] Problem with GDB 6.8

2008-10-23 Thread Spen
though openocd. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] SPI flash support with ARM926

2008-10-19 Thread Spen
Not looked into this patch but may give you some ideas http://developer.berlios.de/patch/?func=detailpatchpatch_id=1462group_id=4 148 Cheers Spen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John McCarthy Sent: 17 October 2008 23:01

Re: [Openocd-development] event query

2008-10-17 Thread Spen
In spens case, yes, I think something did change. I think SPEN is thinking reset - plain - halts the CPU. But it does not - it does reset run. I think that decision - which happened about 1 month ago - was perhaps a bad choice (there was lots of email about that flying

Re: [Openocd-development] Removed autoerase from flash fillX

2008-10-16 Thread Spen
This makes it possible for flash fill to modify part of a sector. Erase can still be invoked seperately and explicitly. Did not even realise we had a flash fill function! Could be worth adding something to the docs. Cheers Spen ___ Openocd

Re: [Openocd-development] Removed autoerase from flash fillX

2008-10-16 Thread Spen
Did not even realise we had a flash fill function! Could be worth adding something to the docs. Help already exists... Could i ask where ? Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https

Re: [Openocd-development] Removed autoerase from flash fillX

2008-10-16 Thread Spen
, fill with pattern address byte_pattern count); But we still need to keep the texi in sync, otherwise how do new (or old) users learn about new commands Cheers Spen ___ Openocd-development mailing list Openocd-development

[Openocd-development] event query

2008-10-16 Thread Spen
then the script gets called. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] [PATCH] Add interface config for theEmbedded-Projects OpenOCD-USB JTAG programmer.

2008-10-07 Thread Spen
and reformat the spaces to tab chars. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] BUG: encountered unregistered arch type +Segmentation fault

2008-10-07 Thread Spen
Not sure what to make of this one - the same code is pretty much used in the arm4_5 handling. so that probably needs checking aswell. I am guessing but it looks like the arch_type of reg_t is causing the initial problem. also i struggle to understand why it has only appeeared now!! Cheers Spen

Re: [Openocd-development] PLL frequency and Timeout waiting forACK... issue

2008-10-06 Thread Spen
to work reliably. cortex does not support RCLK, and is not recommended by arm todo so. If the jtag clock is to fast you will receive a SWJ-DP OVERRUN. The best overall solution is to support SWD rather than jtag as the error reporting is much better from the debug interface. Cheers Spen

Re: [Openocd-development] AT91SAM7 flash driver updates

2008-09-28 Thread Spen
Great approach good work! Committed. Once testing results are in and all quirks are weeded out the old driver will be retired. I have reformated/commited this patch to replace any lf's with tabs. Cheers Spen ___ Openocd-development

Re: [Openocd-development] ADuC 702x flash driver

2008-09-24 Thread Spen
issues) from aduc driver and cleanup - updated docs for aduc702x flash driver Cheers Spen aduc702x.patch Description: Binary data ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo

[Openocd-development] gdb server stepping

2008-09-23 Thread Spen
' Warning:BUG: keep_alive() was not invoked in the 1000ms timelimit. GDB alive packet not sent! (2032) also had a quick look but i think all this help stuff is tcl now - so unsure how all this works now. Cheers Spen ___ Openocd-development mailing list Openocd

[Openocd-development] copyright patch

2008-09-20 Thread Spen
Hi, Just to keep you all informed - i have committed a patch that adds me to the files i have added major contributions for over the years. Looking at the logs my first patch was in dec 2005 - how time flies !! Cheers Spen ___ Openocd-development

Re: [Openocd-development] stellaris oddity

2008-08-28 Thread Spen
parts. It will be fixed starting with Fury Rev B, DustDevil Rev B, Tempest (next part). Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] gdb noack patch

2008-08-26 Thread Spen
Committed. I am struggling to see what gain this patch has brought (unless i have missed something) - you are still calculating the checksum. you have just moved inline code to a inline function !! Cheers Spen ___ Openocd-development mailing

Re: [Openocd-development] gdb noack patch

2008-08-26 Thread Spen
understand that bit, but why move the code into a inline function? Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] gdb noack patch

2008-08-23 Thread Spen
What version of GDB do we need to test this? CVS HEAD? yes cvs head was used. This is the link to the original gdb patch: http://sourceware.org/ml/gdb-patches/2008-07/msg00152.html Cheers Spen ___ Openocd-development mailing list Openocd

[Openocd-development] gdb restart patch

2008-08-23 Thread Spen
Hi, I have committed this patch that fixes the broken gdb extended remote protocol. simply clears all breakpoints/watchpoints before resetting the target. the gdb start command now works as expected. Cheers Spen gdb restart.patch Description: Binary data

Re: [Openocd-development] [PATCH] jim - NVP additions -

2008-08-20 Thread Spen
to implement a vasprintf in replacements.c Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] mips / pic32mx question

2008-08-17 Thread Spen
are using. I used the Explrer 16 (DM240001) with the pic32 plugin MA320001. Mainly because it has the jtag connector onboard. But any others should work as long as you can access the jtag pins. Cheers Spen ___ Openocd-development mailing list Openocd

Re: [Openocd-development] Cleaning up breakpoints a bit

2008-08-14 Thread Spen
@@ wp_type = WPT_READ; else if (type == 4) /* access watchpoint */ wp_type = WPT_ACCESS; + + if (gdb_breakpoint_override((bp_type==BKPT_SOFT)||(bp_type==BKPT_SOFT))) guessing this is a typo ?? Cheers Spen

Re: [Openocd-development] [PATCH] support for TCL events

2008-08-08 Thread Spen
it compile under MinGW and wait for the file event stuff to be handled in the jim devel mailing list. just committed the attached patch that fixes the win32 (mingw) build still builds ok under cygwin and linux Cheers Spen jim-eventloop.patch Description: Binary data

[Openocd-development] warnings patch

2008-08-06 Thread Spen
Hi, I have committed the attached patch. It removes a few more build warnings. fixes broken mips build - unsure when this happened. fixes non working --enable-gccwarnings configure option. added --enable-gccwarnings to docs. Cheers Spen warnings.patch Description: Binary data

Re: [Openocd-development] Recommendation for improvement to cfi.c (automatic clearing of lock bits before erasing flash)

2008-07-22 Thread Spen
programming in gdb. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] Crosscompilation support for convertingstartup.tcl

2008-07-21 Thread Spen
this, should be able to update to standard autotools. could you give me your configure line and i will try and fix. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd

Re: [Openocd-development] Demystifying reset a bit

2008-07-20 Thread Spen
tcl. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] Override builtin openocd commands

2008-07-19 Thread Spen
saved_reset: no such variable In procedure 'reset' called at file ?, line 1 Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] Some more ideas on reset and events andscripting

2008-07-19 Thread Spen
the like the old functionality by the minute. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] multi target reset

2008-07-19 Thread Spen
then that wasn't possible before and isn't possible now :-) it sure was last time i tried it about 2months or so ago with a str75x and stm32 on the same chain. if i remember correctly i was using run_and_halt but it still worked. Cheers Spen

Re: [Openocd-development] reset

2008-07-19 Thread Spen
to halt, the code you are writing could be buggy. The last thing you want is it running. Like i said previously we could configure what globally a reset did, now we cannot - unless we use tcl. Cheers Spen ___ Openocd-development mailing list Openocd

[Openocd-development] openocd cleanup

2008-07-18 Thread Spen
and jim_mem2array need moving from target.c Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] openocd cleanup

2008-07-18 Thread Spen
on general consensus from the other dev's. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] reset run is by default

2008-07-18 Thread Spen
it without using the commandline. A possible solution is to pass the reset option to daemon_startup, but then we might have well kept the old code. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https

Re: [Openocd-development] reset run is by default

2008-07-18 Thread Spen
You can also add init and reset halt to the end of the config script if you want. If this is the case then ok, i was not aware you could do this. However all the target scripts that were using reset_halt should really be changed to give the same behaviour. Cheers Spen

Re: [Openocd-development] cortex m3 - breakpoints

2008-07-17 Thread Spen
Subject: [Openocd-development] cortex m3 - breakpoints Hmm, something does not work with the cortexm3 breakpoints. The problem is caused by the target_resume function, try svn head now Cheers Spen ___ Openocd-development mailing list Openocd

Re: [Openocd-development] Retire reset_mode option to target

2008-07-17 Thread Spen
be reset_halt, not reset_init. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] Please can someone test if GDB and r814 isrunning?

2008-07-16 Thread Spen
and breaks straight away - unsure of a clean way of catching this. I will look into it more tomorrow. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

[Openocd-development] target scripts

2008-07-15 Thread Spen
target.c:741 target_call_event_callbacks(): target event 0 Debug: 176 1000 command.c:397 command_run_line_internal(): script debug.script Had a quick look, but i find debugging the tcl stuff a real pain. Cheers Spen ___ Openocd-development mailing list

Re: [Openocd-development] stm32 - cortex -problems

2008-07-14 Thread Spen
early silion does not have the electronic signature programmed. This happened on the medium density aswell - but effected very few. you may have to do all the testing, all the high density parts i have are ok. I think i answered you on the st forum aswell. Cheers Spen stm32.patch Description

Re: [Openocd-development] Switching .cfg files to tcl

2008-07-11 Thread Spen
of that. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] Is tcl now a must have?

2008-07-10 Thread Spen
it alone. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] Is tcl now a must have?

2008-07-10 Thread Spen
/commands.tcl. An idea is to embed the minimum required tcl scripts into openocd, so it as such appears standalone. Other tcl scripts can still be added to the tcl dir to add functionality, but these are not a requirement for openocd to function. Cheers Spen

Re: [Openocd-development] [EMAIL PROTECTED]: Bug#489785: please addsample config file for cortex M3 target]

2008-07-09 Thread Spen
? Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] [EMAIL PROTECTED]: Bug#489785: please add sampleconfig file for cortex M3 target]

2008-07-09 Thread Spen
area set. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

[Openocd-development] commit

2008-07-04 Thread Spen
Hi, Just added the svn props for the recently added files. Also fixed the strange line endings in commands.tcl Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] run_and_halt vs. run_and_init

2008-06-25 Thread Spen
few reset scripts call soft_reset_halt soft_reset_halt is the only function that will clear the cpu regs. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

Re: [Openocd-development] [PATCH] ARM7 reset_halt fix

2008-06-25 Thread Spen
committed Many Thanks Spen _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonas Horberg Sent: 25 June 2008 09:56 To: openocd-development@lists.berlios.de Subject: [Openocd-development] [PATCH] ARM7 reset_halt fix Hi list, I had a problem with the reset_halt mode