1、 Nucleus OS. - L1 Protocol Stack: GSM physical layer. - Drivers: device driver, like SIM, UART, GPIO, etc. - L2/L3 protocol stack: GSM protocol stack layer. - MMI: man-machine interface. - WAP: Wireless application protocol. - JAVA: J2ME Software 2. The Mobile Engineering Testing Architecture, also
2、known as META 3. CatcherOS MediaTek采用Nucleus OS实时操作系统。KAL OS层为MediaTeks软件和Nucleus操作系统的接口。它为任务提供许多系统效劳函数,比方计时器,队列,内存管理,事件等等。L1 Protocol Stack The physical layer or Layer 1 supports the transfer of bit streams on the radio medium according to the Technical Specifications of the 05-series. It provides
3、service to upper layers and control the mapping and scheduling between the logical and physical channels. The TDMA framing and radio control parts are also implemented. Layer 1 Asynchronous: handles the message request from upper layers and forward the result generated by layer 1 to upper layer. Sur
4、rounding Cell Engine: handles the neighbor cell power measurement and neighbor cell synchronization information acquisition. Layer 1 Control: handles the TDMA scheduling on the radio environment, including timing advance and power control command from serving base station. Layer 1 Driver: handles th
5、e DSP and Radio controlDrivers MCU外围设备的驱动,如下:SIM: Subscriber Identity Module UART: Universal Asynchronous Receiver/Transmitter SPI: Serial Port Interface LCD: Liquid Crystal Display GPIO: General Purpose Input/Output GPT: General Purpose Timer RTC: Real Time Clock WDT: Watch Dog Timer PWM: Pulse Wid
6、th Modulation Alerter Keypad PMIC: Power Management IC BMT: Battery Charging Management task AUX task: Auxiliary task ADC Sched.: Analog to Digital Converter Scheduler USB task: The USB 1.1 protocol and driver IrDA task: The IrDA and driver Camera: Camera driver for integrating with 3rd party camera
7、 module MSDC: Memory card driver, supporting SD, MMC cards and Memory Stick JPEG Decoder: Software for controlling hardware JPEG decoder L2/L3/L4 Protocol Stack 这局部包含大量的GSM/GPRS需求以及提供一个优秀的GSM/GPRS平台给应用程序。本地MMI和远程PC通过AT命令可以方便的使用该软件平台。详细的结构如下:RMI: 远程MMI,比方PC端,可以使用AT命令通过串口与协议栈进行通讯。FMI: Feature rich MMI
8、, described in the above section. This is the production co-worked with Pixtel. L4: Layer 4. L4 is a task through which FMI and/or RMI communicate with PS. L4 task includes several sub-modules. ATCI: AT command interpreter. Interprets the AT commands from PC side and commands the L4C to do the relat
9、ive actions. L4A: L4 adaptation layer for FMI. The SAP between FMI and L4A is primitive base. L4C: L4 control entity. Handles all applications request and response. UEM: User equipments adaptation. Adaptation for drivers, like Keypad, LED, GPIO, Audioetc. PHB: Phone book management. Handles the phon
10、e books related processing, like: sortingetc. SMU: SIM management unit. Handle the security management, and STK. CSM: Circuit switching protocol stack management. RAC: Registration access control. SMSAL: Short message service application layer. TCM: Terminal context management. NVRAM: Non-volatile R
11、AM. This is adaptation layer to flash memory. Subscriber identity module. Handle SIM behavior as ETSI 11.11 description. DATA: Circuit switched data service. Data task includes several sub-modules. FAX: Group 3 Facsimile. TDT: Transparent circuit switching data. L2R: Layer 2 relay protocol for non-t
12、ransparent circuit switching data. RLP: Radio link protocol for CC: Circuit-switched call control. SS: Supplementary service. SMS: Short message service. SM: Session management. MM/GMM: Mobility management/GPRS mobility management. SNDCP: Subnetwork dependent convergence protocol. LLC: Logical link
13、control. RR: Radio resource management. RR task includes several sub-modules. RRM: Handles cell selection and PLMN selection. RMPC: Handles the procedures in Idle/Dedicated state including the surrounding cell scheme and measurement reporting. LAPDM: Handles the procedure defined in GSM layer 2. RLC
14、: Radio link control protocol. MAC: Medium access control protocol. MPAL: Adaptation layer for RR and L1A. PPP: Point to Point protocol layer. This is client PPP layer. 这局部包括用户的接口架构,应用以及和协议栈的通讯。Framework: This covers that OSL: OS adaptation layer Task: communication with L4 task. File system: commun
15、ication with storage device. GUI: This covers that Theme UI component Category screen Font Editor T9 or Ezi input method. Access LCD driver. Customization tool. Application Phonebook Messages (SMS, EMS 4.0, CB) Call history Setting. (Phone setting, network setting, security setup) 5 kinds of user pr
16、ofiles Fun and games Organizers Services Shortcuts In call management. Interrupt events, like charging , alarm. WAP 如何编译 参考文档:wcr-MTK_MakeBuild_Design_Customer_040930.pdf编译环境 操作系统:Windows 2000, WinXP. 推荐Windows 2000 with SP2 or later. 编译器:ADS (Arm Developer Suite) v1.2. Perl解析:ActivePerl.推荐使用ActiveP
17、erl 版本make.bat It will parse command line to determine project name, platform, and action. Meanwhile, checking make directory exist or not and checking command line argument is legal or not. After checking, to execute build script GSM2.mak build script to perform action.使用:Usage: Make custom=custome
18、rname action modulecustom = Monzaproject = GPRS (GSM only)action = new (clean, scan, compile, link) (default)= update (scan, compile, link)= remake (compile, link)= clean (clean)module = component module name (nucleus, l1, .)Example:To make/build new GPRS project, clean all old objects, libraries, a
19、nd log files etc., the new action also creates necessary directories and removes all temporary files, and flushes log files automatically.d:pvcsmauimcuMake custom=Monza GPRS newTo update project dependency, and compile changed modules, link. Notice that, update and remake action wont remove temporar
20、y files, and flush log file. Build results will be append after last log file.pvcsmauimcuMake custom=Monza GPRS updateTo recompile changed files, and linkpvcsmauimcuMake custom=Monza GPRS remakeTo clean all objects, temporary files, libraries, and executable binaries. Meanwhile log file will also be
21、 flushed.pvcsmauimcuMake custom=Monza GPRS cleanTo clean dedicated init modules objects libraries. Meanwhile log file will also be flushed.pvcsmauimcuMake custom=Monza GPRS clean inithow to customize your build environment!To add some modules into or remove some modules from the building procedure.T
22、o complete this kind of configuration, it is necessary to understand the following variables in the make fileMonza_GPRS.makCOMPLIST: list all source code modules can be built to .lib. In initial custom release, COMPLISTshould be the sum of CUS_REL_SRC_COMP and CUS_REL_PAR_SRC_COMP. The following is
23、the initial setting in custom release.ifeq ($(strip $(CUSTOM_RELEASE),TRUE)COMPLIST = $(strip $(CUS_REL_SRC_COMP)COMPLIST += $(strip $(CUS_REL_PAR_SRC_COMP)endifCUS_REL_MTK_COMP: list all modules provided with .lib only. These .lib are put in mcumtk_libs.If you want to add a source module 1、add the
24、module xyz (in lower case) into COMPLIST.COMPLIST += xyz 2、add a folder “mcumakexyz for xyz.lis, xyz.inc, xyz.pth, xyz.def.编译生成的文件以及log 1编译的log在目录C:code_100builda100中的MT6218B.log。目录C:code_100builda100log下的log文件为各个模块编译时生成的log。 2编译生成的bin为C:code_100builda100下的a100_PCB01_gprs_MT6218B_FN.W05_12.bin。 3编译生成的目标文件在C:code_100builda100gprsMT6218Bo目录中。 3、开发目录结构解析目录结构:
copyright@ 2008-2023 冰点文库 网站版权所有
经营许可证编号:鄂ICP备19020893号-2