Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
openocd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
card10
openocd
Commits
e9488b9a
Commit
e9488b9a
authored
16 years ago
by
oharboe
Browse files
Options
Downloads
Patches
Plain Diff
tcl tinkering.
git-svn-id:
svn://svn.berlios.de/openocd/trunk@748
b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent
bece2176
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/target/target/at91eb40a.tcl
+7
-1
7 additions, 1 deletion
src/target/target/at91eb40a.tcl
src/tcl/commands.tcl
+2
-0
2 additions, 0 deletions
src/tcl/commands.tcl
with
9 additions
and
1 deletion
src/target/target/at91eb40a.tcl
+
7
−
1
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 !"
}
This diff is collapsed.
Click to expand it.
src/tcl/commands.tcl
+
2
−
0
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"
]]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment