beautypg.com

Solvline Eddy DK User Manual

Page 4

background image

4

4.4

Application Program Compile ........................................................................................................ 92

4.5

Compiling on Windows .................................................................................................................. 92

4.6

Compiling on Linux ......................................................................................................................... 92

4.7

Compiling with LemonIDE .............................................................................................................. 93

4.8

Running Application on Eddy ......................................................................................................... 93

4.9

Uploading and Executing on Eddy ................................................................................................ 93

4.10

Execute a file on Booting of Eddy ................................................................................................. 94

Chapter 5.

Creating Firmware ................................................................................................... 95

5.1

How to Create a Firmware ............................................................................................................. 95

5.2

Firmware Upgrade .......................................................................................................................... 97

Chapter 6.

Library Introduction ............................................................................................... 100

6.1

Introduction ................................................................................................................................... 100

6.2

Makefile ........................................................................................................................................ 100

6.3

System functions .......................................................................................................................... 100

6.4

Eddy Environment Function ......................................................................................................... 101

6.5

Serial functions ............................................................................................................................. 104

6.6

Ethernet functions ........................................................................................................................ 107

6.7

GPIO Functions ............................................................................................................................ 113

6.8

ADC Function ............................................................................................................................... 120

6.9

RTC Function ................................................................................................................................ 121

6.10

Debugging Function ..................................................................................................................... 122

Chapter 7.

Eddy Software ...................................................................................................... 123

7.1

Software Structure Diagram ......................................................................................................... 123

7.2

Main Applications ......................................................................................................................... 124

7.3

eddy.c Application ........................................................................................................................ 124

7.4

Pinetd.c Application ..................................................................................................................... 124

7.5

Other Applications ........................................................................................................................ 124

Chapter 8.

Handling HTML & CGI ........................................................................................... 125

8.1

WEB Configuration ....................................................................................................................... 125

8.2

Example of HTML Code ............................................................................................................... 125

8.3

Example CGI Code ....................................................................................................................... 127

Chapter 9.

Appendix ............................................................................................................... 129

9.1

System recovery via Bootloader .................................................................................................. 129

9.2

System recovery via USB............................................................................................................. 134

9.3

Product Specification ................................................................................................................... 143

9.4

Ordering Infomation ...................................................................................................................... 150