Abstract:
ในปัจจุบันเทคโนโลยีระบบฝังตัวมีการพัฒนาก้าวหน้าอย่างมาก ด้วยประสิทธิภาพสูงขึ้น และขนาดที่เล็กลงทำให้มีการนำเทคโนโลยีระบบฝังตัวมาใช้ในอุปกรณ์อิเล็กทรอนิกส์อุปกรณ์ ไฟฟ้าตลอดจนเครื่องแต่งกายเช่น แว่นตาและนาฬิกา เป็นต้น และเพื่อตอบสนองการใช้งานของผู้ใช้อุปกรณ์เหล่านี้จะถูกออกแบบใหม่ความฉลาดและมีการใช้งานที่ยืดหยุ่นฟีเจอร์ที่ตอบสนอง ความต้องการนี้ได้อย่างดีคือระบบการโหลดโปรแกรมแอปพลิเคชัน ระบบการโหลดโปรแกรมแอปพลิเคชันเป็นส่วนหนึ่งของระบบปฏิบัติการขนาดใหญ่ที่ ต้องอาศัยหน่วยจัดการหน่วยความจำเป็นผลให้ระบบฝังตัวที่ใช้ไมโครคอนโทรเลอร์ไม่สามารถโหลดแอพพลิเคชั่นได้ผู้วิจัยจึงได้พัฒนางานวิจัยนี้ขึ้น เพื่อนำเสนอระบบฝังตัวที่มีความสามารถในการโหลดแอปพลิเคชั่นที่อยู่ในรูปแบบไฟล์อีแอลเอฟได้โดยใช้ไมโครคอนโทรลเลอร์อาร์ม คอร์เท็กเอ็ม 7 เป็นไมโครคอนโทรลเลอร์ในการทดลอง มีหลักการทำงานคืออาศัยการคอมไพล์โปรแกรมแบบไม่ยึดติดกับ ตำแหน่งหน่วยความจำช่วยให้สามารถทำการเชื่อมโยงแบบพลวัตบนไมโครคอนโทรลเลอร์ได้โดยมีขอบเขตการวิจัยและพัฒนาคือไมโครคอนโทรเลอร์จะต้องสามารถโหลดแอพพลิเคชั่น ที่อยู่ในรูปแบบไฟล์อีแอลเอฟชนิดเอก็ซิคิวต์ได้และชนิดวัตถุที่ใช้ร่วมกันได้และเพื่อความสะดวกในการนำไปพัฒนาต่อยอดได้งานวิจัยนี้จะเน้นใช้เครื่องมือที่หาได้ทั่วไปไม่ใช้อุปกรณ์หรือเครื่องมือเฉพาะทาง และจากผลการวิจัยและพัฒนาพบว่า ระบบสามารถทำงานได้จริงโดยแลกกับโปรแกรมจะมีขนาดที่ใหญ่ขึ้นและใช้เวลาในการทำงานที่นานขึ้นเล็กน้อย แต่จากการวัดและประเมินผลแล้วการแลกเปลี่ยนนี้สามารถยอมรับได้และ นอกจากนั้นการใช้งานระบบการเชื่อมโยงแบบพลวัตบนไมโครคอนโทรลเลอร์ยังเป็นการเปิดโอกาสการใช้โปรแกรมและไลบรารี่แบบโอเพนซอร์สบนไมโครคอนโทรลเลอร์อีกด้วย
In the present day, embedded system technology has dramatically developed. With higher performance and smaller size, it is used widely in electronic devices, electrical machine as well as costume including glasses and watch. In order to meet user needs, these devices are designed to be smart and flexible with features that satisfy the needs, such as the system of loading applications. The system of loading application is part of a large operating system that needs memory management units. Microcontroller based embedded systems, therefore, cannot load applications. As a result, researcher has developed this research to offer the embedded system with the ability to load applications in a common standard file called ELF by using microcontroller ARM-Cortex M 7 as microcontroller in the experiment. The process is to compile the program with position independent code and allow to dynamically link in the microcontroller. The scope of research and development is to present the microcontroller that will need to be able to load an application in the file format, ELF which has following types: executable and shared object. To further develop the research, the researcher focuses on using the tools that is generally available and not specialized tools. The result shows that the system can actually work. In exchange for the program will be larger and take a little longer work. However, by measurement and evaluation, this exchange is acceptable. In addition, dynamic link system on the microcontroller is the opportunity to use open source library on the microcontroller.