From c3e4c9a25c2910d2d66d52215b3406b13d5b23d5 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Sun, 29 Jun 2014 12:34:32 +0300 Subject: Add more board models --- boards/dk-tm4c129x/enet_io/fs/404.htm | 12 ++ boards/dk-tm4c129x/enet_io/fs/about.htm | 33 ++++ boards/dk-tm4c129x/enet_io/fs/block.htm | 18 +++ boards/dk-tm4c129x/enet_io/fs/block.jpg | Bin 0 -> 50426 bytes boards/dk-tm4c129x/enet_io/fs/dk-tm4c129x.jpg | Bin 0 -> 10720 bytes boards/dk-tm4c129x/enet_io/fs/favicon.ico | Bin 0 -> 1718 bytes boards/dk-tm4c129x/enet_io/fs/index.htm | 57 +++++++ boards/dk-tm4c129x/enet_io/fs/io_cgi.ssi | 146 +++++++++++++++++ boards/dk-tm4c129x/enet_io/fs/io_http.htm | 63 ++++++++ boards/dk-tm4c129x/enet_io/fs/javascript.js | 191 +++++++++++++++++++++++ boards/dk-tm4c129x/enet_io/fs/javascript_load.js | 11 ++ boards/dk-tm4c129x/enet_io/fs/overview.htm | 30 ++++ boards/dk-tm4c129x/enet_io/fs/perror.htm | 74 +++++++++ boards/dk-tm4c129x/enet_io/fs/styles.css | 104 ++++++++++++ boards/dk-tm4c129x/enet_io/fs/ti.jpg | Bin 0 -> 7156 bytes boards/dk-tm4c129x/enet_io/fs/tm4c.jpg | Bin 0 -> 3369 bytes 16 files changed, 739 insertions(+) create mode 100644 boards/dk-tm4c129x/enet_io/fs/404.htm create mode 100644 boards/dk-tm4c129x/enet_io/fs/about.htm create mode 100644 boards/dk-tm4c129x/enet_io/fs/block.htm create mode 100644 boards/dk-tm4c129x/enet_io/fs/block.jpg create mode 100644 boards/dk-tm4c129x/enet_io/fs/dk-tm4c129x.jpg create mode 100644 boards/dk-tm4c129x/enet_io/fs/favicon.ico create mode 100644 boards/dk-tm4c129x/enet_io/fs/index.htm create mode 100644 boards/dk-tm4c129x/enet_io/fs/io_cgi.ssi create mode 100644 boards/dk-tm4c129x/enet_io/fs/io_http.htm create mode 100644 boards/dk-tm4c129x/enet_io/fs/javascript.js create mode 100644 boards/dk-tm4c129x/enet_io/fs/javascript_load.js create mode 100644 boards/dk-tm4c129x/enet_io/fs/overview.htm create mode 100644 boards/dk-tm4c129x/enet_io/fs/perror.htm create mode 100644 boards/dk-tm4c129x/enet_io/fs/styles.css create mode 100644 boards/dk-tm4c129x/enet_io/fs/ti.jpg create mode 100644 boards/dk-tm4c129x/enet_io/fs/tm4c.jpg (limited to 'boards/dk-tm4c129x/enet_io/fs') diff --git a/boards/dk-tm4c129x/enet_io/fs/404.htm b/boards/dk-tm4c129x/enet_io/fs/404.htm new file mode 100644 index 0000000..d8b3630 --- /dev/null +++ b/boards/dk-tm4c129x/enet_io/fs/404.htm @@ -0,0 +1,12 @@ + + + + + + +
+

404 - file not found

+

Try here instead.

+
+ + diff --git a/boards/dk-tm4c129x/enet_io/fs/about.htm b/boards/dk-tm4c129x/enet_io/fs/about.htm new file mode 100644 index 0000000..25e5cd2 --- /dev/null +++ b/boards/dk-tm4c129x/enet_io/fs/about.htm @@ -0,0 +1,33 @@ + + + + +DK-TM4C129X Development Kit + + + + + +

About Texas Instruments

+
+
+Texas Instruments (TI) is a global +analog +and digital +semiconductor IC design +and manufacturing company. In addition to analog technologies, +digital signal processing (DSP) +and +microcontroller (MCU) +semiconductors, TI designs and manufactures semiconductor solutions for analog +and digital embedded and application processing. In the microcontroller space, +TI offers the broadest range of embedded control products, from ultra-low-power +MSP430™ +MCUs and high-performance +TMS320C2000™ +real-time controllers, to the 32 bit general-purpose ARM®-based MCUs of the +Tiva™ C Series +product line. Read more about us on the web at +www.ti.com. + + \ No newline at end of file diff --git a/boards/dk-tm4c129x/enet_io/fs/block.htm b/boards/dk-tm4c129x/enet_io/fs/block.htm new file mode 100644 index 0000000..e46fb3e --- /dev/null +++ b/boards/dk-tm4c129x/enet_io/fs/block.htm @@ -0,0 +1,18 @@ + + + + + +DK-TM4C129X Development Kit + + + + +

