论文部分内容阅读
采用S3C44B0芯片为处理器,利用以太网中TCP协议,设计一种网口转串口模块,实现了数据传输方式的转换,并给出了系统框图。软件采用uC/OS+LwIP实时多任务嵌入式系统。软件主要实现5个任务:时钟初始化/操作系统初始化任务,修改IP、子网掩码、网关的菜单任务,LwIP初始化任务,网口初始化任务,网口向串口、串口向网口发送数据任务。给出了主函数和主程序流程图。实际应用效果良好。
Using S3C44B0 chip as processor, using TCP protocol in Ethernet, designing a kind of network port to serial port module, realizing the conversion of data transmission mode and giving the system block diagram. Software uses uC / OS + LwIP real-time multi-tasking embedded system. Software to achieve five main tasks: clock initialization / operating system initialization tasks, modify IP, subnet mask, gateway menu tasks, LwIP initialization tasks, network port initialization tasks, network port to the serial port, serial port to send data to the network port task. Given the main function and the main program flow chart. Practical application of good results.