SPMA080 April 2021 TM4C1292NCPDT , TM4C1292NCPDT , TM4C1292NCZAD , TM4C1292NCZAD , TM4C1294KCPDT , TM4C1294KCPDT , TM4C1294NCPDT , TM4C1294NCPDT , TM4C1294NCZAD , TM4C1294NCZAD , TM4C1299KCZAD , TM4C1299KCZAD , TM4C1299NCZAD , TM4C1299NCZAD , TM4C129DNCPDT , TM4C129DNCPDT , TM4C129DNCZAD , TM4C129DNCZAD , TM4C129EKCPDT , TM4C129EKCPDT , TM4C129ENCPDT , TM4C129ENCPDT , TM4C129ENCZAD , TM4C129ENCZAD , TM4C129LNCZAD , TM4C129LNCZAD , TM4C129XKCZAD , TM4C129XKCZAD , TM4C129XNCZAD , TM4C129XNCZAD
Rebuild the example if you create your own web contents or load and run the existing example. In the CCS console window, you should see the web server IP address displayed. For more information, see Figure 6-5.
Once the web server is running, enter the IP address on your browser’s URL field as shown in Figure 8-7 and the example web page is rendered on the browser. The index.html normally is the default page shown on a web page if no other page is specified. In other words, index.html is the name used for the homepage of the website.
Several hyperlinks and images are displayed on the home page. Click any one of them to get a feel of how they respond. For example, click the “TM4C1294NCPDT Block Diagram” and you will see the web page displayed as shown in Figure 8-8. Note that you could also reach the same web page by directly typing “192.168.254.92/block.htm” on the URL.
Examine the Wireshark capture in Figure 8-9.
Finally, from the home page, click the “Get Elapsed Time Using CGI Method”. This action triggers the getTime() function to execute and print out the elapsed time the web server has been active, see Figure 8-10. Press the “Refresh” button on your browser to refresh the screen to see an updated elapsed time. Note that you can also trigger the CGI function by directly specifying it in the URL as in “192.168.254.92/getTime.cgi”.