summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
5aa7985)
The goal of this document is to encourage you to add your own set of
chips to the TCL package - and most importantly you should know where
The goal of this document is to encourage you to add your own set of
chips to the TCL package - and most importantly you should know where
-you should put them - so they end up in an orginized way.
+you should put them - so they end up in an organized way.
--Duane Ellis.
duane@duaneellis.com
--Duane Ellis.
duane@duaneellis.com
tcl/cpu/arm/<NAME>.tcl.
Yes, that is where you should put "core" specific things.
tcl/cpu/arm/<NAME>.tcl.
Yes, that is where you should put "core" specific things.
- Be carefull and learn the difference:
+ Be careful and learn the difference:
THE "CORE" - is not the entire chip!
THE "CORE" - is not the entire chip!
-It is mostly "obious" what is going on.
+It is mostly "obvious" what is going on.
You would *THINK* Tcl supports arrays.
In fact, multi-dim arrays. That is false.
You would *THINK* Tcl supports arrays.
In fact, multi-dim arrays. That is false.
== SIDEBAR: About The FOR command ==
In TCL, "FOR" is a funny thing, it is not what you think it is.
== SIDEBAR: About The FOR command ==
In TCL, "FOR" is a funny thing, it is not what you think it is.
-Syntatically - FOR is a just a command, it is not language
+Syntactically - FOR is a just a command, it is not language
construct like for(;;) in C...
The "for" command takes 4 parameters.
construct like for(;;) in C...
The "for" command takes 4 parameters.
(3) the "next command"
(4) the "body command" of the FOR loop.
(3) the "next command"
(4) the "body command" of the FOR loop.
-Notice I used the words "command" and "expresion" above.
+Notice I used the words "command" and "expression" above.
The FOR command:
1) executes the "initial command"
The FOR command:
1) executes the "initial command"
WIDTH - the accessable width.
ie: Some regions of memory are not 'word'
WIDTH - the accessable width.
ie: Some regions of memory are not 'word'
The function "address_info" - given an address should
tell you about the address.
The function "address_info" - given an address should
tell you about the address.
All read memory - and return the contents.
All read memory - and return the contents.
-[ fixme: 7/5/2008 - I need to create "memwrite" functions]
+[ FIXME: 7/5/2008 - I need to create "memwrite" functions]
**************************************************
***************************************************
**************************************************
***************************************************
Yea, the entire thing is done that way.
IF is a command. SO is "FOR" and "WHILE" and "DO" and the
Yea, the entire thing is done that way.
IF is a command. SO is "FOR" and "WHILE" and "DO" and the
- others. That is why I keep using the prhase it is a "command"
+ others. That is why I keep using the phase it is a "command"
=== END: Sidebar: About "commands" ===
=== END: Sidebar: About "commands" ===
-Paramter 1 to the IF command is expected to be an expression.
+Parameter 1 to the IF command is expected to be an expression.
As such, I do not need to wrap it in {braces}.
As such, I do not need to wrap it in {braces}.
-In this case, the "expression" is the resul of the "CATCH" command.
+In this case, the "expression" is the result of the "CATCH" command.
CATCH - is an error catcher.
CATCH - is an error catcher.
The "![catch command]" is self explaintory.
The "![catch command]" is self explaintory.
-The 3rd parameter to IF must be exacty "else" or "elseif" [I lied
+The 3rd parameter to IF must be exactly "else" or "elseif" [I lied
above, the IF command can take many parameters they just have to
be joined by exactly the words "else" or "elseif".
above, the IF command can take many parameters they just have to
be joined by exactly the words "else" or "elseif".
Linking to existing account procedure
If you already have an account and want to add another login method
you
MUST first sign in with your existing account and
then change URL to read
https://review.openocd.org/login/?link
to get to this page again but this time it'll work for linking. Thank you.
SSH host keys fingerprints
1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=.. |
|+o.. . |
|*.o . . |
|+B . . . |
|Bo. = o S |
|Oo.+ + = |
|oB=.* = . o |
| =+=.+ + E |
|. .=o . o |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)