1 # converted to .tcl by html2tcl.tcl
30 <html xmlns
="http://www.w3.org/TR/REC-html40">
32 <title
>OpenOCD debugger
</title
>
33 <meta charset
="utf-8" content
="text/html" http-equiv
="Content-Type"/>
34 <link type
="text/css" rel
="stylesheet" href
="menuweb.css"/>
39 set upload_filename
/ram
/upload
42 <body style
="margin:0px;">
43 <div style
="width:974px;height:85px;">
44 <div style
="float:left;position:relative;left:32px;width:478px;">
49 <div style
="float:left;position:relative;height:26px; width:278px;left:122px;background-image:url('menu_cuts/top_right.png');">
50 <div style
="position:relative;left:15px;top:4px;" class
="textlight">
52 append buffer
[capture version
]
57 <table style
="padding:0px;border-collapse:collapse;">
59 <td style
="width:33px;">
60 <div style
="width:20px;height:510px;">
64 <td style
="vertical-align:top;height:100%;width:140px;padding:0px;">
65 <table style
="padding:0px;border-collapse:collapse;height:100%;width:140px;">
66 <tr style
="height:59px;">
70 <td style
="width:140px;height:38px;background-image:url('menu_cuts/v_tab.png');background-repeat: no-repeat;">
71 <div style
="position:relative;left:10px;top:10px;font-weight:bold;">
72 <a href
="flashinfo.tcl" style
="">Info
</a
>
77 <td style
="width:140px;height:38px;background-image:url('menu_cuts/v_tab_selected.png');background-repeat: no-repeat;">
78 <div style
="position:relative;left:10px;top:10px;font-weight:bold;">
79 <a href
="erase.tcl" style
="font-weight: bold;">Erase
</a
>
84 <td style
="width:140px;height:38px;background-image:url('menu_cuts/v_tab.png');background-repeat: no-repeat;">
85 <div style
="position:relative;left:10px;top:10px;font-weight:bold;">
86 <a href
="flash.tcl" style
="">Program
/ Verify
</a
>
91 <td style
="width:140px;height:38px;background-image:url('menu_cuts/v_tab.png');background-repeat: no-repeat;">
92 <div style
="position:relative;left:10px;top:10px;font-weight:bold;">
93 <a href
="production.tcl" style
="">Production
</a
>
98 <td style
="width:140px;height:35px;background-image:url('menu_cuts/v_1.png')"/>
101 <td style
="width:140px;background-image:url('menu_cuts/v_2_tile.png')"/>
104 <td style
="width:140px;height:140px;background-image:url('menu_cuts/v_3.png')"/>
108 <td style
="vertical-align:top;padding:0px;height:100%">
109 <table style
="padding:0px;border-collapse:collapse;height:100%;">
112 <table style
="padding:0px;border-collapse:collapse;">
114 <td style
="width:103px;height:29px;background-image:url('menu_cuts/h_tab1.png');background-repeat: no-repeat;">
115 <div style
="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;">
116 <a href
="index.tcl">Config Target
</a
>
119 <td style
="width:103px;height:29px;background-image:url('menu_cuts/h_tab1_selected.png');background-repeat: no-repeat;">
120 <div style
="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;">
121 <a href
="flashinfo.tcl" style
="font-weight: bold;">Flash
</a
>
124 <td style
="width:103px;height:29px;background-image:url('menu_cuts/h_tab1.png');background-repeat: no-repeat;">
125 <div style
="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;">
126 <a href
="browsemem.tcl">Memory
</a
>
129 <td style
="width:103px;height:29px;background-image:url('menu_cuts/h_tab1.png');background-repeat: no-repeat;">
130 <div style
="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;">
131 <a href
="openocd.tcl">OpenOCD
</a
>
139 <td style
="height:30px;width:535px;background-image:url('menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;" colspan
="6">
140 <div style
="width:500px;background-color:#ffffff;height:100%;">
146 <td style
="background-color:#ffffff;text-indent:30px;height:40px;" colspan
="6">
150 <tr style
="height:100%;">
151 <td style
="background-color:#ffffff;padding-left:30px;padding-right:30px;width=535px;height:100%;" colspan
="6">
158 set form_address
[formfetch form_address
]
159 set form_length
[formfetch form_length
]
160 set form_action
[formfetch form_action
]
162 if {[string compare
$form_length ""]==0} {
163 set form_length
0x10000
165 if {[string compare
$form_address ""]==0} {
166 if {[catch {[zy1000_flash
]} result
]==0} {
167 set form_address
"0x[tohex $result]"
172 if {[string compare
$form_address ""]!=0} {
173 if {[string compare
$form_action "Erase"]==0} {
174 append buffer
"<code style=\"white-space: nowrap;\">"
175 append console [encode
[capture_catch
{
177 flash erase_address
$form_address $form_length}]]
178 append buffer
</code
>
186 <form action
="erase.tcl" method
="post">
188 <tr
><td class
="formtext" style
="padding-right:10px;">Address
</td
><td
><input type
="text" name
="form_address" value
="}
189 append buffer $form_address
190 append buffer {"></td
></tr
>
191 <tr
><td class
="formtext">Length
</td
><td
><input type
="text" name
="form_length" value
="}
192 append buffer $form_length
193 append buffer {"></td
></tr
>
197 <tr
><td style
="height:15px;width:535px;"> 
</td
></tr
>
198 <tr
><td style
="height:1px;width:535px;background-color:#a2c5d1;"></td
></tr
>
199 <tr
><td style
="height:15px;width:535px;"> 
</td
></tr
>
202 <input type
="submit" name
="form_action" value
="Erase"><br
>
214 set toggle_details
[formfetch toggle_details
]
215 if {[string length
$toggle_details]==0} {
218 set show_details
[load_var show_details
]
219 if {[string length
$show_details]==0} {
222 if {$toggle_details==1} {
223 set show_details
[expr 1-$show_details]
224 save_var show_details
$show_details
227 if {[string length
$console]!=0} {
230 <tr style
="height:100%;">
231 <td style
="height:100%;background-color:red;" colspan
="6">
232 <table style
="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%" class
="textgray">
233 <td style
="width:25px;"> 
;</td
>
236 if {$show_details==1} {
238 append buffer
{td style
="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"}
242 append buffer
{td style
="background-image:url('menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"}
247 <a class
="openocd" href
="erase.tcl?toggle_details=1">
250 if {$show_details==1} {
251 append buffer
"Hide details"
254 append buffer
{<div style
="position:relative;top:7px;text-align:center;">}
255 append buffer
"Show details"
256 append buffer
{</div
>}
263 if {$show_details==1} {
264 append buffer
$console
267 append buffer
{</td
>}
269 if {$show_details!=1} {
270 append buffer
{<td
> 
;</td
>}
274 <td style
="width:25px;"> 
;</td
>
284 <td style
="height:30px;background-image:url('menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;" colspan
="6">
285 <div style
="width:500px;background-color:#ffffff;height:100%;">
292 <td style
="width:6px;"/>
293 <td style
="width:245px;height:100%">
294 <table style
="padding:0px;border-collapse:collapse;height:100%;">
296 <td style
="width:103px;height:29px;background-image:url('menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;">
297 <div style
="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;" class
="textgray">
307 <td style
="height:10px;width:245px;background-image:url('menu_cuts/right_top_small.png');" colspan
="3"/>
310 <td style
="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;" colspan
="3">
311 <a target
="_blank" href
="http://openocd.berlios.de/doc/openocd.pdf">OpenOCD Manual
</a
>
316 <td style
="background-color:#d8d7d7;height:15px;" colspan
="3"/>
320 <table style
="padding:0px;border-collapse:collapse;">
321 <td style
="background-color:#d8d7d7;width:10px;height:1px"/>
322 <td style
="background-color:#999999;width:225px; height:1px;"/>
323 <td style
="background-color:#d8d7d7;width:10px;height:1px"/>
328 <td style
="background-color:#d8d7d7;height:15px;" colspan
="3"/>
330 <tr style
="height:100%;">
331 <td style
="height:100%;background-color:#d8d7d7;padding-left:10px;padding-right:10px;" colspan
="3" class
="textgray">
333 <p
>Note that flash programming will erase flash
if required.
<p
/>
334 <p
>Reset and init CPU
, then erase address range.
</p
>
335 <p
>The length field is specified in number of bytes.
</p
>
340 <td style
="height:30px;background-image:url('menu_cuts/right_bottom.png');" colspan
="3">
387 write_chunked
$buffer
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)