1 # converted to .tcl by html2tcl.tcl
13 <html xmlns
="http://www.w3.org/TR/REC-html40">
15 <title
>Zylin ZY1000 JTAG debugger
</title
>
16 <meta charset
="utf-8" content
="text/html" http-equiv
="Content-Type"/>
17 <link type
="text/css" rel
="stylesheet" href
="menuweb.css"/>
22 set upload_filename
/ram
/upload
25 <body style
="margin:0px;">
26 <div style
="width:974px;height:85px;">
27 <div style
="float:left;position:relative;left:32px;width:478px;">
29 <img src
="menu_cuts/logo_top.png" style
="border:0px;"/>
32 <div style
="float:left;position:relative;height:26px; width:278px;left:122px;background-image:url('menu_cuts/top_right.png');">
33 <div style
="position:relative;left:15px;top:4px;" class
="textlight">
35 append buffer
[capture version
]
40 <table style
="padding:0px;border-collapse:collapse;">
42 <td style
="width:33px;">
43 <div style
="width:20px;height:510px;">
47 <td style
="vertical-align:top;height:100%;width:140px;padding:0px;">
48 <table style
="padding:0px;border-collapse:collapse;height:100%;width:140px;">
49 <tr style
="height:59px;">
53 <td style
="width:140px;height:38px;background-image:url('menu_cuts/v_tab.png');background-repeat: no-repeat;">
54 <div style
="position:relative;left:10px;top:10px;font-weight:bold;">
55 <a href
="index.tcl" style
="">Target Status
</a
>
60 <td style
="width:140px;height:38px;background-image:url('menu_cuts/v_tab.png');background-repeat: no-repeat;">
61 <div style
="position:relative;left:10px;top:10px;font-weight:bold;">
62 <a href
="preconfig.tcl" style
="">Select Target Config
</a
>
67 <td style
="width:140px;height:38px;background-image:url('menu_cuts/v_tab_selected.png');background-repeat: no-repeat;">
68 <div style
="position:relative;left:10px;top:10px;font-weight:bold;">
69 <a href
="editconfigs.tcl" style
="font-weight: bold;">Edit Configurations
</a
>
74 <td style
="width:140px;height:38px;background-image:url('menu_cuts/v_tab.png');background-repeat: no-repeat;">
75 <div style
="position:relative;left:10px;top:10px;font-weight:bold;">
76 <a href
="reload.tcl" style
="">Reload Config Scripts
</a
>
81 <td style
="width:140px;height:35px;background-image:url('menu_cuts/v_1.png')"/>
84 <td style
="width:140px;background-image:url('menu_cuts/v_2_tile.png')"/>
87 <td style
="width:140px;height:140px;background-image:url('menu_cuts/v_3.png')"/>
91 <td style
="vertical-align:top;padding:0px;height:100%">
92 <table style
="padding:0px;border-collapse:collapse;height:100%;">
95 <table style
="padding:0px;border-collapse:collapse;">
97 <td style
="width:103px;height:29px;background-image:url('menu_cuts/h_tab1_selected.png');background-repeat: no-repeat;">
98 <div style
="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;">
99 <a href
="index.tcl" style
="font-weight: bold;">Config Target
</a
>
102 <td style
="width:103px;height:29px;background-image:url('menu_cuts/h_tab1.png');background-repeat: no-repeat;">
103 <div style
="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;">
104 <a href
="flashinfo.tcl">Flash
</a
>
107 <td style
="width:103px;height:29px;background-image:url('menu_cuts/h_tab1.png');background-repeat: no-repeat;">
108 <div style
="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;">
109 <a href
="browsemem.tcl">Memory
</a
>
112 <td style
="width:103px;height:29px;background-image:url('menu_cuts/h_tab1.png');background-repeat: no-repeat;">
113 <div style
="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;">
114 <a href
="openocd.tcl">OpenOCD
</a
>
122 <td style
="height:30px;width:535px;background-image:url('menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;" colspan
="6">
123 <div style
="width:500px;background-color:#ffffff;height:100%;">
129 <td style
="background-color:#ffffff;text-indent:30px;height:40px;" colspan
="6">
130 <H1
>Edit Target Configurations
</H1
>
133 <tr style
="height:100%;">
134 <td style
="background-color:#ffffff;padding-left:30px;padding-right:30px;width=535px;height:100%;" colspan
="6">
135 <form action
="editconfigs.tcl" method
="post">
138 set form_edittext
[formfetch form_edittext
]
139 set form_action
[formfetch form_action
]
140 set form_filename
[formfetch form_filename
]
141 set form_selected
[formfetch form_selected
]
143 if {[string compare
$form_action "Load"]==0} {
144 set form_filename
$form_selected
147 if {[string compare
$form_action "Delete"]==0} {
148 capture_catch
"rm /config/settings/$form_selected"
151 if {[string compare
$form_action "Save"]==0} {
152 save_var
$form_filename [from_textarea
$form_edittext]
153 append buffer
"Wrote file $form_filename<br>"
158 # load original or script saved on disk.
159 if {[string compare
$form_action "Show default"]==0} {
160 set form_edittext
[load_file
"/rom/$form_selected"]
161 set form_filename
$form_selected
163 set form_edittext
[load_config
$form_filename]
166 set form_edittext_subst
[to_textarea
$form_edittext]
169 proc prepend
{ val
list } {
171 foreach value
$list {
179 set files
[prepend target
/ [ls
/rom
/target
]]
180 set files
[lunion
$files [prepend
event/ [ls
/config
/settings
/event]]]
181 set files
[lunion
$files [prepend target
/ [ls
/config
/settings
/target
]]]
182 set files
[lsort $files]
186 <table style
="padding:0px;border-collapse:collapse;"><tr
>
187 <td style
="padding-top:1px;"><select name
="form_selected">
197 if {[string compare
$form_filename $i]==0} {
199 append buffer
{selected
="selected"}
207 append buffer
{</option>
211 if {$foundTarget==0} {
214 <option selected
="selected" value
="">Select target config
</option>
221 <td class
="buttonspacesmall"> 
</td
>
222 <td
><input type
="submit" value
="Load" name
="form_action"></td
>
223 <td class
="buttonspacesmall"> 
</td
>
224 <td
><input type
="submit" value
="Show default" name
="form_action"></td
>
225 <td class
="buttonspacesmall"> 
</td
>
226 <td
><input type
="submit" value
="Delete" name
="form_action"></td
>
228 <textarea style
="overflow:auto;" rows
="21" cols
="65" name
="form_edittext" wrap
="off">}
229 append buffer
$form_edittext_subst
230 append buffer
{</textarea
>
231 <table style
="padding:0px;border-collapse:collapse;"><tr
>
234 append buffer
{<td class
="formtext">File
</td
><td
><input type
="text" name
="form_filename" } "\n"
235 append buffer
"value=\"$form_filename\" ></td>\n"
236 append buffer
{<td class
="buttonspacesmall"> 
</td
><td
><input type
="submit" value
="Save" name
="form_action"></td
><br
>} "\n"
237 append buffer
{</tr
></table
>} "\n"
246 set toggle_details
[formfetch toggle_details
]
247 if {[string length
$toggle_details]==0} {
250 set show_details
[load_var show_details
]
251 if {[string length
$show_details]==0} {
254 if {$toggle_details==1} {
255 set show_details
[expr 1-$show_details]
256 save_var show_details
$show_details
259 if {[string length
$console]!=0} {
262 <tr style
="height:100%;">
263 <td style
="height:100%;background-color:red;" colspan
="6">
264 <table style
="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%" class
="textgray">
265 <td style
="width:25px;"> 
;</td
>
268 if {$show_details==1} {
270 append buffer
{td style
="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"}
274 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;"}
279 <a class
="openocd" href
="editconfigs.tcl?toggle_details=1">
282 if {$show_details==1} {
283 append buffer
"Hide details"
286 append buffer
{<div style
="position:relative;top:7px;text-align:center;">}
287 append buffer
"Show details"
288 append buffer
{</div
>}
295 if {$show_details==1} {
296 append buffer
$console
299 append buffer
{</td
>}
301 if {$show_details!=1} {
302 append buffer
{<td
> 
;</td
>}
306 <td style
="width:25px;"> 
;</td
>
316 <td style
="height:30px;background-image:url('menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;" colspan
="6">
317 <div style
="width:500px;background-color:#ffffff;height:100%;">
324 <td style
="width:6px;"/>
325 <td style
="width:245px;height:100%">
326 <table style
="padding:0px;border-collapse:collapse;height:100%;">
328 <td style
="width:103px;height:29px;background-image:url('menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;">
329 <div style
="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;" class
="textgray">
339 <td style
="height:10px;width:245px;background-image:url('menu_cuts/right_top_small.png');" colspan
="3"/>
342 <td style
="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;" colspan
="3">
343 <a target
="_blank" href
="http://www.zylin.com/zy1000/ZY1000_Quick_Start_Guide.pdf">Quick Start Manual
</a
>
345 <a target
="_blank" href
="http://www.zylin.com/zy1000/openocd.pdf">OpenOCD Manual
</a
>
347 <a target
="_blank" href
="http://www.zylin.com/zy1000_contact.html">Contact Zylin AS
</a
>
351 <td style
="background-color:#d8d7d7;height:15px;" colspan
="3"/>
355 <table style
="padding:0px;border-collapse:collapse;">
356 <td style
="background-color:#d8d7d7;width:10px;height:1px"/>
357 <td style
="background-color:#999999;width:225px; height:1px;"/>
358 <td style
="background-color:#d8d7d7;width:10px;height:1px"/>
363 <td style
="background-color:#d8d7d7;height:15px;" colspan
="3"/>
365 <tr style
="height:100%;">
366 <td style
="height:100%;background-color:#d8d7d7;padding-left:10px;padding-right:10px;" colspan
="3" class
="textgray">
368 <p
>Here you can edit predefined target configurations
, restore predefined configurations to
369 default state and create new target configurations.
<p
/>
370 <p
>Typically when creating a new target configuration
, you would take an existing
371 configuration that resembles the most your needs and modify it
for your
372 purposes and save it under a different name.
</p
>
373 <p
><b
>Load
</b
> - Loads a configuration
file into the editor.
</p
>
374 <p
><b
>Show
default</b
> - Loads the firmware included version of the
375 configuration
file (if any
), into the editor.
<br
>
376 <b
>Note
</b
> that the editor content is not saved.
</p
>
377 <p
><b
>Delete
</b
> - Deletes a custom created configuration
file.
<br
>
378 <b
>Note
</b
> that firmware included configuration files can not be deleted.
</p
>
379 <p
><b
>Save
</b
> - Save the edited
file under the a new or the same name.
</p
>
384 <td style
="height:30px;background-image:url('menu_cuts/right_bottom.png');" colspan
="3">
394 <img border
="0" src
="menu_cuts/logo_bottom.png"/>
460 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)