I have an observation about Jim, and the way OpenOCD is going.
Things like the target, the flash, etc I believe should have a formal
tcl type name, and should act like TCL things.
In some cases, some commands are like that now. Some are not :-(
I do not like
Spen or Oyvind, Please add/commit - another jtag controller
configuration as follows:
src/target/interface/olimex-jtag-tiny-a.cfg
# REFERENCE: http://www.olimex.com/dev/arm-usb-tiny.html
interface ft2232
ft2232_device_desc Olimex OpenOCD JTAG TINY A
ft2232_layout olimex-jtag
-Duane.
Spen - you seem to be the guy who can fix any cortex problem I've had, I
do thank you.
Perhaps you can help explain this.
I have 2 boards - as I said earlier.
#1 has stm32f103vbt6 z 22 dav 93 mlt 22 746 - 128K flash part.
board stm32f10x-128k-eval
#2 has stm32f103zet6 22089vc mlt 3r816
Hmm, something does not work with the cortexm3 breakpoints.
I start gdb.
Load (flash) my program via gdb.
I use mon reset to reset the cpu.
I step 1 time (istep).
I set 1 breakpoint some place in main
I then click continue.
it closes the connection - I am lost/stuck and do
Charles Doing a command line similar to
charles openocd -f openocd.cfg
charles Has the set commands inside of openocd.cfg running a level 1
charles instead of level 0. I am a little confused as to why this is
happening.
charles I did one hack locally to try and play a little
[snip]
charles and
Charles This is either a documentation fix so people know the scope of the
Charles configuration files and explicitly global the variables or a
code fix
Charles to get the config files sourced at level 0.
If I purposely want to define things in an initialization file - i would
expect them to be
duane I have a suggestion about the return values of
duane [use associative arrays for return values]
Øyvind Does Jim Tcl support them?
duane yes
[snip]
Øyvind My problem with the above was that I didn't understand it after
a single try.
Øyvind It seems awfully complicated.
duane Let me
There is always an over the wire protocol you can dance around the issue all
you want.
As you say:
The client *decides* what code to run on the server(e.g. on
the OpenOCD command line + injects scriptlets, etc.)
Thus the defined over the wire protocol is:
(A) the invoking of
Øyvind Harboe wrote:
You can call that a defined over the wire protocol if you want to.
But this is all further down the line.
Then - later we hash out the wire line protocol.
I have always been talking about the narrow subject of the wireline
protocol.
I'm ok with that.
-Duane.
With the recent re-org of how tcl commands get executed... (ie:
jim_command()
Output from the tcl puts command is broken.
For example - this simple test fails.
[EMAIL PROTECTED] ~]$ telnet 192.168.0.14
Trying 192.168.0.14...
Connected to 192.168.0.14.
Escape character is '^]'.
Open
Charles Hardin wrote:
charles Using objcopy on a linux distro results in unresolved symbols
[ basically: _binary_startup_tcl_size vrs binary_startup_tcl_size]
EEK... This needs an #IFDEF linux/cygwin
Otherwise your patch will break.
Nasty problem. there should be a better way of
Charles Hardin wrote:
Example diff of using a bin2char program to convert the tcl file
Better - I have a couple nits to pick. (I have not tried it)
(1)
+extern unsigned char startup_tcl;
Should be :
extern const unsigned char startup_tcl[];
(ADD [] brackets)
(2) When generating
ville So, even a single example where something stupidly simple data
ville is fetched would help to get started with port and external
ville scripting. The example may very well be written in TCL (which
ville seems to give a very simple socket interface) or Ruby, or
ville Python, or lua,
This simple patch adds precision support to JIM's format command.
-Duane.
Index: jim.c
===
--- jim.c (revision 766)
+++ jim.c (working copy)
@@ -2180,6 +2180,10 @@
int spad;
int altfm;
spen Generally i like the addition of the tcl scripting to openocd.
spen [but sometimes it goes to far]
oyvind Being able to debug OpenOCD without getting into Tcl is a goal for
oyvind me and I believe the change does keep that capability reasonably
intact.
I agree with both of you. There is a
301 - 315 of 315 matches
Mail list logo