How about having target scripts export a proc as the default
behavior rather than just executing statements?
This would get rid of using (effectively global)variables as
a way to communicate with these scripts.
A proc also opens up for handling variations of targets in
a single script.
A stab at
On Sun, Dec 19, 2010 at 3:56 AM, Michael Schwingen
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!
___
Openocd-development mailin
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 f
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
___
Openocd-d
Hi Michael,
you'll have to rebase your patch on top of the master branch and
update the comments to use ;# at the end of lines as the master
branch now follows tcl rules for comments.
";" => new statement, therefore ;# is effectively a statement
"at the beginning of the line" if you will...
--
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
__
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"
Sent: Saturday, December 18, 2010 8:18 PM
To: "Kenan Özdemir"
Cc:
Subject: R
Am 12/17/2010 04:36 PM, schrieb Jonathan dumaresq:
> 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 hardware. The default cfg
>
On Fri, Dec 17, 2010 at 6:27 PM, Kenan Özdemir 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 main.cpp
>
>
> in
On Fri, Dec 17, 2010 at 4:36 PM, Jonathan dumaresq
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 hardware. The defau
On Sat, Dec 18, 2010 at 5:21 PM, Øyvind Harboe wrote:
> Before this patch goes in, the scripts should be updated
> to use ;# instead of # for end of line comments.
Patch in attachment, compressed since too big.
The replacement of '#' with ';#' has been done through scripts then,
during manual rev
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 ;#
12 matches
Mail list logo