[Openocd-development] [PATCH] script: support only Tcl comments

2010-12-18 Thread Øyvind Harboe
Only Tcl comments are now supported. For classic style commands comments were supported at the end of the line. Move in the direction of letting the script language decide syntax, rather than have special rules for some commands. Before this patch goes in, the scripts should be updated to use ;#

Re: [Openocd-development] Problem loading to CFI flash

2010-12-18 Thread Andreas Fritiofson
On Fri, Dec 17, 2010 at 4:36 PM, Jonathan dumaresq jdumar...@cimeq.qc.ca wrote: Hi all, Here my first patches to be able to use the CFI driver on cortex M3 with the helper code on target. This is probably not the better way of doing it, but at least it's work. This have been tested on real

Re: [Openocd-development] Help needed for SAM3S4C

2010-12-18 Thread Andreas Fritiofson
On Fri, Dec 17, 2010 at 6:27 PM, Kenan Özdemir gla...@hotmail.de wrote: Hi, i start working with the SAM3S4C, but having trouble with openOCD. When I start debugging, the very first instructions are working fine, but after the 3rd instruction, its jumping acrross the code. This is my

Re: [Openocd-development] Help needed for SAM3S4C

2010-12-18 Thread Kenan Özdemir
Sorry I forgot to tell you that after a couple of steps, it is returning to the main routine and then keeps executing the rest of the code -- From: Andreas Fritiofson andreas.fritiof...@gmail.com Sent: Saturday, December 18, 2010 8:18 PM To: Kenan

Re: [Openocd-development] [PATCH] script: support only Tcl comments

2010-12-18 Thread Øyvind Harboe
Fantastic! Thanks! :-) Merged. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer

Re: [Openocd-development] [PATCH] Add support for Hilscher netX controllers

2010-12-18 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___

Re: [Openocd-development] Help needed for SAM3S4C

2010-12-18 Thread Michael Schwingen
Am 12/18/2010 09:05 PM, schrieb Kenan Özdemir: Sorry I forgot to tell you that after a couple of steps, it is returning to the main routine and then keeps executing the rest of the code An embedded system has nowhere to go after you exit main, so it might crash, restart, and re-enter main from

Re: [Openocd-development] Problem loading to CFI flash

2010-12-18 Thread Antonio Borneo
On Sun, Dec 19, 2010 at 3:56 AM, Michael Schwingen rincew...@discworld.dascon.de wrote: I think it is time to re-factor that target-algorithm code and pull the target dependencies out of the CFI code, but that would be a separate step. Fully agree!