to Tcl in some internal places.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo
of the address value register for a break at
address zero and the data mask register setup is changed so the data is
disregarded.
Observe that the arm7_9-debug_entry_from_reset flag do not seem to be set
by any function.
Should debug_entry_from_reset and the unexercised code be deleted?
--
Øyvind Harboe
gives it excellent numbers,
but considering the openocd user demography tcl could well
be ahead anyway.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
towards Lua for an end user scripting
language given the feedback so far.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development
Fix committed.
It was a bogus error(i.e. harmless and unecessary)
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
a failed Tcl command can be printed.
- The result from a Tcl command is printed to the current command line
interpreter
- Tcl has a command openocd registered so as to enable launching
the classic openocd commands from Tcl.
Patch: http://www.zylin.com/tclwip.txt
--
Øyvind Harboe
http
On Fri, Jun 27, 2008 at 1:13 AM, Tim Hudson [EMAIL PROTECTED] wrote:
Øyvind Harboe wrote:
for {set i 0} {$i 10} {incr i} {openocd mww [expr $i*4] 0}
Hooking the command interpreter on a per-line basis isn't a good approach IMHO
The reason for hooking it up to the command line interpreter
of circuitry that is not connected
to the JTAG chain at all(in lieu of a power cycle). At that point a reset
would mean whatever the target script defined it to mean.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
It's committed.
Although it works, I need to get a few more things in place
before I start tinkering w/target scripts where the primary
application will be to start with.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
should be able to debug it here.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo
On Fri, Jul 4, 2008 at 10:51 AM, Valentin Longchamp
[EMAIL PROTECTED] wrote:
Øyvind Harboe wrote:
I've committed a small fix.
OpenOCD was reworked to support starting without being able to talk
to the hardware and the arm11 code was not updated.
I don't have an ARM11 target to test
Committed.
Thanks!
The Tcl stuff is of course very much work in progress, but it is beyond
doubt that we'll want some sort of RPC interface defined.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
.* changes in the patch as that will
break tcl target event proc's.
I'd like to address any concerns you have w.r.t. debugging OpenOCD
without loosing that capability.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
name your file .tcl then, it will be a tcl file that can invoke OpenOCD
commands. See target/at91eb40a.cfg/tcl for an example.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd
.
The format of that string passed in and returned should work for
both tcl_server and GDB mon.
I want both tcl_server and GDB mon to be available as transport
mechanisms for the same protocol.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
as before:
Open On-Chip Debugger
flash_banks
{ecosflash 16777216 2097152 2 2}
flash bnaks
flash banks
#0: ecosflash at 0x0100, size 0x0020, buswidth 2, chipwidth 2
flash_banks_pretty
#0: ecosflash at 0x0100, size 0x0020, buswidth 2, chipwidth 2
--
Øyvind Harboe
http
Committed.
I'm not an automake expert. Perhaps there are more elegant ways of doing this.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
embedstartup.tcl
Description: Tcl script
is the tcl error reporting needs a bit of work.
But i am sure you are aware of that.
Yes.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development
.
The main benefit would be to emphasize that they are indeed something more
than a collection of parameters.
Tcl is scary. I think users will be more comfortable just using the
.cfg extension.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash
client then has the *CHOICE* between parsing tcl output
or writing a piece of Tcl to *generate* the format he wants.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development
Committed.
Thanks!
I didn't have time to test/look into this.
(I rolled your other patch into same commit).
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing
to bank file
offset
flash write_image write_image [erase] file [offset]
[type]
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
benefit later.
There is a *GREAT* google tech talks video @ google video about API
design by Joshua Bloch
http://video.google.com/videoplay?docid=-3733345136856180693
I flipped through it. Many good points there.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG
or an example rather than an actual part of the API.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https
.
The client can decide to do nothing even.
You can call that a defined over the wire protocol if you want to.
But this is all further down the line. The key building block
is to get the tcl API fn's defined. That comes before any
communication.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
Committed.
Thanks!
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo
/mailman/listinfo/openocd-development
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman
Committed.
Thanks!
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd
with another...
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd
$a 4]]
This would change to:
puts [format Size: %d $a(size) ]
This looks good.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development
]) www.SimonQian.com
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash
and all variables be global
by default is the right thing to do.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https
.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development
On Mon, Jul 14, 2008 at 5:25 PM, Ville Voipio [EMAIL PROTECTED] wrote:
Øyvind Harboe wrote:
On Mon, Jul 14, 2008 at 3:58 PM, Ville Voipio [EMAIL PROTECTED] wrote:
I'd rather make it the responsibility of the client to implement support
for
this. This can be done via multithreading or using
. But that is not an urgent issue for us, so it's ok for us to
take time to have a discussion about moving to GPLv3 and its
merits/drawbacks etc.
That's not true for OpenOCD.
So what's the best way to proceed here?
Make Jim Tcl + LGPL?
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale
to other scripting engines and perhaps we'll define up
an interface to OpenOCD where one can place any engine on
top.
Perhaps OpenOCD should be a polymorphic with replaceable
drivers underneath.
The greatest asset of OpenOCD is the community not the code. :-)
--
Øyvind Harboe
http
I think we have gotten far enough that we can start writing up
the API rules in openocd.texi
Committed the attached patch as a start.
Patches most gratefully accepted! Anyone who writes up the
API rules gets a pretty free hand in the definition ;-)
--
Øyvind Harboe
http://www.zylin.com/zy1000
On Tue, Jul 15, 2008 at 4:34 PM, Jonathan Larmour [EMAIL PROTECTED] wrote:
Øyvind Harboe wrote:
On Mon, Jul 14, 2008 at 11:18 PM, Jonathan Larmour [EMAIL PROTECTED] wrote:
Øyvind Harboe wrote:
That's not true for OpenOCD.
So what's the best way to proceed here?
Make Jim Tcl + LGPL?
I
Committed improved error messages.
Try now.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
Index: C:/workspace/trunk/src/helper/command.c
===
--- C:/workspace/trunk/src
progress.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd
/?group_id=3204
and then we can afterwards copy from Jim Tcl to OpenOCD.
http://www.fsf.org/licensing/licenses/index_html#FreeBSD
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd
/at91eb40a.cfg
= result?
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo
:
In procedure 'find' called at file ?, line 1
find .\\Makefile
.\Makefile
find {.\Makefile}
.\Makefile
Connection to host lost.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
Index: C:/workspace/openocd/src/helper/options.c
On Thu, Jul 17, 2008 at 1:09 AM, Charles Hardin [EMAIL PROTECTED] wrote:
Don't think bin2char needs to be installed as part of openocd
Committed.
Thanks!
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
as I get
a chance.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
Index: C:/workspace/trunk/doc/openocd.texi
===
--- C:/workspace/trunk/doc/openocd.texi (revision 816
a context-mode = CONFIG_EXEC
Committed.
Thanks!
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https
from a command.
version
Open On-Chip Debugger 1.0 (2008-07-17-12:24) svn:exported
puts $openocd_output
Open On-Chip Debugger 1.0 (2008-07-17-12:24) svn:exported
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
Index: C:/workspace
to command_print(), e.g. command_print_result().
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman
Committed.
Thanks!
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo
script, then why isn't it run by default as it
is for other tools? OpenOCD is a bit off the beaten track here having
this config option.
Minimally I'd like to require all scripts in the target library to
have reset_init as the reset behaviour.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development
just flash programming. E.g.
reading/writing large amounts of data via DCC.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development
command processing engine
Committed.
Thanks!
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https
Committed.
Thanks!
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo
On Fri, Jul 18, 2008 at 8:31 AM, Michael Schwingen
[EMAIL PROTECTED] wrote:
Øyvind Harboe wrote:
If there is a reset init script and a reset_init command, of course the
init script should be run. If I do a reset, there are many possible
scenarios where I want to keep as much processor state
be an expected behavior, probably more expected than reset
init, IMHO.
You have convinced me that reset run is the right choice. There is
no question about the state of the target then.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
halted? Running? initialized?
load
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman
as arguments
and they always do what the argument says.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https
towards reset run for the reasons Pavel pointed
out to me, I don't really have many comments on this anymore.
Note that reset init is automatically tranlsated to reset run_and_init for
the case where srst pulls trst.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG
users life tcl free.
I suppose your end user is someone who doesn't write config scripts,
but merely uses your target library, right?
I want to keep tcl out of the face of end users who writes config
scripts too.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG
hackers(they come from e.g. the FPGA scene)
- the unexpected category. Here we won't get feedback
until we have something stable and documented.
Also, I'm pleased to see that there is a lot of very good people
being added to the OpenOCD contributors.
--
Øyvind Harboe
http://www.zylin.com/zy1000
does something predictable.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo
On Fri, Jul 18, 2008 at 11:19 AM, Pavel Chromy [EMAIL PROTECTED] wrote:
Hello,
Øyvind Harboe wrote:
A reset will be the same as reset run. If I want to reset and halt the
target,
then I have to use reset run_and_init explicitly. I agree that this is
more intuitive.
Dominic suggested
in the 1000ms timelimit. GDB alive packet not sent!
(1020)
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
Index: C:/workspace/trunk/src/helper/log.c
===
--- C:/workspace/trunk
I've put the synchronous resume back in. Xing fingers that it will work
right this time.
Please retest(or be warned that it might be broken again :-)
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
as last time by default. If someone wants
such a thing :-)
# past this into your .cfg file and you have a new command x
proc x {args} {
global saved_reset
if {[llength $args]==0} {
set y $saved_reset
} else {
set y $args
}
reset $y
set saved_reset $y
}
--
Øyvind Harboe
was retired.
Is there a *SIMPLE* non tcl way an average person can specify a script file
to be executed every time reset occurs.
help target_script
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
args] }
easier than that, just stuff this into the unknown proc in startup.tcl.
I am not sure if Jim/TCL supports the magic args parameter. Anyway - this
would mean some tweaking on the existing C functions.
it does. Already in use.
Perhaps a different prefix?
ocd_
--
Øyvind Harboe
Committed.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd
.
Commit?
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
Index: C:/workspace/openocd/src/helper/startup.tcl
===
--- C:/workspace/openocd/src/helper/startup.tcl (revision 822
, but daemon_startup is causing
problems for future and current users.
It is a confusing and unecessary command. It implies that it can do
something init + reset can not do, which is very misleading and leads
to who knows what sort of confusion.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
branch from there.
Cutting a branch has two purposes: it documents what
code is considered stable and it allows backport of fixes.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd
test.cfg, line 4
Info:options.c:50 configuration_output_handler(): In procedure
'unknown' called at file ?, line 1
[EMAIL PROTECTED] /cygdrive/c/workspace/build
$ cat test.cfg
interface dummy
daemon_startup xxx
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG
will be better of. Hopefully OpenOCD has more new users
in the future than has been accumulated in the past.
That said, pain *is* taken to make things compatible or give helpful
error messages.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash
definitely want to keep this sort of functionality out of the hair
of normal users, so I'd prefer an overrideable proc.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing
above, we can write a command that
issues defines the proc. But to suggest something I'd need
to know more precisely what you have in mind.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
.
And is going away... You have been warned.
CHANGE NOW...
This message is *WRONG* and misleading.
Hmm how about just issuing a syntax error?
That will point to the line in question and is better(?)
than things appearing to work but not working like they used to?
--
Øyvind Harboe
http
Committed.
Thanks!
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo
Committed.
THanks!
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo
Committed.
Thanks!
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo
Committed.
But: the cortex_m3.tcl is missing. Committed the others.
Please submit a patch against trunk. Doesn't your tool
allow creating patches that adds/deletes/moves files?
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
a quick look at gdb reset stuff and I'll look more closely later.
It appears to me that we can define overrideable proc's in startup.tcl
that no user would ever need to override to handle the detach/restart
actions.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG
Committed.
Thanks!
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo
is pretty decent(based on feedback) w.r.t.
handling the various ARM targets out there.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development
typing x for shutdown
proc x {} {
shutdown
}
If you want to add arguments:
proc y {foo} {
reset $y
}
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing
the same from GDB.
Perhaps it should be prefixed with BUG: ?
Regards,
Dominic
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development
--
Øyvind Harboe
http
that
does not inconvenice normal users, but allows for more powerful
target scripts to be defined. Also the second scheme is not
very flexible. A more flexible way of handling targets becomes important
with heterogenous chains as has been discussed on the list.
--
Øyvind Harboe
http://www.zylin.com/zy1000
);
break;
default:
/* ignore unkown packets */
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
copy)
@@ -47,7 +47,7 @@
int configuration_output_handler(struct command_context_s *context,
const char* line)
{
- LOG_INFO_N(line);
+ LOG_USER_N(line);
return ERROR_OK;
}
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash
in the queue failed.
Simple:
if { catch [jtag -execute-queue] msg } {
puts ERROR: $msg
}
My thinking was that e.g. drscan would throw this exception and that we didn't
expose execute queue.
Why should expose an asynchronous model for scripting?
It complicates the API.
--
Øyvind Harboe
of the white lie upon connect, but for
now it seems like the best option.
Perhaps waiting 500ms for the halted state will do the trick?
If this fails, then I'd like to see the -d3 log.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development
MIPS in main trunk even if it is work in progress as long as
the risk of interference and regression is medium to low.
https://lists.berlios.de/pipermail/openocd-development/2008-June/002261.html
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash
.
load_image file address ['bin'|'ihex'|'elf'|'s19'] [min_address]
[max_length]
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
Index: C:/workspace/openocd/src/target/target.c
in target_read/write_buffer()...
Note that we *have to* fail the packet if the requested amount of memory
is more than a couple of k's. GDB has code to split up memory read/write
packets, so anything above this fragmentation limit really is a pathological
sign.
--
Øyvind Harboe
http
package that gives us file IO.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo
of breakpoints to
use in the future, but do not affecting already set breakpoints?
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development
Hmmm... I tried to apply this patch, but it didn't work...
Did you create it in some new way?
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd
Committed.
The next step would be to push the halt during reset into the implementation of
assert/deassert reset(it is mostly in there anyway).
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
1 - 100 of 3196 matches
Mail list logo