Mainly discuss the choice of gateway hardware platform , specifically introduced the programming of the gateway , the operate of can controller , the design of can data send and receive programming , network programming and the multi - task programming with emphasis 软件设计介绍了交叉开发环境keiluvision2ide的设置和调试手段,给出了对can控制器的操作、 can数据帧处理程序设计、网络编程,其中重点讨论了嵌入式多任务程序的设计。
The processor which was adopted in the design is atmega128 , this is a low - power cmos 8 - bit microcontroller based on avr enhanced risc architecture . the software adopts the real - time kernel c / os - , the step we do first is the transplanting of the os , the next is to divide the multitask in accordance with the all function of the system and define the pri of each task , the final is to finish the task program 本设计采用了爱特美尔公司的高档avr高速单片机atmega128作为系统的微处理器;同时在软件设计上采用了源代码开放的实时嵌入式多任务操作系统c os - ,将c os -操作系统移植到单片机上,将系统所要实现的功能分成多个任务分别设计任务程序,在操作系统的调度管理下进行系统的运行。
任务: task; job程序: procedure多任务程序: multitask program任务程序库: task library子任务程序: subtask program多任务程序设计: multitasking programming临界任务服务程序: mission-critical server服务程序: service program; service routine; serviceprogram服务程序包: package of service program; service package服务程序库: service library关务程序: customs procedures卡服务程序: card services名服务程序: name server内务程序: housekeeping program; housekeeping routine; housewife program小服务程序: servlet常驻服务程序: resident service program出口业务程序: business routine of export传输服务程序: transmission services磁盘服务程序: disk server打印服务程序: print server对话服务程序: session service飞航业务程序: procedures for air navigation services (pans)服务程序地址: service-routine address服务事务程序: service transaction program格式服务程序: format service program