The Emtronix ETR186 Programming Manual provides C language basics, hardware driver details, PPP/TCP‑IP library, UART and LCD examples for the embedded…
The ETR186 is a card‑size embedded PC module featuring an R8822D microprocessor, Flash, UART, GPIO, a reduced ISA bus, RTC, LCD and keypad interfaces. It targets low‑cost, high‑performance applications such as GPRS data communication, industrial automation and remote monitoring.
This manual covers C language introduction, hardware interface driver functions, PPP and TCP/IP protocol libraries, serial port drivers, LCD Chinese‑character display routines, as well as development tools, debugging utilities and appendices for IDE configuration and software development flow. This manual is written in Chinese.
| Dimensions | 64 mm × 46 mm |
|---|---|
| Processor | R8822D microprocessor |
| On‑board resources | Flash, UART, GPIO, reduced ISA bus, RTC, LCD interface, matrix keypad |
| GPIO pins | 10 digital I/O pins (D0‑D9) |
| Timer1 input clock | 1 MHz |
| Watchdog interval | ≈ 2 seconds |
Save the source, press F2 to store the file, then press F9 to compile and link, producing an executable that can be downloaded and run on the module.
Call SetWDT() to start the Watchdog with an interval of about 2 seconds and periodically call ReloadWDT() to prevent a system reset.
Use the TD command (e.g., td –rp hello) which automatically transfers the compiled program to the module via the RS‑232 debug port.