beautypg.com
4
4.8
Running Application on Eddy ......................................................................................................... 74
4.9
Uploading and Executing on Eddy ................................................................................................ 74
4.10
Execute a file on Booting of Eddy ................................................................................................. 75
Chapter 5.
Creating Firmware .................................................................................................... 76
5.1
How to Create a Firmware ............................................................................................................. 76
5.2
Firmware Upgrade .......................................................................................................................... 78
Chapter 6.
Library Introduction ................................................................................................... 81
6.1
Introduction ..................................................................................................................................... 81
6.2
Makefile .......................................................................................................................................... 81
6.3
System functions ............................................................................................................................ 81
6.4
Eddy Environment Function ........................................................................................................... 82
6.5
Serial functions ............................................................................................................................... 84
6.6
Ethernet functions .......................................................................................................................... 87
6.7
GPIO Functions .............................................................................................................................. 92
6.8
ADC Function ................................................................................................................................. 98
6.9
RTC Function .................................................................................................................................. 99
6.10
Debugging Function ....................................................................................................................... 99
Chapter 7.
Eddy Software ........................................................................................................ 101
7.1
Software Structure Diagram ......................................................................................................... 101
7.2
Main Applications ......................................................................................................................... 102
7.3
eddy.c Application ........................................................................................................................ 102
7.4
Pinetd.c Application ..................................................................................................................... 102
7.5
Other Applications ........................................................................................................................ 102
Chapter 8.
Handling HTML & CGI ............................................................................................ 103
8.1
WEB Configuration ....................................................................................................................... 103
8.2
Example of HTML Code ............................................................................................................... 103
8.3
Example CGI Code ....................................................................................................................... 104
Chapter 9.
Appendix ................................................................................................................ 107
9.1
System recovery via Bootloader .................................................................................................. 107
9.2
System recovery via USB............................................................................................................. 112
9.3
Product Specification ................................................................................................................... 118
9.4
Ordering Infomation ...................................................................................................................... 123