From: oharboe at B. <oh...@ma...> - 2009-07-02 11:11:22
|
Author: oharboe Date: 2009-07-02 11:11:18 +0200 (Thu, 02 Jul 2009) New Revision: 2451 Modified: trunk/src/jtag/zy1000/zy1000.c zy1000/trunk/build/menu/zy1000menu.xml zy1000/trunk/build/tcl/browsemem.tcl zy1000/trunk/build/tcl/downloadmem.tcl zy1000/trunk/build/tcl/editconfigs.tcl zy1000/trunk/build/tcl/editfile.tcl zy1000/trunk/build/tcl/erase.tcl zy1000/trunk/build/tcl/flash.tcl zy1000/trunk/build/tcl/flashinfo.tcl zy1000/trunk/build/tcl/guiupload.tcl zy1000/trunk/build/tcl/index.tcl zy1000/trunk/build/tcl/log.tcl zy1000/trunk/build/tcl/openocd.tcl zy1000/trunk/build/tcl/preconfig.tcl zy1000/trunk/build/tcl/production.tcl zy1000/trunk/build/tcl/reload.tcl zy1000/trunk/build/tcl/run.tcl zy1000/trunk/build/tcl/support.tcl zy1000/trunk/build/tcl/targets.tcl zy1000/trunk/build/tcl/terminal.tcl zy1000/trunk/build/tcl/upgrade.tcl zy1000/trunk/build/tcl/zy1000.tcl zy1000/trunk/snapshots/athttpd.zip zy1000/trunk/snapshots/discover.zip zy1000/trunk/snapshots/jimtcl.zip Log: zy1000 1.53 snapshot Modified: trunk/src/jtag/zy1000/zy1000.c =================================================================== --- trunk/src/jtag/zy1000/zy1000.c 2009-07-02 07:20:04 UTC (rev 2450) +++ trunk/src/jtag/zy1000/zy1000.c 2009-07-02 09:11:18 UTC (rev 2451) @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2008 by vind Harboe * + * Copyright (C) 2007-2008 by �yvind Harboe * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -28,7 +28,7 @@ #include <cyg/hal/hal_diag.h> -#define ZYLIN_VERSION "1.52" +#define ZYLIN_VERSION "1.53" #define ZYLIN_DATE __DATE__ #define ZYLIN_TIME __TIME__ #define ZYLIN_OPENOCD "$Revision$" Modified: zy1000/trunk/build/menu/zy1000menu.xml =================================================================== --- zy1000/trunk/build/menu/zy1000menu.xml 2009-07-02 07:20:04 UTC (rev 2450) +++ zy1000/trunk/build/menu/zy1000menu.xml 2009-07-02 09:11:18 UTC (rev 2451) @@ -1549,14 +1549,13 @@ <markup_code><![CDATA[ Before contacting Zylin, please submit a support request with relevant information. <tcl> - - set form_config [load_config "[load_target]"] - set support_id [string range [rand] 0 7] - set form_log "" - append form_log "Version: [zy1000_version zy1000]" - append form_log "OpenOCD version: [zy1000_version openocd]" - append form_log "Version date: [zy1000_version date]" - append form_log [log] + set form_config [load_config "[load_target]"] + set support_id [string range [rand] 0 7] + set form_log "" + append form_log "Version: [zy1000_version zy1000]" + append form_log "OpenOCD version: [zy1000_version openocd]" + append form_log "Version date: [zy1000_version date]" + append form_log [log] </tcl> <form action="supportrequest.tcl" method="POST" target="_blank"> @@ -1625,7 +1624,7 @@ <tr><td>Contact person</td><td><tcl>append buffer [encode [formfetch name]]</tcl></td></tr> <tr><td>Phone</td><td><tcl>append buffer [encode [formfetch phone]]</tcl></td></tr> <tr><td>email</td><td><tcl>append buffer [encode [formfetch email]]</tcl></td></tr> - <tr><td>MAC address</td><td><tcl>append buffer [formfetch serial]]</tcl></td></tr> + <tr><td>MAC address</td><td><tcl>append buffer [formfetch serial]</tcl></td></tr> <tr><td colspan="2">Summary:</td></tr> <tr><td colspan="2"><tcl>append buffer [encode [formfetch summary]]</tcl></td></tr> <tr><td colspan="2">Description:</td></tr> Modified: zy1000/trunk/build/tcl/browsemem.tcl =================================================================== --- zy1000/trunk/build/tcl/browsemem.tcl 2009-07-02 07:20:04 UTC (rev 2450) +++ zy1000/trunk/build/tcl/browsemem.tcl 2009-07-02 09:11:18 UTC (rev 2451) @@ -1,155 +1,155 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <html xmlns="http://www.w3.org/TR/REC-html40"> -<head> -<title>Zylin ZY1000 JTAG debugger</title> -<meta charset="utf-8" content="text/html" http-equiv="Content-Type"/> -<link type="text/css" rel="stylesheet" href="/ram/cgi/zylweb.css"/> -</head> -<tcl> - set console "" - set upload_filename /ram/upload - </tcl> -<body style="margin:0px;"> -<div style="width:974px;height:85px;"> -<div style="float:left;position:relative;left:32px;width:478px;"> -<a href="/"> -<img src="/rom/menu_cuts/logo_top.png" style="border:0px;"/> -</a> -</div> -<div style="float:left;position:relative;height:26px; width:278px;left:122px;background-image:url('/rom/menu_cuts/top_right.png');"> -<div style="position:relative;left:15px;top:4px;" class="textlight"> -<tcl>append buffer [zy1000_version]</tcl> -</div> -</div> -</div> -<table style="padding:0px;border-collapse:collapse;"> -<tr> -<td style="width:33px;"> -<div style="width:20px;height:510px;"> - - </div> -</td> -<td style="vertical-align:top;height:100%;width:140px;padding:0px;"> -<table style="padding:0px;border-collapse:collapse;height:100%;width:140px;"> -<tr style="height:59px;"> -<td/> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="browsemem.tcl" style="font-weight: bold;">Browse / Edit</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="downloadmem.tcl" style="">Download</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="log.tcl#tail" style="">View Tail of Log</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:35px;background-image:url('/rom/menu_cuts/v_1.png')"/> -</tr> -<tr> -<td style="width:140px;background-image:url('/rom/menu_cuts/v_2_tile.png')"/> -</tr> -<tr> -<td style="width:140px;height:140px;background-image:url('/rom/menu_cuts/v_3.png')"/> -</tr> -</table> -</td> -<td style="vertical-align:top;padding:0px;height:100%"> -<table style="padding:0px;border-collapse:collapse;height:100%;"> -<tr> -<td> -<table style="padding:0px;border-collapse:collapse;"> -<tr> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/index.tcl">Config Target</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/flashinfo.tcl">Flash</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/browsemem.tcl" style="font-weight: bold;">Memory</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/openocd.tcl">OpenOCD</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/zy1000.tcl">Setup ZY1000</a> -</div> -</td> -</tr> -</table> -</td> -</tr> -<tr> -<td style="height:30px;width:535px;background-image:url('/rom/menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> -<div style="width:500px;background-color:#ffffff;height:100%;"> - - </div> -</td> -</tr> -<tr> -<td style="background-color:#ffffff;text-indent:30px;height:40px;" colspan="6"> -<H1>Browse / Edit Memory</H1> -</td> -</tr> -<tr style="height:100%;"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <html xmlns="http://www.w3.org/TR/REC-html40"> +<head> +<title>Zylin ZY1000 JTAG debugger</title> +<meta charset="utf-8" content="text/html" http-equiv="Content-Type"/> +<link type="text/css" rel="stylesheet" href="/ram/cgi/zylweb.css"/> +</head> +<tcl> + set console "" + set upload_filename /ram/upload + </tcl> +<body style="margin:0px;"> +<div style="width:974px;height:85px;"> +<div style="float:left;position:relative;left:32px;width:478px;"> +<a href="/"> +<img src="/rom/menu_cuts/logo_top.png" style="border:0px;"/> +</a> +</div> +<div style="float:left;position:relative;height:26px; width:278px;left:122px;background-image:url('/rom/menu_cuts/top_right.png');"> +<div style="position:relative;left:15px;top:4px;" class="textlight"> +<tcl>append buffer [zy1000_version]</tcl> +</div> +</div> +</div> +<table style="padding:0px;border-collapse:collapse;"> +<tr> +<td style="width:33px;"> +<div style="width:20px;height:510px;"> + + </div> +</td> +<td style="vertical-align:top;height:100%;width:140px;padding:0px;"> +<table style="padding:0px;border-collapse:collapse;height:100%;width:140px;"> +<tr style="height:59px;"> +<td/> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="browsemem.tcl" style="font-weight: bold;">Browse / Edit</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="downloadmem.tcl" style="">Download</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="log.tcl#tail" style="">View Tail of Log</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:35px;background-image:url('/rom/menu_cuts/v_1.png')"/> +</tr> +<tr> +<td style="width:140px;background-image:url('/rom/menu_cuts/v_2_tile.png')"/> +</tr> +<tr> +<td style="width:140px;height:140px;background-image:url('/rom/menu_cuts/v_3.png')"/> +</tr> +</table> +</td> +<td style="vertical-align:top;padding:0px;height:100%"> +<table style="padding:0px;border-collapse:collapse;height:100%;"> +<tr> +<td> +<table style="padding:0px;border-collapse:collapse;"> +<tr> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/index.tcl">Config Target</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/flashinfo.tcl">Flash</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/browsemem.tcl" style="font-weight: bold;">Memory</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/openocd.tcl">OpenOCD</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/zy1000.tcl">Setup ZY1000</a> +</div> +</td> +</tr> +</table> +</td> +</tr> +<tr> +<td style="height:30px;width:535px;background-image:url('/rom/menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> +<div style="width:500px;background-color:#ffffff;height:100%;"> + + </div> +</td> +</tr> +<tr> +<td style="background-color:#ffffff;text-indent:30px;height:40px;" colspan="6"> +<H1>Browse / Edit Memory</H1> +</td> +</tr> +<tr style="height:100%;"> <td style="background-color:#ffffff;padding-left:30px;padding-right:30px;width=535px;height:100%;" colspan="6"> @@ -269,119 +269,119 @@ - </td> -</tr> -<tcl> - - set toggle_details [formfetch toggle_details] - if {[string length $toggle_details]==0} { - set toggle_details 0 - } - set show_details [load_var show_details] - if {[string length $show_details]==0} { - set show_details 0 - } - if {$toggle_details==1} { - set show_details [expr 1-$show_details] - save_var show_details $show_details - } - - if {[string length $console]!=0} { - </tcl> -<tr style="height:100%;"> -<td style="height:100%;background-color:red;" colspan="6"> -<table style="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%" class="textgray"> -<td style="width:25px;"> </td> -<tcl> - if {$show_details==1} { - append buffer < - append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"} - append buffer > - } else { - append buffer < - append buffer {td style="background-image:url('/rom/menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"} - append buffer > - } - </tcl> -<a class="openocd" href="/ram/cgi/browsemem.tcl?toggle_details=1"> -<tcl> - if {$show_details==1} { - append buffer "Hide details" - append buffer <br/> - } else { - append buffer {<div style="position:relative;top:7px;text-align:center;">} - append buffer "Show details" - append buffer {</div>} - } - </tcl> -</a> -<tcl> - if {$show_details==1} { - append buffer $console - } - </tcl></td><tcl> - if {$show_details!=1} { - append buffer {<td> </td>} - } - </tcl> -<td style="width:25px;"> </td> -</table> -</td> -</tr> -<tcl> - } - </tcl> -<tr> -<td style="height:30px;background-image:url('/rom/menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> -<div style="width:500px;background-color:#ffffff;height:100%;"> - - </div> -</td> -</tr> -</table> -</td> -<td style="width:6px;"/> -<td style="width:245px;height:100%"> -<table style="padding:0px;border-collapse:collapse;height:100%;"> -<tr> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;" class="textgray"> - Documentation - </div> -</td> -<td width="40px"> - - </td> -<td/> -</tr> -<tr> -<td style="height:10px;width:245px;background-image:url('/rom/menu_cuts/right_top_small.png');" colspan="3"/> -</tr> -<tr> -<td style="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;" colspan="3"> -<a target="_blank" href="http://www.zylin.com/zy1000/ZY1000_Quick_Start_Guide.pdf">Quick Start Manual</a> -<br/> -<a target="_blank" href="http://www.zylin.com/zy1000/openocd.pdf">OpenOCD Manual</a> -<br/> -<a target="_blank" href="http://www.zylin.com/zy1000_contact.html">Contact Zylin AS</a> -</td> -</tr> -<tr> -<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> -</tr> -<tr> -<td colspan="3"> -<table style="padding:0px;border-collapse:collapse;"> -<td style="background-color:#d8d7d7;width:10px;height:1px"/> -<td style="background-color:#999999;width:225px; height:1px;"/> -<td style="background-color:#d8d7d7;width:10px;height:1px"/> -</table> -</td> -</tr> -<tr> -<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> -</tr> -<tr style="height:100%;"> + </td> +</tr> +<tcl> + + set toggle_details [formfetch toggle_details] + if {[string length $toggle_details]==0} { + set toggle_details 0 + } + set show_details [load_var show_details] + if {[string length $show_details]==0} { + set show_details 0 + } + if {$toggle_details==1} { + set show_details [expr 1-$show_details] + save_var show_details $show_details + } + + if {[string length $console]!=0} { + </tcl> +<tr style="height:100%;"> +<td style="height:100%;background-color:red;" colspan="6"> +<table style="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%" class="textgray"> +<td style="width:25px;"> </td> +<tcl> + if {$show_details==1} { + append buffer < + append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"} + append buffer > + } else { + append buffer < + append buffer {td style="background-image:url('/rom/menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"} + append buffer > + } + </tcl> +<a class="openocd" href="/ram/cgi/browsemem.tcl?toggle_details=1"> +<tcl> + if {$show_details==1} { + append buffer "Hide details" + append buffer <br/> + } else { + append buffer {<div style="position:relative;top:7px;text-align:center;">} + append buffer "Show details" + append buffer {</div>} + } + </tcl> +</a> +<tcl> + if {$show_details==1} { + append buffer $console + } + </tcl></td><tcl> + if {$show_details!=1} { + append buffer {<td> </td>} + } + </tcl> +<td style="width:25px;"> </td> +</table> +</td> +</tr> +<tcl> + } + </tcl> +<tr> +<td style="height:30px;background-image:url('/rom/menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> +<div style="width:500px;background-color:#ffffff;height:100%;"> + + </div> +</td> +</tr> +</table> +</td> +<td style="width:6px;"/> +<td style="width:245px;height:100%"> +<table style="padding:0px;border-collapse:collapse;height:100%;"> +<tr> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;" class="textgray"> + Documentation + </div> +</td> +<td width="40px"> + + </td> +<td/> +</tr> +<tr> +<td style="height:10px;width:245px;background-image:url('/rom/menu_cuts/right_top_small.png');" colspan="3"/> +</tr> +<tr> +<td style="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;" colspan="3"> +<a target="_blank" href="http://www.zylin.com/zy1000/ZY1000_Quick_Start_Guide.pdf">Quick Start Manual</a> +<br/> +<a target="_blank" href="http://www.zylin.com/zy1000/openocd.pdf">OpenOCD Manual</a> +<br/> +<a target="_blank" href="http://www.zylin.com/zy1000_contact.html">Contact Zylin AS</a> +</td> +</tr> +<tr> +<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> +</tr> +<tr> +<td colspan="3"> +<table style="padding:0px;border-collapse:collapse;"> +<td style="background-color:#d8d7d7;width:10px;height:1px"/> +<td style="background-color:#999999;width:225px; height:1px;"/> +<td style="background-color:#d8d7d7;width:10px;height:1px"/> +</table> +</td> +</tr> +<tr> +<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> +</tr> +<tr style="height:100%;"> <td style="height:100%;background-color:#d8d7d7;padding-left:10px;padding-right:10px;" colspan="3" class="textgray"> <p>Browse and edit target memory.<br> @@ -392,65 +392,65 @@ <p><b>Fill</b> - Will fill the specified region with the specified value.</p> <p><b>Refresh</b> - Display the content of the specified memory area.</p> - </td> -</tr> -<tr> -<td style="height:30px;background-image:url('/rom/menu_cuts/right_bottom.png');" colspan="3"> - - </td> -</tr> -</table> -</td> -</tr> -<tr> -<td/> -<td> -<img border="0" src="/rom/menu_cuts/logo_bottom.png"/> -</td> -<td style="padding-top:10px;padding-left:10px;margin-top:10px;" class="textlight"> - Zylin AS, Auglendsdalen 78, N-4017 Stavanger, Norway - www.zylin.com - </td> -</tr> -</table> -</body> -</html> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + </td> +</tr> +<tr> +<td style="height:30px;background-image:url('/rom/menu_cuts/right_bottom.png');" colspan="3"> + + </td> +</tr> +</table> +</td> +</tr> +<tr> +<td/> +<td> +<img border="0" src="/rom/menu_cuts/logo_bottom.png"/> +</td> +<td style="padding-top:10px;padding-left:10px;margin-top:10px;" class="textlight"> + Zylin AS, Auglendsdalen 78, N-4017 Stavanger, Norway - www.zylin.com + </td> +</tr> +</table> +</body> +</html> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Modified: zy1000/trunk/build/tcl/downloadmem.tcl =================================================================== --- zy1000/trunk/build/tcl/downloadmem.tcl 2009-07-02 07:20:04 UTC (rev 2450) +++ zy1000/trunk/build/tcl/downloadmem.tcl 2009-07-02 09:11:18 UTC (rev 2451) @@ -1,160 +1,160 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <html xmlns="http://www.w3.org/TR/REC-html40"> -<head> -<title>Zylin ZY1000 JTAG debugger</title> -<meta charset="utf-8" content="text/html" http-equiv="Content-Type"/> -<link type="text/css" rel="stylesheet" href="/ram/cgi/zylweb.css"/> -</head> -<tcl> - set console "" - set upload_filename /ram/upload - </tcl> -<body style="margin:0px;"> -<div style="width:974px;height:85px;"> -<div style="float:left;position:relative;left:32px;width:478px;"> -<a href="/"> -<img src="/rom/menu_cuts/logo_top.png" style="border:0px;"/> -</a> -</div> -<div style="float:left;position:relative;height:26px; width:278px;left:122px;background-image:url('/rom/menu_cuts/top_right.png');"> -<div style="position:relative;left:15px;top:4px;" class="textlight"> -<tcl>append buffer [zy1000_version]</tcl> -</div> -</div> -</div> -<table style="padding:0px;border-collapse:collapse;"> -<tr> -<td style="width:33px;"> -<div style="width:20px;height:510px;"> - - </div> -</td> -<td style="vertical-align:top;height:100%;width:140px;padding:0px;"> -<table style="padding:0px;border-collapse:collapse;height:100%;width:140px;"> -<tr style="height:59px;"> -<td/> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="browsemem.tcl" style="">Browse / Edit</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="downloadmem.tcl" style="font-weight: bold;">Download</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="log.tcl#tail" style="">View Tail of Log</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:35px;background-image:url('/rom/menu_cuts/v_1.png')"/> -</tr> -<tr> -<td style="width:140px;background-image:url('/rom/menu_cuts/v_2_tile.png')"/> -</tr> -<tr> -<td style="width:140px;height:140px;background-image:url('/rom/menu_cuts/v_3.png')"/> -</tr> -</table> -</td> -<td style="vertical-align:top;padding:0px;height:100%"> -<table style="padding:0px;border-collapse:collapse;height:100%;"> -<tr> -<td> -<table style="padding:0px;border-collapse:collapse;"> -<tr> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/index.tcl">Config Target</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/flashinfo.tcl">Flash</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/browsemem.tcl" style="font-weight: bold;">Memory</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/openocd.tcl">OpenOCD</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/zy1000.tcl">Setup ZY1000</a> -</div> -</td> -</tr> -</table> -</td> -</tr> -<tr> -<td style="height:30px;width:535px;background-image:url('/rom/menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> -<div style="width:500px;background-color:#ffffff;height:100%;"> - - </div> -</td> -</tr> -<tr> -<td style="background-color:#ffffff;text-indent:30px;height:40px;" colspan="6"> -<H1>Download Memory Range</H1> -</td> -</tr> -<tr style="height:100%;"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <html xmlns="http://www.w3.org/TR/REC-html40"> +<head> +<title>Zylin ZY1000 JTAG debugger</title> +<meta charset="utf-8" content="text/html" http-equiv="Content-Type"/> +<link type="text/css" rel="stylesheet" href="/ram/cgi/zylweb.css"/> +</head> +<tcl> + set console "" + set upload_filename /ram/upload + </tcl> +<body style="margin:0px;"> +<div style="width:974px;height:85px;"> +<div style="float:left;position:relative;left:32px;width:478px;"> +<a href="/"> +<img src="/rom/menu_cuts/logo_top.png" style="border:0px;"/> +</a> +</div> +<div style="float:left;position:relative;height:26px; width:278px;left:122px;background-image:url('/rom/menu_cuts/top_right.png');"> +<div style="position:relative;left:15px;top:4px;" class="textlight"> +<tcl>append buffer [zy1000_version]</tcl> +</div> +</div> +</div> +<table style="padding:0px;border-collapse:collapse;"> +<tr> +<td style="width:33px;"> +<div style="width:20px;height:510px;"> + + </div> +</td> +<td style="vertical-align:top;height:100%;width:140px;padding:0px;"> +<table style="padding:0px;border-collapse:collapse;height:100%;width:140px;"> +<tr style="height:59px;"> +<td/> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="browsemem.tcl" style="">Browse / Edit</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="downloadmem.tcl" style="font-weight: bold;">Download</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="log.tcl#tail" style="">View Tail of Log</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:35px;background-image:url('/rom/menu_cuts/v_1.png')"/> +</tr> +<tr> +<td style="width:140px;background-image:url('/rom/menu_cuts/v_2_tile.png')"/> +</tr> +<tr> +<td style="width:140px;height:140px;background-image:url('/rom/menu_cuts/v_3.png')"/> +</tr> +</table> +</td> +<td style="vertical-align:top;padding:0px;height:100%"> +<table style="padding:0px;border-collapse:collapse;height:100%;"> +<tr> +<td> +<table style="padding:0px;border-collapse:collapse;"> +<tr> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/index.tcl">Config Target</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/flashinfo.tcl">Flash</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/browsemem.tcl" style="font-weight: bold;">Memory</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/openocd.tcl">OpenOCD</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/zy1000.tcl">Setup ZY1000</a> +</div> +</td> +</tr> +</table> +</td> +</tr> +<tr> +<td style="height:30px;width:535px;background-image:url('/rom/menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> +<div style="width:500px;background-color:#ffffff;height:100%;"> + + </div> +</td> +</tr> +<tr> +<td style="background-color:#ffffff;text-indent:30px;height:40px;" colspan="6"> +<H1>Download Memory Range</H1> +</td> +</tr> +<tr style="height:100%;"> <td style="background-color:#ffffff;padding-left:30px;padding-right:30px;width=535px;height:100%;" colspan="6"> <tcl> set form_address [formfetch form_address] @@ -193,119 +193,119 @@ - </td> -</tr> -<tcl> - - set toggle_details [formfetch toggle_details] - if {[string length $toggle_details]==0} { - set toggle_details 0 - } - set show_details [load_var show_details] - if {[string length $show_details]==0} { - set show_details 0 - } - if {$toggle_details==1} { - set show_details [expr 1-$show_details] - save_var show_details $show_details - } - - if {[string length $console]!=0} { - </tcl> -<tr style="height:100%;"> -<td style="height:100%;background-color:red;" colspan="6"> -<table style="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%" class="textgray"> -<td style="width:25px;"> </td> -<tcl> - if {$show_details==1} { - append buffer < - append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"} - append buffer > - } else { - append buffer < - append buffer {td style="background-image:url('/rom/menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"} - append buffer > - } - </tcl> -<a class="openocd" href="/ram/cgi/downloadmem.tcl?toggle_details=1"> -<tcl> - if {$show_details==1} { - append buffer "Hide details" - append buffer <br/> - } else { - append buffer {<div style="position:relative;top:7px;text-align:center;">} - append buffer "Show details" - append buffer {</div>} - } - </tcl> -</a> -<tcl> - if {$show_details==1} { - append buffer $console - } - </tcl></td><tcl> - if {$show_details!=1} { - append buffer {<td> </td>} - } - </tcl> -<td style="width:25px;"> </td> -</table> -</td> -</tr> -<tcl> - } - </tcl> -<tr> -<td style="height:30px;background-image:url('/rom/menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> -<div style="width:500px;background-color:#ffffff;height:100%;"> - - </div> -</td> -</tr> -</table> -</td> -<td style="width:6px;"/> -<td style="width:245px;height:100%"> -<table style="padding:0px;border-collapse:collapse;height:100%;"> -<tr> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;" class="textgray"> - Documentation - </div> -</td> -<td width="40px"> - - </td> -<td/> -</tr> -<tr> -<td style="height:10px;width:245px;background-image:url('/rom/menu_cuts/right_top_small.png');" colspan="3"/> -</tr> -<tr> -<td style="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;" colspan="3"> -<a target="_blank" href="http://www.zylin.com/zy1000/ZY1000_Quick_Start_Guide.pdf">Quick Start Manual</a> -<br/> -<a target="_blank" href="http://www.zylin.com/zy1000/openocd.pdf">OpenOCD Manual</a> -<br/> -<a target="_blank" href="http://www.zylin.com/zy1000_contact.html">Contact Zylin AS</a> -</td> -</tr> -<tr> -<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> -</tr> -<tr> -<td colspan="3"> -<table style="padding:0px;border-collapse:collapse;"> -<td style="background-color:#d8d7d7;width:10px;height:1px"/> -<td style="background-color:#999999;width:225px; height:1px;"/> -<td style="background-color:#d8d7d7;width:10px;height:1px"/> -</table> -</td> -</tr> -<tr> -<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> -</tr> -<tr style="height:100%;"> + </td> +</tr> +<tcl> + + set toggle_details [formfetch toggle_details] + if {[string length $toggle_details]==0} { + set toggle_details 0 + } + set show_details [load_var show_details] + if {[string length $show_details]==0} { + set show_details 0 + } + if {$toggle_details==1} { + set show_details [expr 1-$show_details] + save_var show_details $show_details + } + + if {[string length $console]!=0} { + </tcl> +<tr style="height:100%;"> +<td style="height:100%;background-color:red;" colspan="6"> +<table style="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%" class="textgray"> +<td style="width:25px;"> </td> +<tcl> + if {$show_details==1} { + append buffer < + append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"} + append buffer > + } else { + append buffer < + append buffer {td style="background-image:url('/rom/menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"} + append buffer > + } + </tcl> +<a class="openocd" href="/ram/cgi/downloadmem.tcl?toggle_details=1"> +<tcl> + if {$show_details==1} { + append buffer "Hide details" + append buffer <br/> + } else { + append buffer {<div style="position:relative;top:7px;text-align:center;">} + append buffer "Show details" + append buffer {</div>} + } + </tcl> +</a> +<tcl> + if {$show_details==1} { + append buffer $console + } + </tcl></td><tcl> + if {$show_details!=1} { + append buffer {<td> </td>} + } + </tcl> +<td style="width:25px;"> </td> +</table> +</td> +</tr> +<tcl> + } + </tcl> +<tr> +<td style="height:30px;background-image:url('/rom/menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> +<div style="width:500px;background-color:#ffffff;height:100%;"> + + </div> +</td> +</tr> +</table> +</td> +<td style="width:6px;"/> +<td style="width:245px;height:100%"> +<table style="padding:0px;border-collapse:collapse;height:100%;"> +<tr> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;" class="textgray"> + Documentation + </div> +</td> +<td width="40px"> + + </td> +<td/> +</tr> +<tr> +<td style="height:10px;width:245px;background-image:url('/rom/menu_cuts/right_top_small.png');" colspan="3"/> +</tr> +<tr> +<td style="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;" colspan="3"> +<a target="_blank" href="http://www.zylin.com/zy1000/ZY1000_Quick_Start_Guide.pdf">Quick Start Manual</a> +<br/> +<a target="_blank" href="http://www.zylin.com/zy1000/openocd.pdf">OpenOCD Manual</a> +<br/> +<a target="_blank" href="http://www.zylin.com/zy1000_contact.html">Contact Zylin AS</a> +</td> +</tr> +<tr> +<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> +</tr> +<tr> +<td colspan="3"> +<table style="padding:0px;border-collapse:collapse;"> +<td style="background-color:#d8d7d7;width:10px;height:1px"/> +<td style="background-color:#999999;width:225px; height:1px;"/> +<td style="background-color:#d8d7d7;width:10px;height:1px"/> +</table> +</td> +</tr> +<tr> +<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> +</tr> +<tr style="height:100%;"> <td style="height:100%;background-color:#d8d7d7;padding-left:10px;padding-right:10px;" colspan="3" class="textgray"> Download memory to ZY1000 from target. <br> @@ -315,60 +315,60 @@ Once the memory is downloaded a link is available on the page to download the file from ZY1000 to your PC. - </td> -</tr> -<tr> -<td style="height:30px;background-image:url('/rom/menu_cuts/right_bottom.png');" colspan="3"> - - </td> -</tr> -</table> -</td> -</tr> -<tr> -<td/> -<td> -<img border="0" src="/rom/menu_cuts/logo_bottom.png"/> -</td> -<td style="padding-top:10px;padding-left:10px;margin-top:10px;" class="textlight"> - Zylin AS, Auglendsdalen 78, N-4017 Stavanger, Norway - www.zylin.com - </td> -</tr> -</table> -</body> -</html> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + </td> +</tr> +<tr> +<td style="height:30px;background-image:url('/rom/menu_cuts/right_bottom.png');" colspan="3"> + + </td> +</tr> +</table> +</td> +</tr> +<tr> +<td/> +<td> +<img border="0" src="/rom/menu_cuts/logo_bottom.png"/> +</td> +<td style="padding-top:10px;padding-left:10px;margin-top:10px;" class="textlight"> + Zylin AS, Auglendsdalen 78, N-4017 Stavanger, Norway - www.zylin.com + </td> +</tr> +</table> +</body> +</html> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Modified: zy1000/trunk/build/tcl/editconfigs.tcl =================================================================== --- zy1000/trunk/build/tcl/editconfigs.tcl 2009-07-02 07:20:04 UTC (rev 2450) +++ zy1000/trunk/build/tcl/editconfigs.tcl 2009-07-02 09:11:18 UTC (rev 2451) @@ -1,142 +1,142 @@ - - - - - - - - - - - <html xmlns="http://www.w3.org/TR/REC-html40"> -<head> -<title>Zylin ZY1000 JTAG debugger</title> -<meta charset="utf-8" content="text/html" http-equiv="Content-Type"/> -<link type="text/css" rel="stylesheet" href="/ram/cgi/zylweb.css"/> -</head> -<tcl> - set console "" - set upload_filename /ram/upload - </tcl> -<body style="margin:0px;"> -<div style="width:974px;height:85px;"> -<div style="float:left;position:relative;left:32px;width:478px;"> -<a href="/"> -<img src="/rom/menu_cuts/logo_top.png" style="border:0px;"/> -</a> -</div> -<div style="float:left;position:relative;height:26px; width:278px;left:122px;background-image:url('/rom/menu_cuts/top_right.png');"> -<div style="position:relative;left:15px;top:4px;" class="textlight"> -<tcl>append buffer [zy1000_version]</tcl> -</div> -</div> -</div> -<table style="padding:0px;border-collapse:collapse;"> -<tr> -<td style="width:33px;"> -<div style="width:20px;height:510px;"> - - </div> -</td> -<td style="vertical-align:top;height:100%;width:140px;padding:0px;"> -<table style="padding:0px;border-collapse:collapse;height:100%;width:140px;"> -<tr style="height:59px;"> -<td/> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="/ram/cgi/index.tcl" style="">Target Status</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="/ram/cgi/preconfig.tcl" style="">Select Target Config</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="/ram/cgi/editconfigs.tcl" style="">Edit Configurations</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="/ram/cgi/reload.tcl" style="">Reload Config Scripts</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> -<div style="position:relative;left:10px;top:10px;font-weight:bold;"> -<a href="/ram/cgi/log.tcl#tail" style="">View Tail of Log</a> -</div> -</td> -</tr> -<tr> -<td style="width:140px;height:35px;background-image:url('/rom/menu_cuts/v_1.png')"/> -</tr> -<tr> -<td style="width:140px;background-image:url('/rom/menu_cuts/v_2_tile.png')"/> -</tr> -<tr> -<td style="width:140px;height:140px;background-image:url('/rom/menu_cuts/v_3.png')"/> -</tr> -</table> -</td> -<td style="vertical-align:top;padding:0px;height:100%"> -<table style="padding:0px;border-collapse:collapse;height:100%;"> -<tr> -<td> -<table style="padding:0px;border-collapse:collapse;"> -<tr> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/index.tcl" style="font-weight: bold;">Config Target</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/flashinfo.tcl">Flash</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/browsemem.tcl">Memory</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/openocd.tcl">OpenOCD</a> -</div> -</td> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> -<a href="/ram/cgi/zy1000.tcl">Setup ZY1000</a> -</div> -</td> -</tr> -</table> -</td> -</tr> -<tr> -<td style="height:30px;width:535px;background-image:url('/rom/menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> -<div style="width:500px;background-color:#ffffff;height:100%;"> - - </div> -</td> -</tr> -<tr> -<td style="background-color:#ffffff;text-indent:30px;height:40px;" colspan="6"> -<H1>Edit Target Configurations</H1> -</td> -</tr> -<tr style="height:100%;"> + + + + + + + + + + + <html xmlns="http://www.w3.org/TR/REC-html40"> +<head> +<title>Zylin ZY1000 JTAG debugger</title> +<meta charset="utf-8" content="text/html" http-equiv="Content-Type"/> +<link type="text/css" rel="stylesheet" href="/ram/cgi/zylweb.css"/> +</head> +<tcl> + set console "" + set upload_filename /ram/upload + </tcl> +<body style="margin:0px;"> +<div style="width:974px;height:85px;"> +<div style="float:left;position:relative;left:32px;width:478px;"> +<a href="/"> +<img src="/rom/menu_cuts/logo_top.png" style="border:0px;"/> +</a> +</div> +<div style="float:left;position:relative;height:26px; width:278px;left:122px;background-image:url('/rom/menu_cuts/top_right.png');"> +<div style="position:relative;left:15px;top:4px;" class="textlight"> +<tcl>append buffer [zy1000_version]</tcl> +</div> +</div> +</div> +<table style="padding:0px;border-collapse:collapse;"> +<tr> +<td style="width:33px;"> +<div style="width:20px;height:510px;"> + + </div> +</td> +<td style="vertical-align:top;height:100%;width:140px;padding:0px;"> +<table style="padding:0px;border-collapse:collapse;height:100%;width:140px;"> +<tr style="height:59px;"> +<td/> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="/ram/cgi/index.tcl" style="">Target Status</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="/ram/cgi/preconfig.tcl" style="">Select Target Config</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="/ram/cgi/editconfigs.tcl" style="">Edit Configurations</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="/ram/cgi/reload.tcl" style="">Reload Config Scripts</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:38px;background-image:url('/rom/menu_cuts/v_tab.png');background-repeat: no-repeat;"> +<div style="position:relative;left:10px;top:10px;font-weight:bold;"> +<a href="/ram/cgi/log.tcl#tail" style="">View Tail of Log</a> +</div> +</td> +</tr> +<tr> +<td style="width:140px;height:35px;background-image:url('/rom/menu_cuts/v_1.png')"/> +</tr> +<tr> +<td style="width:140px;background-image:url('/rom/menu_cuts/v_2_tile.png')"/> +</tr> +<tr> +<td style="width:140px;height:140px;background-image:url('/rom/menu_cuts/v_3.png')"/> +</tr> +</table> +</td> +<td style="vertical-align:top;padding:0px;height:100%"> +<table style="padding:0px;border-collapse:collapse;height:100%;"> +<tr> +<td> +<table style="padding:0px;border-collapse:collapse;"> +<tr> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/index.tcl" style="font-weight: bold;">Config Target</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/flashinfo.tcl">Flash</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/browsemem.tcl">Memory</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/openocd.tcl">OpenOCD</a> +</div> +</td> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab1.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;font-weight:bold;text-align:center;width:100px;"> +<a href="/ram/cgi/zy1000.tcl">Setup ZY1000</a> +</div> +</td> +</tr> +</table> +</td> +</tr> +<tr> +<td style="height:30px;width:535px;background-image:url('/rom/menu_cuts/center_top.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> +<div style="width:500px;background-color:#ffffff;height:100%;"> + + </div> +</td> +</tr> +<tr> +<td style="background-color:#ffffff;text-indent:30px;height:40px;" colspan="6"> +<H1>Edit Target Configurations</H1> +</td> +</tr> +<tr style="height:100%;"> <td style="background-color:#ffffff;padding-left:30px;padding-right:30px;width=535px;height:100%;" colspan="6"> <form action="editconfigs.tcl" method="post"> <tcl> @@ -218,119 +218,119 @@ append buffer {</tr></table>} "\n" </tcl> </form> - </td> -</tr> -<tcl> - - set toggle_details [formfetch toggle_details] - if {[string length $toggle_details]==0} { - set toggle_details 0 - } - set show_details [load_var show_details] - if {[string length $show_details]==0} { - set show_details 0 - } - if {$toggle_details==1} { - set show_details [expr 1-$show_details] - save_var show_details $show_details - } - - if {[string length $console]!=0} { - </tcl> -<tr style="height:100%;"> -<td style="height:100%;background-color:red;" colspan="6"> -<table style="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%" class="textgray"> -<td style="width:25px;"> </td> -<tcl> - if {$show_details==1} { - append buffer < - append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"} - append buffer > - } else { - append buffer < - append buffer {td style="background-image:url('/rom/menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"} - append buffer > - } - </tcl> -<a class="openocd" href="/ram/cgi/editconfigs.tcl?toggle_details=1"> -<tcl> - if {$show_details==1} { - append buffer "Hide details" - append buffer <br/> - } else { - append buffer {<div style="position:relative;top:7px;text-align:center;">} - append buffer "Show details" - append buffer {</div>} - } - </tcl> -</a> -<tcl> - if {$show_details==1} { - append buffer $console - } - </tcl></td><tcl> - if {$show_details!=1} { - append buffer {<td> </td>} - } - </tcl> -<td style="width:25px;"> </td> -</table> -</td> -</tr> -<tcl> - } - </tcl> -<tr> -<td style="height:30px;background-image:url('/rom/menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> -<div style="width:500px;background-color:#ffffff;height:100%;"> - - </div> -</td> -</tr> -</table> -</td> -<td style="width:6px;"/> -<td style="width:245px;height:100%"> -<table style="padding:0px;border-collapse:collapse;height:100%;"> -<tr> -<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;"> -<div style="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;" class="textgray"> - Documentation - </div> -</td> -<td width="40px"> - - </td> -<td/> -</tr> -<tr> -<td style="height:10px;width:245px;background-image:url('/rom/menu_cuts/right_top_small.png');" colspan="3"/> -</tr> -<tr> -<td style="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;" colspan="3"> -<a target="_blank" href="http://www.zylin.com/zy1000/ZY1000_Quick_Start_Guide.pdf">Quick Start Manual</a> -<br/> -<a target="_blank" href="http://www.zylin.com/zy1000/openocd.pdf">OpenOCD Manual</a> -<br/> -<a target="_blank" href="http://www.zylin.com/zy1000_contact.html">Contact Zylin AS</a> -</td> -</tr> -<tr> -<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> -</tr> -<tr> -<td colspan="3"> -<table style="padding:0px;border-collapse:collapse;"> -<td style="background-color:#d8d7d7;width:10px;height:1px"/> -<td style="background-color:#999999;width:225px; height:1px;"/> -<td style="background-color:#d8d7d7;width:10px;height:1px"/> -</table> -</td> -</tr> -<tr> -<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> -</tr> -<tr style="height:100%;"> + </td> +</tr> +<tcl> + + set toggle_details [formfetch toggle_details] + if {[string length $toggle_details]==0} { + set toggle_details 0 + } + set show_details [load_var show_details] + if {[string length $show_details]==0} { + set show_details 0 + } + if {$toggle_details==1} { + set show_details [expr 1-$show_details] + save_var show_details $show_details + } + + if {[string length $console]!=0} { + </tcl> +<tr style="height:100%;"> +<td style="height:100%;background-color:red;" colspan="6"> +<table style="padding:0px;border-collapse:collapse;background-color:#ffffff;width:100%" class="textgray"> +<td style="width:25px;"> </td> +<tcl> + if {$show_details==1} { + append buffer < + append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"} + append buffer > + } else { + append buffer < + append buffer {td style="background-image:url('/rom/menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"} + append buffer > + } + </tcl> +<a class="openocd" href="/ram/cgi/editconfigs.tcl?toggle_details=1"> +<tcl> + if {$show_details==1} { + append buffer "Hide details" + append buffer <br/> + } else { + append buffer {<div style="position:relative;top:7px;text-align:center;">} + append buffer "Show details" + append buffer {</div>} + } + </tcl> +</a> +<tcl> + if {$show_details==1} { + append buffer $console + } + </tcl></td><tcl> + if {$show_details!=1} { + append buffer {<td> </td>} + } + </tcl> +<td style="width:25px;"> </td> +</table> +</td> +</tr> +<tcl> + } + </tcl> +<tr> +<td style="height:30px;background-image:url('/rom/menu_cuts/center_bottom.png');background-repeat: no-repeat;background-position:top right;" colspan="6"> +<div style="width:500px;background-color:#ffffff;height:100%;"> + + </div> +</td> +</tr> +</table> +</td> +<td style="width:6px;"/> +<td style="width:245px;height:100%"> +<table style="padding:0px;border-collapse:collapse;height:100%;"> +<tr> +<td style="width:103px;height:29px;background-image:url('/rom/menu_cuts/h_tab2_selected.png');background-repeat: no-repeat;"> +<div style="position:relative;top:7px;;font-weight:bold;text-align:center;width:100px;" class="textgray"> + Documentation + </div> +</td> +<td width="40px"> + + </td> +<td/> +</tr> +<tr> +<td style="height:10px;width:245px;background-image:url('/rom/menu_cuts/right_top_small.png');" colspan="3"/> +</tr> +<tr> +<td style="background-color:#d8d7d7;width:245px;padding-left:10px;padding-buttom:10px;line-height:17px;" colspan="3"> +<a target="_blank" href="http://www.zylin.com/zy1000/ZY1000_Quick_Start_Guide.pdf">Quick Start Manual</a> +<br/> +<a target="_blank" href="http://www.zylin.com/zy1000/openocd.pdf">OpenOCD Manual</a> +<br/> +<a target="_blank" href="http://www.zylin.com/zy1000_contact.html">Contact Zylin AS</a> +</td> +</tr> +<tr> +<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> +</tr> +<tr> +<td colspan="3"> +<table style="padding:0px;border-collapse:collapse;"> +<td style="background-color:#d8d7d7;width:10px;height:1px"/> +<td style="background-color:#999999;width:225px; height:1px;"/> +<td style="background-color:#d8d7d7;width:10px;height:1px"/> +</table> +</td> +</tr> +<tr> +<td style="background-color:#d8d7d7;height:15px;" colspan="3"/> +</tr> +<tr style="height:100%;"> <td style="height:100%;background-color:#d8d7d7;padding-left:10px;padding-right:10px;" colspan="3" class="textgray"> <p>Here you can edit predefined target configurations, restore predefined configurations to @@ -346,92 +346,92 @@ <b>Note</b> that firmware included configuration files can not be deleted.</p> <p><b>Save</b> - Save the edited file under the a new or the same name.</p> - </td> -</tr> -<tr> -<td style="height:30px;background-image:url('/rom/menu_cuts/right_bottom.p... [truncated message content] |