In order to improve the manual mode of work of the freight rail system, save time and lift efficiency, this project proposes an automated solution to design a kind of handheld device with embedded system specifically for cargo inspection. Paper introduces the hardware and software architecture, and the communication protocols, and the upper application development of the system. Based on Cortex-M3 core-based 32-bit embedded microprocessor chip STM32F103RCT6, project transplantsμC/OS-II,μC/FS file system,μC/GUI graphical user interface, and designs the communication process hierarchically. In the upper application, project implyments system functions by task-scheduling. System optimizes its efficiency and stability very well. Finally, paper gives a summary of the project and the later prospect. It's believed that further work will give better results. |