TM4C129XNCZAD Block Diagram

+
+
+
+ +
+ + diff --git a/boards/dk-tm4c129x/enet_io/fs/block.jpg b/boards/dk-tm4c129x/enet_io/fs/block.jpg new file mode 100644 index 0000000..3056bb0 Binary files /dev/null and b/boards/dk-tm4c129x/enet_io/fs/block.jpg differ diff --git a/boards/dk-tm4c129x/enet_io/fs/dk-tm4c129x.jpg b/boards/dk-tm4c129x/enet_io/fs/dk-tm4c129x.jpg new file mode 100644 index 0000000..2affcf0 Binary files /dev/null and b/boards/dk-tm4c129x/enet_io/fs/dk-tm4c129x.jpg differ diff --git a/boards/dk-tm4c129x/enet_io/fs/favicon.ico b/boards/dk-tm4c129x/enet_io/fs/favicon.ico new file mode 100644 index 0000000..d14b5d9 Binary files /dev/null and b/boards/dk-tm4c129x/enet_io/fs/favicon.ico differ diff --git a/boards/dk-tm4c129x/enet_io/fs/index.htm b/boards/dk-tm4c129x/enet_io/fs/index.htm new file mode 100644 index 0000000..e911367 --- /dev/null +++ b/boards/dk-tm4c129x/enet_io/fs/index.htm @@ -0,0 +1,57 @@ + + + + + + DK-TM4C129X Development Kit + + + + + + +
+ + + + + + +
+ + Texas Instruments + + +
+ Tiva™ C Series TM4C129X Development Kit +
+
+ DK-TM4C129X +
+
+ + TM4C + +
+

+
+ +
+
+
+

+ Copyright © 2013-2014 Texas Instruments Incorporated. All rights reserved. +
+ + diff --git a/boards/dk-tm4c129x/enet_io/fs/io_cgi.ssi b/boards/dk-tm4c129x/enet_io/fs/io_cgi.ssi new file mode 100644 index 0000000..47d015f --- /dev/null +++ b/boards/dk-tm4c129x/enet_io/fs/io_cgi.ssi @@ -0,0 +1,146 @@ + + + + + + I/O Control Demo 2 + + + + + + + +
+ + + + + + +
+ + Texas Instruments + + +
+ Tiva™ C Series TM4C129X Development Kit +
+
+ DK-TM4C129X +
+
+ + TM4C + +
+

+
+ +
+ + + + + + +
+
+

I/O Control Demo 2

