\r
\r
\r
-\r
- \r
\r
\r
\r
<tr>\r
<td style="width:140px;height:38px;background-image:url('menu_cuts/v_tab_selected.png');background-repeat: no-repeat;">\r
<div style="position:relative;left:10px;top:10px;font-weight:bold;">\r
-<a href="guiupload.tcl" style="font-weight: bold;">Upload File to ZY1000</a>\r
+<a href="guiupload.tcl" style="font-weight: bold;">Upload File</a>\r
</div>\r
</td>\r
</tr>\r
</tr>\r
<tr>\r
<td style="background-color:#ffffff;text-indent:30px;height:40px;" colspan="6">\r
-<H1>Upload File to ZY1000</H1>\r
+<H1>Upload File</H1>\r
</td>\r
</tr>\r
<tr style="height:100%;">\r
}\r
}\r
\r
- append buffer {<table style="padding:0px;border-collapse:collapse;"><tr><td class="formtext">Filename on ZY1000</td><td><input type="text" name="form_filename"></td></tr>}\r
+ append buffer {<table style="padding:0px;border-collapse:collapse;"><tr><td class="formtext">Filename on OpenOCD machine</td><td><input type="text" name="form_filename"></td></tr>}\r
append buffer {<td class="formtext">File to upload</td><td><input type="file" name="form_filecontent"></td></tr></table>}\r
append buffer {<table><tr><td style="height:15px;width:535px;"> </td></tr><tr><td style="height:1px;width:535px;background-color:#a2c5d1;"></td></tr><tr><td style="height:15px;width:535px;"> </td></tr></table>}\r
append buffer {<input type="submit" name="form_action" value="Upload" ><br> }\r
<td style="background-color:#d8d7d7;height:15px;" colspan="3"/>\r
</tr>\r
<tr style="height:100%;">\r
-<td style="height:100%;background-color:#d8d7d7;padding-left:10px;padding-right:10px;" colspan="3" class="textgray"> \r
- \r
- <p>The ZY1000 has three filing systems "/rom", "/ram" and "/config". "/rom" is a read only filing\r
- embedded into the firmware.</p>\r
-\r
- <p>Use "/ram" to store temporary files.<p/>\r
- \r
- <p>\r
- You can browse filing systems and download files by pointing your web browser to:\r
- <ul> \r
- <li><a href="/ram" target="_blank">/ram</a>\r
- <li><a href="/rom" target="_blank">/rom</a>\r
- <li><a href="/config" target="_blank">/config</a>\r
- </ul>\r
- </p> \r
- \r
- <p>\r
- You can also upload files using e.g. curl from the command line. Example:\r
- </p>\r
- <code>\r
- curl --form form_filecontent=@/tmp/myfile.elf --form form_filename=/ram/myfile.elf }\r
-append buffer [ip]\r
-append buffer {upload.tcl\r
- </code>\r
- <p> \r
- If you have a tftp server installed on your development PC, you can access\r
- files on your developer PC using a /tftp/ip/ prefix to the file to be accessed\r
- on your developer PC. Note that if you do not increase the default packet\r
- size for your tftp server, then the performance will be very poor. Normal\r
- performance is about 500-600kBytes/s.\r
- </p>\r
- <code> \r
- cp /tftp/10.0.0.106/build/src/openocd /ram/test\r
- </code>\r
- \r
- \r
- </td>\r
+<td style="height:100%;background-color:#d8d7d7;padding-left:10px;padding-right:10px;" colspan="3" class="textgray"/>\r
</tr>\r
<tr>\r
<td style="height:30px;background-image:url('menu_cuts/right_bottom.png');" colspan="3">\r
See log for details. <br>\r
<p><b>Target power</b> - Detects power on target. <br>\r
If the JTAG cable is not connected, or the target has no power, then no target power will be detected.</p>\r
- <p><b>Power on</b> - Turn on ZY1000 target power relay.</p>\r
- <p><b>Power off</b> - Turn off ZY1000 target power relay.</p>\r
<p>Type "help power" in telnet for command to control power relay.</p>\r
- <p><b>Reboot ZY1000</b> - Reboots ZY1000 unit. Type "help reboot" in telnet.</p>\r
]]></markup_code>\r
</right_column>\r
\r
<markup_code><![CDATA[\r
\r
A target needs an openocd.cfg file. This config file sets up\r
- the CPU, flash and reset init script. Either ZY1000 ships with an\r
+ the CPU, flash and reset init script. Either OpenOCD ships with an\r
openocd.cfg file for your target or you need to take an existing\r
config file and modify it for your needs.\r
<p> \r
The reset init script is crucial. It will set up e.g. MMU, chip\r
select registers, etc. after a reset. The init.cfg (reset init script)\r
- is embedded into the openocd.cfg file in the sampls Zylin provides.\r
+ is embedded into the openocd.cfg file in the sampls OpenOCD provides.\r
<p>\r
Writing an openocd.cfg from scratch is a non-trivial exercise, but\r
fortunally it only has to be done once for a target and afterwards it\r
\r
\r
\r
- <page lang="eng">\r
- <outfile>reload.tcl</outfile>\r
- <level2parent>index.tcl</level2parent>\r
- <pageheading>Reload Config Scripts</pageheading>\r
- <pagetext>\r
- <markup_code><![CDATA[\r
- \r
- <tcl>\r
- set form_action [formfetch form_action]\r
- \r
- if {[string compare $form_action "Reload"]==0} {\r
- append buffer "Reloading Config Scripts...<p>"\r
- reboot\r
- }\r
- </tcl>\r
- <form enctype="multipart/form-data" action="reload.tcl" method="post">\r
- <input type="submit" name="form_action" value="Reload">\r
- </form>\r
- \r
- ]]></markup_code>\r
- <right_column>\r
- Restart ZY1000 to reload selected target config script. \r
- </right_column>\r
- </pagetext>\r
- \r
- </page>\r
-\r
\r
<page lang="eng">\r
<outfile>flashinfo.tcl</outfile>\r
]]></markup_code>\r
<right_column>\r
<![CDATA[ \r
- Download memory to ZY1000 from target. <br>\r
+ Download memory from target. <br>\r
<b>Note</b> that download memory can take\r
a long time(potentially minutes for megabytes at low JTAG clk speeds).\r
<p/>\r
Once the memory is downloaded a link is available on the page to download\r
- the file from ZY1000 to your PC.\r
+ the file to your PC.\r
]]>\r
</right_column>\r
</pagetext>\r
<level2parent>openocd.tcl</level2parent>\r
<level2menu href="openocd.tcl" title="Run Command" titlestyle="color:#4e6627;">\r
</level2menu>\r
- <level2menu href="guiupload.tcl" title="Upload File to ZY1000" titlestyle="color:#4e6627;">\r
+ <level2menu href="guiupload.tcl" title="Upload File" titlestyle="color:#4e6627;">\r
<![CDATA[\r
- Upload file to ZY1000\r
+ Upload file\r
]]>\r
</level2menu>\r
\r
<page lang="eng">\r
<outfile>guiupload.tcl</outfile>\r
<level2parent>openocd.tcl</level2parent>\r
- <pageheading>Upload File to ZY1000</pageheading>\r
+ <pageheading>Upload File</pageheading>\r
<pagetext>\r
<markup_code><![CDATA[\r
\r
}\r
}\r
\r
- append buffer {<table style="padding:0px;border-collapse:collapse;"><tr><td class="formtext">Filename on ZY1000</td><td><input type="text" name="form_filename"></td></tr>}\r
+ append buffer {<table style="padding:0px;border-collapse:collapse;"><tr><td class="formtext">Filename on OpenOCD machine</td><td><input type="text" name="form_filename"></td></tr>}\r
append buffer {<td class="formtext">File to upload</td><td><input type="file" name="form_filecontent"></td></tr></table>}\r
append buffer {<table><tr><td style="height:15px;width:535px;"> </td></tr><tr><td style="height:1px;width:535px;background-color:#a2c5d1;"></td></tr><tr><td style="height:15px;width:535px;"> </td></tr></table>}\r
append buffer {<input type="submit" name="form_action" value="Upload" ><br> }\r
</tcl>\r
\r
]]></markup_code>\r
- <right_column> \r
- <![CDATA[\r
- <p>The ZY1000 has three filing systems "/rom", "/ram" and "/config". "/rom" is a read only filing\r
- embedded into the firmware.</p>\r
-\r
- <p>Use "/ram" to store temporary files.<p/>\r
- \r
- <p>\r
- You can browse filing systems and download files by pointing your web browser to:\r
- <ul> \r
- <li><a href="/ram" target="_blank">/ram</a>\r
- <li><a href="/rom" target="_blank">/rom</a>\r
- <li><a href="/config" target="_blank">/config</a>\r
- </ul>\r
- </p> \r
- \r
- <p>\r
- You can also upload files using e.g. curl from the command line. Example:\r
- </p>\r
- <code>\r
- curl --form form_filecontent=@/tmp/myfile.elf --form form_filename=/ram/myfile.elf <tcl>append buffer [ip]</tcl>upload.tcl\r
- </code>\r
- <p> \r
- If you have a tftp server installed on your development PC, you can access\r
- files on your developer PC using a /tftp/ip/ prefix to the file to be accessed\r
- on your developer PC. Note that if you do not increase the default packet\r
- size for your tftp server, then the performance will be very poor. Normal\r
- performance is about 500-600kBytes/s.\r
- </p>\r
- <code> \r
- cp /tftp/10.0.0.106/build/src/openocd /ram/test\r
- </code>\r
- \r
- ]]>\r
- </right_column>\r
</pagetext>\r
\r
</page>\r
<markup_code><![CDATA[\r
\r
A target needs an openocd.cfg file. This config file sets up\r
- the CPU, flash and reset init script. Either ZY1000 ships with an\r
+ the CPU, flash and reset init script. Either OpenOCD ships with an\r
openocd.cfg file for your target or you need to take an existing\r
config file and modify it for your needs.\r
<p> \r
The reset init script is crucial. It will set up e.g. MMU, chip\r
select registers, etc. after a reset. The init.cfg (reset init script)\r
- is embedded into the openocd.cfg file in the sampls Zylin provides.\r
+ is embedded into the openocd.cfg file in the sampls OpenOCD provides.\r
<p>\r
Writing an openocd.cfg from scratch is a non-trivial exercise, but\r
fortunally it only has to be done once for a target and afterwards it\r
<td style="background-color:#ffffff;padding-left:30px;padding-right:30px;width=535px;height:100%;" colspan="6">\r
\r
A target needs an openocd.cfg file. This config file sets up\r
- the CPU, flash and reset init script. Either ZY1000 ships with an\r
+ the CPU, flash and reset init script. Either OpenOCD ships with an\r
openocd.cfg file for your target or you need to take an existing\r
config file and modify it for your needs.\r
<p> \r
The reset init script is crucial. It will set up e.g. MMU, chip\r
select registers, etc. after a reset. The init.cfg (reset init script)\r
- is embedded into the openocd.cfg file in the sampls Zylin provides.\r
+ is embedded into the openocd.cfg file in the sampls OpenOCD provides.\r
<p>\r
Writing an openocd.cfg from scratch is a non-trivial exercise, but\r
fortunally it only has to be done once for a target and afterwards it\r
\r
\r
\r
-\r
- \r
\r
\r
\r
<td style="background-color:#ffffff;padding-left:30px;padding-right:30px;width=535px;height:100%;" colspan="6">\r
\r
A target needs an openocd.cfg file. This config file sets up\r
- the CPU, flash and reset init script. Either ZY1000 ships with an\r
+ the CPU, flash and reset init script. Either OpenOCD ships with an\r
openocd.cfg file for your target or you need to take an existing\r
config file and modify it for your needs.\r
<p> \r
The reset init script is crucial. It will set up e.g. MMU, chip\r
select registers, etc. after a reset. The init.cfg (reset init script)\r
- is embedded into the openocd.cfg file in the sampls Zylin provides.\r
+ is embedded into the openocd.cfg file in the sampls OpenOCD provides.\r
<p>\r
Writing an openocd.cfg from scratch is a non-trivial exercise, but\r
fortunally it only has to be done once for a target and afterwards it\r