Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
card10
openocd
Commits
e9488b9a
Commit
e9488b9a
authored
Jul 04, 2008
by
oharboe
Browse files
tcl tinkering.
git-svn-id:
svn://svn.berlios.de/openocd/trunk@748
b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent
bece2176
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/target/target/at91eb40a.tcl
View file @
e9488b9a
...
...
@@ -45,5 +45,11 @@ proc target_reset_0 {} {
openocd
{
mww 0xffff0010 0x100
}
openocd
{
mww 0xffff0034 0x100
}
set reset_count
[
expr $reset_count+1
]
puts
"Testing reset
$reset
_count !"
echo
"Testing reset
$reset
_count !"
}
proc target_pre_reset_0
{}
{
global reset_count
set reset_count
[
expr $reset_count+1
]
echo
"Testing pre_reset
$reset
_count !"
}
src/tcl/commands.tcl
View file @
e9488b9a
...
...
@@ -4,6 +4,8 @@ proc peek {address} {
}
# Production command
# FIX!!! need to figure out how to feed back relevant output
# from e.g.
"flash banks"
command...
proc board_produce
{
filename serialnumber
}
{
openocd
"reset init"
openocd
"flash write_image erase
$filename
[
flash
]
bin"
]]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment