在單板電腦的開發上,有良好的開發環境對開發者是至關重要的,其可以讓開發者有效率的操作單板電腦及收集除錯數據。本研究設計了應用於單板電腦函式庫COS4M的用戶端文字人機軟體TUI Data Agent,以協助開發者接收訊息及收發檔案。 本研究以Windows作業系統及Linux作業系統為操作系統,單板電腦採用Microchip ATmega128微控制器。軟體使用C++語言,配予第三方函式庫boost及ncurses,並使用CMake建置自動化軟體建構專案。 本研究設計內嵌式的文字人機介面,可在一般文字終端機或整合開發環境中執行。透過串列埠與單板電腦進行資料交換,以訊息交換答詢方式協調人機軟體與單板程式同步,執行矩陣,結構,檔案操作指令,及檔案內容等大批量資料交換。配合由MVMC實驗室共同研發的COS4M函式庫,最終達成開發者與單板電腦間的互動。 ;In the development of single-board computers, a robust development environment is crucial for developers, enabling efficient operation of the single-board computer and collection of debugging data. This study designed the TUI Data Agent, a client-side human-machine interface software for the COS4M library on single-board computers, to assist developers in message reception and file transfer. The study utilized Windows and Linux operating systems as the OS platforms, with the single-board computer employing the Microchip ATmega128 microcontroller. The software was developed using C++ language, incorporating third-party libraries boost, and ncurses, and employing CMake for automated software project builds. An embedded text-based human-machine interface was designed to operate in a standard text terminal or integrated development environment. Data exchange with the single-board computer occurred via serial ports, facilitating message exchange to synchronize human-machine software with board-level programs. This facilitated bulk data exchange including matrix operations, structure handling, file operations, and file content retrieval. Coupled with the COS4M library jointly developed by the MVMC Lab, this approach achieved effective interaction between developers and single-board computers.