Sign In
Upload
Manuals
Brands
Atop Manuals
Microcontrollers
SE59XX-SDK
Atop SE59XX-SDK Manuals
Manuals and User Guides for Atop SE59XX-SDK. We have
1
Atop SE59XX-SDK manual available for free PDF download: User Manual
Atop SE59XX-SDK User Manual (75 pages)
Software Development Kit
Brand:
Atop
| Category:
Microcontrollers
| Size: 2 MB
Table of Contents
Table of Contents
4
1 Preface
9
Purpose of the Manual
9
Who Should Use this User Manual
9
Supported Platform
9
Warranty Period
9
2 Introduction to Atop SDK
10
Overview of SE59XX-SDK Development Environment
10
Figure 2.1 Architecture of SE5904D SDK
10
Description of SDK Folders
12
Table 2.1 Content of 3
12
Table 2.2 Content of Software Folder
12
Table 2.3 List of Programs in Filesystem Folder
14
Table 2.4 Content of Build Folder
14
Firmware Upgrade
15
Use Boot-Loader Update Via Console Port
15
Figure 2.2 Console Firmware Update- Connections
15
Figure 2.3 COM Port Parameters for Console Firmware Update
16
Figure 2.4 TFPD32 Appearance after Execution
16
Figure 2.5 SE5904D Boot Loader Menu
17
Figure 2.6 LAN Settings
18
Figure 2.7 LAN1 Settings
18
Figure 2.8 TFTP Download Menu
18
Use Device Manager or Device Management Utility
19
Figure 2.9 SE59XX Connection Scheme (Example on SE5904D)
19
Figure 2.10 Firmware Update Prompt
19
Verify Current Firmware Version
20
Figure 2.11 Firmware Selection
20
Figure 2.12 Firmware Version - Console
20
Installing a Cross-Compiler
21
Compiling Procedure for Atop Applications
21
Compiling New Applications
21
Figure 2.13 Firmware Version in Device Management Utility (English)
21
Download New Applications to the Device
22
Using TFTP Protocol
22
Using FTP Protocol
22
Figure 2.14 FTP Access Credentials
22
Figure 2.15 FTP Download with Filezilla
22
Login or Remote Login to the Device
23
Remote Login
23
Use a Debug Command Line to Login
23
Automatic Execution on Startup of Custom-Applications
23
Figure 2.16 Command Line Login
23
Startup Messages
24
3 Hardware Specifications
29
Packing List
29
Optional Accessories
29
Table 3.1 Packing List
29
Table 3.2 Optional Accessories
29
Hardware
31
Table 3.3 Hardware Features
31
External Device's Overview
34
Serial Pin Assignments
38
SE5901 Pin Assignments for Serial Interfaces
38
Figure 3.1 DB9 Pin Number
38
Figure 3.2 TB5 Pin Number
38
Table 3.4 SE5901 Pin Assignment for DB9 to RS-232/RS-422/RS-485 Connector
38
Table 3.5 SE5901 Pin Assignment for TB5 to RS-232/RS-422/RS-485 Connector
38
SE5904D Pin Assignments
39
Figure 3.3 DB9 Pin Number
39
Figure 3.4 Terminal Block (TB-5) Pin Number
39
Table 3.6 MB5904D Pin Assignment for DB9 to RS-232/RS422/RS-485 Connectors
39
Table 3.7 MB5904D Pin Assignment for 5-Pin Terminal Block to RS-232/RS-422/RS-485 Connectors
39
SE5901B Pin Assignments
41
Figure 3.5 DB9 Pin Number
41
Figure 3.6 2 X 7-Pin Male Terminal Block
41
Table 3.8 SE5901B Pin Assignment for DB9 to RS-232/RS-485 Connector
41
Table 3.9 SE5901B 2 X 7-Pin Male TB for RS-232/485(COM 1),RS-232(COM 2) Relay and DI Pin-Assignment
41
SE5908A/ SE5916A Pin Assignments
42
Figure 3.7 DB9 Pin Number
42
Figure 3.8 Terminal Block (TB-5) Pin Number
42
Table 3.10 SE5908A/16A Pin Assignment for DB9 to RS-232/RS422/RS-485 Connectors
42
Table 3.11 SE5908A/16A Pin Assignment for 5-Pin Terminal Block to RS-232/RS-422/RS-485 Connectors
42
4 Software Specifications
44
COM Port Interface
44
Program COM Port Interface
44
Table 4.1 Sample Programs for COM Port Interface
44
Table 4.2 SE59XX Device Node
44
Network Interface
45
Other Interfaces
45
Table 4.3 SE59XX Programming Commands Per Device Node
45
Table 4.4 SE59XX Ioctl Command of COM Port
45
Table 4.5 Sample Programs for TCP Server Connection to COM Port Communication
45
Buzzer
46
Digital Inputs
46
Digital Outputs
46
LCM (SE5908 / SE5916 Only)
46
Relay Outputs
46
Table 4.6 Sample Program for Buzzer
46
Table 4.7 Sample Program for Digital Input
46
Table 4.8 Sample Program for Digital Output
46
Table 4.9 Sample Program for Relay Output
46
Hardware Watchdog Timer
47
Leds
47
Reset Button
47
Table 4.10 Sample Program for LCM
47
Table 4.11 Sample Program for Reset Button
47
Table 4.12 Sample Program for WDT
47
Table 4.13 Sample Program for Leds
47
4G Cellular (SE5901B Only)
48
RTC Interface
48
Table 4.14 Sample Program for Cellular Functions
48
5 Testing Interfaces
49
Test COM Port Interface - Transmit and Receive
49
Test COM Port Interface by Using Atop_Tcp_Server
49
1Test Method
49
2Test Execution
49
Figure 5.1 COM1 Loopback Test Connection
49
Figure 5.2 Process Execution on SE5904D, Example
50
Figure 5.3 Setup Tcptest.exe for COM Port Loopback Test
50
Test Buzzer Interface
51
Figure 5.4 Result of Loopback Test
51
Table 5.1 TCP-Port to COM-Port Mapping
51
Test Digital Input
53
Test Digital Output
53
Test Hardware Relay Output
53
Test Hardware Button
53
Test Hardware Watchdog Interface (WDT)
53
Test Device LED
54
Test RTC Interface
54
Setup RTC Time
54
Read RTC Time
55
Rtc2System
55
System2Rtc
55
Using nor Flash - JFFS2
55
Mqtt
55
Firmware Upgrade
56
6 Software API Reference
57
File List
57
7 Data Structure Documentation
58
Sessiontag Struct Reference
58
Data Fields
58
Network Apis
58
Functions
58
Network Apis Function Documentation
59
Void Atopsdk4Ghwreset (Void )
59
Void Atopsdkset4Gapn (Char * Apn)
60
Void Atopsdkset4Gconnect (Void)
60
Void Atopsdkset4Gdialonboot (Int Value)
60
Void Atopsdkset4Gdisconnect (Void)
61
Void Atopsdkset4Gpindisable (Void)
61
Void Atopsdkset4Gpinenable (Char * Pincode)
61
Void Atopsdkset4Greconnect (Int Value)
61
Void Atopsdksetnetdefgateway (Int Eth)
61
Void Atopsdksetnetgateway (Int Eth, Char *Gw)
62
Void Atopsdksetnetip (Int Eth, Char *Ip)
62
Void Atopsdksetnetmask (Int Eth, Char *Mask)
63
EEPROM User Name and Password Settings Apis
63
Functions
63
EEPROM User Name and Password Settings API Function Documentation
64
Void Atopsdksetusername (Char Name)
64
Void Atopsdksetuserpassword (Int Password)
64
Run LED API Function Documentation
64
Functions
64
Void Atopsetrunled (Onms U32,Offms U32)
64
Alarm LED API Function Documentation
65
Functions
65
Void Atopsetalarmled (U32 Value)
65
Read Reset Button API
65
Int Atopbutton (Void)
65
Use Buzzer API Documentation
66
Functions
66
Macros
66
Void Atopbuzzeronoff (Int Value)
66
Read Digital Inputs API Documentation
66
Int Atopgetdi (Int Index)
67
Write Digital Output API Documentation
67
Functions
67
Int Atopsetdo (Int Index, Int Value)
67
Hardware Watchdog API Documentation
67
Macros
68
Void Atop_Hwd_Clear (Void)
68
Void Atop_Hwd_Disable (Void)
68
Void Atop_Hwd_Enable (Void)
68
Wi-Fi USB Dongle Control Apis Documentation
69
Functions
69
Void Create_Default_Ini_File (Void)
70
Void Get_Key_Mgmt (Char Key_Mgmt)
70
Int Get_Psk(Char Psk)
70
Int Get_Ssid (Char Ssid)
71
Int Parse_Setting (Void)
72
Void Run_Connection (Void)
72
Int Set_Key_Mgmt (Int Mode)
72
Int Set_Psk (Char Psk_Name)
73
Int Set_Ssid (Char Ssid_Name)
74
SE59XX-SDK Software Development Kit
75
Advertisement
Advertisement
Related Products
Atop SE5908
Atop SE5901 Series
Atop SE59 Series
Atop SE5901B
Atop SE5904D
Atop SE5916B
Atop ABLELink SE5408
Atop SE5002D-Fs-TB
Atop ABLELink SE5404-S5is
Atop SE5201B-TB
Atop Categories
Server
Switch
Gateway
Wireless Access Point
Conference System
More Atop Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL