Moxa C Programmable RTU Controllers Programmer's Guide
Flash Memory
Partition sizes are hard coded into the kernel binary. The flash memory map is shown in the following table.
Total Size Contents Location Access
System Space 20 MB Boot Loader 0x80000000 to
0x80080000
Read Only
Linux Kernel 0x80080000 to
0x80400000
Root File System (JFFS2) 0x80400000 to
0x81400000
User Space 12 MB User directory (JFFS2) 0x81400000 to
0x82000000
Read/Write
If the user file system is incorrect, the kernel will change the root file system to the kernel and use the default
Moxa file system. To finish the boot process, run the init program.
1. The user file system is a complete file system. Users can create and delete directories and
source code and executable files) as needed.
2. Users can create the user file system on the host PC or the target platform and copy it to the ioLogik
W5348-C series or the ioPAC 8020-C series.
C Library
The ioLogik W5348-C series and ioPAC 8020-C series both support control devices with Moxa APIs. Users will
need to include libmoxa_pgm.h to use the following Moxa APIs.
APIs
For details on APIs, refer to Chapter 2 of “Developer’s Guide for Moxa RTU Controllers.”
Commentaires sur ces manuels