From 6e1184dcffaf807476ab312404c1bc0a32c38c36 Mon Sep 17 00:00:00 2001 From: oharboe Date: Mon, 22 Dec 2008 15:24:35 +0000 Subject: httpd wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1271 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/server/httpd/menu.xml | 85 ++++++----------------------------------------- 1 file changed, 10 insertions(+), 75 deletions(-) (limited to 'src/server/httpd/menu.xml') diff --git a/src/server/httpd/menu.xml b/src/server/httpd/menu.xml index cf286e23..11daef94 100644 --- a/src/server/httpd/menu.xml +++ b/src/server/httpd/menu.xml @@ -87,10 +87,7 @@ See log for details.

Target power - Detects power on target.
If the JTAG cable is not connected, or the target has no power, then no target power will be detected.

-

Power on - Turn on ZY1000 target power relay.

-

Power off - Turn off ZY1000 target power relay.

Type "help power" in telnet for command to control power relay.

-

Reboot ZY1000 - Reboots ZY1000 unit. Type "help reboot" in telnet.

]]> @@ -108,13 +105,13 @@ The reset init script is crucial. It will set up e.g. MMU, chip select registers, etc. after a reset. The init.cfg (reset init script) - is embedded into the openocd.cfg file in the sampls Zylin provides. + is embedded into the openocd.cfg file in the sampls OpenOCD provides.

Writing an openocd.cfg from scratch is a non-trivial exercise, but fortunally it only has to be done once for a target and afterwards it @@ -133,33 +130,6 @@ - - reload.tcl - index.tcl - Reload Config Scripts - - - set form_action [formfetch form_action] - - if {[string compare $form_action "Reload"]==0} { - append buffer "Reloading Config Scripts...

" - reboot - } - -

- -
- - ]]>
- - Restart ZY1000 to reload selected target config script. - - - - - flashinfo.tcl @@ -789,12 +759,12 @@ append console [encode [capture_catch poll]] ]]> + Download memory from target.
Note that download memory can take a long time(potentially minutes for megabytes at low JTAG clk speeds).

Once the memory is downloaded a link is available on the page to download - the file from ZY1000 to your PC. + the file to your PC. ]]> @@ -811,9 +781,9 @@ append console [encode [capture_catch poll]] openocd.tcl - + @@ -869,7 +839,7 @@ append console [encode [capture_catch poll]] guiupload.tcl openocd.tcl - Upload File to ZY1000 + Upload File Filename on ZY1000} + append buffer {} append buffer {
Filename on OpenOCD machine
File to upload
} append buffer {
 
 
} append buffer {
} @@ -897,41 +867,6 @@ append console [encode [capture_catch poll]] ]]>
- - The ZY1000 has three filing systems "/rom", "/ram" and "/config". "/rom" is a read only filing - embedded into the firmware.

- -

Use "/ram" to store temporary files.

- -

- You can browse filing systems and download files by pointing your web browser to: -

-

- -

- You can also upload files using e.g. curl from the command line. Example: -

- - curl --form form_filecontent=@/tmp/myfile.elf --form form_filename=/ram/myfile.elf append buffer [ip]upload.tcl - -

- If you have a tftp server installed on your development PC, you can access - files on your developer PC using a /tftp/ip/ prefix to the file to be accessed - on your developer PC. Note that if you do not increase the default packet - size for your tftp server, then the performance will be very poor. Normal - performance is about 500-600kBytes/s. -

- - cp /tftp/10.0.0.106/build/src/openocd /ram/test - - - ]]> -
@@ -946,13 +881,13 @@ append console [encode [capture_catch poll]] The reset init script is crucial. It will set up e.g. MMU, chip select registers, etc. after a reset. The init.cfg (reset init script) - is embedded into the openocd.cfg file in the sampls Zylin provides. + is embedded into the openocd.cfg file in the sampls OpenOCD provides.

Writing an openocd.cfg from scratch is a non-trivial exercise, but fortunally it only has to be done once for a target and afterwards it -- cgit v1.2.3