+
+
+
    This demonstration shows another method of performing control and status reporting. This time, we use Server Side Include tags to replace text in the page as it is being server from the Tiva C Series DK board and standard HTML forms to send data to a CGI handler + running on the board.  This example does cause the page to be reloaded whenever form data is submitted but it  involves less complex HTML to perform the task. +
    +
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + +
    + Control + + Current + + New +
    LED State + + + +
    Animation Speed + + + +
    + +
    +
    +
    +
      +
      + + + + + + +
      +
      + + + + + + +
      + Display this text on the screen:
      + + +
      +
      +
      +
      +
      +
      +
      +

      + Copyright © 2013-2014 Texas Instruments Incorporated. All rights reserved. +
      + + diff --git a/boards/dk-tm4c129x/enet_io/fs/io_http.htm b/boards/dk-tm4c129x/enet_io/fs/io_http.htm new file mode 100644 index 0000000..62c7c57 --- /dev/null +++ b/boards/dk-tm4c129x/enet_io/fs/io_http.htm @@ -0,0 +1,63 @@ + + + + + + + I/O Control Demo 1 + + + + + + + + + + + +
      +
      +

      I/O Control Demo 1

      +
      +
      +

      This demonstration shows how to perform control and status reporting using HTTP requests embedded within Javascript code on the web page itself. Using this method, it is possible to update sections of text on the current page without the need to refresh the + entire page.

      +

      Toggle USER LED and report the state of the LED

      + + + + + + + + +
      + + USER LED: +
      -
      +
      +

      +

      Set the speed of the animation on the display. Speed is expressed as a percentage.

      + + + + + + + + + + + +
      Current Speed: +
      -
      +
      + + + %
      +

      +
      + + + \ No newline at end of file diff --git a/boards/dk-tm4c129x/enet_io/fs/javascript.js b/boards/dk-tm4c129x/enet_io/fs/javascript.js new file mode 100644 index 0000000..74d90e0 --- /dev/null +++ b/boards/dk-tm4c129x/enet_io/fs/javascript.js @@ -0,0 +1,191 @@ + + +window.onload = function() +{ + document.getElementById('about').onclick = loadAbout; + document.getElementById('overview').onclick = loadOverview; + document.getElementById('block').onclick = loadBlock; + document.getElementById('io_http').onclick = loadIOHttp; +} + +function loadAbout() +{ + loadPage("about.htm"); + return false; +} + +function loadOverview() +{ + loadPage("overview.htm"); + return false; +} + +function loadBlock() +{ + loadPage("block.htm"); + return false; +} + +function loadIOHttp() +{ + loadPage("io_http.htm"); + ledstateGet(); + speedGet(); + return false; +} + +function SetFormDefaults() +{ + document.iocontrol.LEDOn.checked = ls; + document.iocontrol.speed_percent.value = sp; +} + +function toggle_led() +{ + var req = false; + + function ToggleComplete() + { + if(req.readyState == 4) + { + if(req.status == 200) + { + document.getElementById("ledstate").innerHTML = "
      " + + req.responseText + "
      "; + } + } + } + + if(window.XMLHttpRequest) + { + req = new XMLHttpRequest(); + } + else if(window.ActiveXObject) + { + req = new ActiveXObject("Microsoft.XMLHTTP"); + } + if(req) + { + req.open("GET", "/cgi-bin/toggle_led?id" + Math.random(), true); + req.onreadystatechange = ToggleComplete; + req.send(null); + } +} + +function speedSet() +{ + var req = false; + var speed_txt = document.getElementById("speed_percent"); + function speedComplete() + { + if(req.readyState == 4) + { + if(req.status == 200) + { + document.getElementById("current_speed").innerHTML = + "
      " + req.responseText + "
      "; + } + } + } + if(window.XMLHttpRequest) + { + req = new XMLHttpRequest(); + } + else if(window.ActiveXObject) + { + req = new ActiveXObject("Microsoft.XMLHTTP"); + } + if(req) + { + req.open("GET", "/cgi-bin/set_speed?percent=" + speed_txt.value + + "&id" + Math.random(), true); + req.onreadystatechange = speedComplete; + req.send(null); + } +} + +function ledstateGet() +{ + var led = false; + function ledComplete() + { + if(led.readyState == 4) + { + if(led.status == 200) + { + document.getElementById("ledstate").innerHTML = "
      " + + led.responseText + "
      "; + } + } + } + + if(window.XMLHttpRequest) + { + led = new XMLHttpRequest(); + } + else if(window.ActiveXObject) + { + led = new ActiveXObject("Microsoft.XMLHTTP"); + } + if(led) + { + led.open("GET", "/ledstate?id=" + Math.random(), true); + led.onreadystatechange = ledComplete; + led.send(null); + } +} + +function speedGet() +{ + var req = false; + function speedReturned() + { + if(req.readyState == 4) + { + if(req.status == 200) + { + document.getElementById("current_speed").innerHTML = "
      " + req.responseText + "
      "; + } + } + } + + if(window.XMLHttpRequest) + { + req = new XMLHttpRequest(); + } + else if(window.ActiveXObject) + { + req = new ActiveXObject("Microsoft.XMLHTTP"); + } + if(req) + { + req.open("GET", "/get_speed?id=" + Math.random(), true); + req.onreadystatechange = speedReturned; + req.send(null); + } +} + +function loadPage(page) +{ + if(window.XMLHttpRequest) + { + xmlhttp = new XMLHttpRequest(); + } + else + { + xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); + } + + xmlhttp.open("GET", page, true); + xmlhttp.setRequestHeader("Content-type", + "application/x-www-form-urlencoded"); + xmlhttp.send(); + + xmlhttp.onreadystatechange = function () + { + if((xmlhttp.readyState == 4) && (xmlhttp.status == 200)) + { + document.getElementById("content").innerHTML = xmlhttp.responseText; + } + } +} diff --git a/boards/dk-tm4c129x/enet_io/fs/javascript_load.js b/boards/dk-tm4c129x/enet_io/fs/javascript_load.js new file mode 100644 index 0000000..cb52985 --- /dev/null +++ b/boards/dk-tm4c129x/enet_io/fs/javascript_load.js @@ -0,0 +1,11 @@ + + +window.onload = function() +{ + document.getElementById('about').onclick = loadAbout; + document.getElementById('overview').onclick = loadOverview; + document.getElementById('block').onclick = loadBlock; + document.getElementById('io_http').onclick = loadIOHttp; + + loadPage("about.htm"); +} diff --git a/boards/dk-tm4c129x/enet_io/fs/overview.htm b/boards/dk-tm4c129x/enet_io/fs/overview.htm new file mode 100644 index 0000000..66fddbe --- /dev/null +++ b/boards/dk-tm4c129x/enet_io/fs/overview.htm @@ -0,0 +1,30 @@ + + + + + +DK-TM4C129X Development Kit + + + + +

      Tiva™ C Series Product Line

      +
      +
      +As the first ARM® Cortex™-M4 microcontrollers (MCUs) to be +implemented on TI's proprietary 65-nm process technology, the Tiva C Series +provides customers an opportunity to increase their connectivity integration +without sacrificing price, performance, or power consumption. Every C Series +MCU integrates a floating-point core and high-performance analog while still +providing low-power modes to offer a great set of functional options. Today's +engineers understand that designs require more than hardware alone. Often, the +greatest challenge is software and +TivaWare for C Series is a +free library of C files that include both peripheral-level and +application-level code in source and in ROM for every Tiva C Series MCU. This +offering delivers USB, CAN, graphics, and sensor application libraries so +customers can focus their efforts on building applications instead of +programming their connectivity peripherals. The Tiva C Series provides an +excellent baseline for home, building, and industrial applications. + + diff --git a/boards/dk-tm4c129x/enet_io/fs/perror.htm b/boards/dk-tm4c129x/enet_io/fs/perror.htm new file mode 100644 index 0000000..b6a77ff --- /dev/null +++ b/boards/dk-tm4c129x/enet_io/fs/perror.htm @@ -0,0 +1,74 @@ + + + + + + Form Parameter Error + + + + + +
      + + + + + + +
      + + Texas Instruments + + +
      + Tiva™ C Series TM4C129X Development Kit +
      +
      + DK-TM4C129X +
      +
      + + TM4C + +
      +

      +
      + +
      + + + + + + +
      +
      +

      Parameter Error

      +
      +
      +

      +

      Oops - one of the parameters sent to the board +
      was either missing, invalid or out of range. 

      +

      Please try again! +
      +

      +
      +
      +
      +

      + Copyright © 2013-2014 Texas Instruments Incorporated. All rights reserved. +
      + + diff --git a/boards/dk-tm4c129x/enet_io/fs/styles.css b/boards/dk-tm4c129x/enet_io/fs/styles.css new file mode 100644 index 0000000..3403359 --- /dev/null +++ b/boards/dk-tm4c129x/enet_io/fs/styles.css @@ -0,0 +1,104 @@ +/* Copyright (c) 2013-2014 Texas Instruments Incorporated. All rights reserved. */ + +/* Styling for the entire document. */ +body +{ + background-color: white; + color: black; + font-family: Ariel,Helvetica,sans-serif; +} + +/* Styling for the heading div. */ +#heading +{ + clear: both; + margin-bottom: 10px; +} + +#heading_h1 +{ + font-size: 2em; + font-weight: bold; + text-align: center; +} + +#heading_h2 +{ + font-size: 1.25em; + font-weight: bold; + text-align: center; +} + +#heading hr +{ + border-bottom: 1px solid #ff0000; + border-top: 1px solid #ff0000; +} + +#heading a img +{ + border: 0; +} + +/* Styling for the menu div. */ +#menu +{ + float: left; + margin-bottom: 10px; + width: 225px; +} + +#menu ul +{ + list-style-type: none; + margin: 0; + padding: 0; +} + +#menu a:link, #menu a:visited +{ + background-color: #ff0000; + color: #ffffff; + display: block; + font-weight: bold; + margin-bottom: 2px; + margin-top: 2px; + padding: 4px; + text-align: center; + text-decoration: none; + width: 200px; +} + +#menu a:hover, #menu a:active +{ + background-color: #bf0000; +} + +/* Styling for the content div. */ +#content +{ + margin-bottom: 10px; + margin-left: 225px; +} + +#content_heading +{ + font-size: 1.5em; + font-weight: bold; + text-align: center; +} + +/* Styling for the footing div. */ +#footing +{ + clear: both; + font-size: .75em; + font-style: italic; + text-align: right; +} + +#footing hr +{ + border-bottom: 1px solid #ff0000; + border-top: 1px solid #ff0000; +} diff --git a/boards/dk-tm4c129x/enet_io/fs/ti.jpg b/boards/dk-tm4c129x/enet_io/fs/ti.jpg new file mode 100644 index 0000000..5d1669c Binary files /dev/null and b/boards/dk-tm4c129x/enet_io/fs/ti.jpg differ diff --git a/boards/dk-tm4c129x/enet_io/fs/tm4c.jpg b/boards/dk-tm4c129x/enet_io/fs/tm4c.jpg new file mode 100644 index 0000000..1672a1d Binary files /dev/null and b/boards/dk-tm4c129x/enet_io/fs/tm4c.jpg differ -- cgit v1.3.1