ImageVerifierCode 换一换
格式:DOCX , 页数:15 ,大小:100.54KB ,
资源ID:10541839      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/10541839.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(MTK入门培训.docx)为本站会员(b****8)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

MTK入门培训.docx

1、MTK入门培训MTK入门导读(推荐) 文档内容:MTK软件架构如何编译开发目录结构解析开发工具的了解程序入口,程序导读MMI的制作1MTK软件构架参考文档:MT6218_SW_ReleaseNote.pdfMTK为MediaTek公司提供的GSM软件方案。它包含5个部分:L1协议设备驱动协议栈MMIWAP应用MediaTek为用户提供3个工具:CatcherMETAMCTMTK软件架构图:下面3个部分组成该软件方案:1. MS Executable Software, which is the software running on the MS, includes the following

2、 modules - OS: 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 Archi

3、tecture, also known as META 3. CatcherOS MediaTek采用Nucleus OS实时操作系统。KAL OS层为MediaTeks软件和Nucleus操作系统的接口。它为任务提供许多系统服务函数,比如计时器,队列,内存管理,事件等等。L1 Protocol StackThe physical layer or Layer 1 supports the transfer of bit streams on the radio medium according to the Technical Specifications of the 05-series.

4、 It provides 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 laye

5、r 1 to upper layer. 􀁺 Surrounding 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 ser

6、ving base station. 􀁺 Layer 1 Driver: handles the DSP and Radio controlDriversMCU外围设备的驱动,如下:􀁺 SIM: Subscriber Identity Module 􀁺 UART: Universal Asynchronous Receiver/Transmitter 􀁺 SPI: Serial Port Interface 􀁺 LCD: Liquid Crystal Display 􀁺 GPIO: Ge

7、neral Purpose Input/Output 􀁺 GPT: General Purpose Timer 􀁺 RTC: Real Time Clock 􀁺 WDT: Watch Dog Timer 􀁺 PWM: Pulse Width Modulation 􀁺 Alerter 􀁺 Keypad 􀁺 PMIC: Power Management IC 􀁺 BMT: Battery Charging Management task 􀁺

8、; 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 module 􀁺 MSDC: Memory card driver, su

9、pporting 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, d

10、escribed 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

11、L4C to do the relative 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, Au

12、dioetc. 􀂄 PHB: Phone book management. Handles the phone 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. ⣷

13、08; SMSAL: Short message service application layer. 􀂄 TCM: Terminal context management. 􀁺 NVRAM: Non-volatile RAM. This is adaptation layer to flash memory. 􀁺 SIM: Subscriber identity module. Handle SIM behavior as ETSI 11.11 description. 􀁺 DATA: Circuit switched

14、data service. Data task includes several sub-modules. 􀂄 FAX: Group 3 Facsimile. 􀂄 TDT: Transparent circuit switching data. 􀂄 L2R: Layer 2 relay protocol for non-transparent circuit switching data. 􀂄 RLP: Radio link protocol for non-transparent circuit switching da

15、ta. 􀁺 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. 􀁺 L

16、LC: Logical link 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. И

17、708; LAPDM: Handles the procedure defined in GSM layer 2. 􀂄 RLC: 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. MMI这部分包括用户的接口架构,应用以及和协议栈的通

18、讯。􀁺 Framework: This covers that 􀂄 OSL: OS adaptation layer 􀂄 Task: communication with L4 task. 􀂄 File system: communication with storage device. 􀁺 GUI: This covers that 􀂄 Theme 􀂄 UI component 􀂄 Category screen 􀂄 Font &#

19、1048708; 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

20、 kinds of user profiles 􀂄 Fun and games 􀂄 Organizers 􀂄 Services 􀂄 Shortcuts 􀂄 In call management. 􀂄 Interrupt events, like charging , alarm. WAP2如何编译参考文档:wcr-MTK_MakeBuild_Design_Customer_040930.pdf编译环境 操作系统:Windows 2000, WinXP. 推荐Windows 2000 wi

21、th SP2 or later. 编译器:ADS (Arm Developer Suite) v1.2. Perl解析:ActivePerl.推荐使用ActivePerl 5.6.1版本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 exe

22、cute build script GSM2.mak build script to perform action.使用:Usage: Make custom=customername 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, l

23、1, .)Example:To make/build new GPRS project, clean all old objects, libraries, and 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 c

24、hanged modules, link. Notice that, update and remake action wont remove temporary files, and flush log file. Build results will be append after last log file.d:pvcsmauimcuMake custom=Monza GPRS updateTo recompile changed files, and linkd:pvcsmauimcuMake custom=Monza GPRS remakeTo clean all objects,

25、temporary files, libraries, and executable binaries. Meanwhile log file will also be flushed.d:pvcsmauimcuMake custom=Monza GPRS cleanTo clean dedicated init modules objects libraries. Meanwhile log file will also be flushed.d:pvcsmauimcuMake custom=Monza GPRS clean inithow to customize your build e

26、nvironment!To add some modules into or remove some modules from the building procedure.To complete this kind of configuration, it is necessary to understand the following variables in the make fileMonza_GPRS.mak􀂋COMPLIST: list all source code modules can be built to .lib. In initial custom

27、release, COMPLISTshould be the sum of CUS_REL_SRC_COMP and CUS_REL_PAR_SRC_COMP. The following is the initial setting in custom release.ifeq ($(strip $(CUSTOM_RELEASE),TRUE)COMPLIST = $(strip $(CUS_REL_SRC_COMP)COMPLIST += $(strip $(CUS_REL_PAR_SRC_COMP)endif􀂋CUS_REL_MTK_COMP: list all modu

28、les provided with .lib only. These .lib are put in mcumtk_libs.􀁺If you want to add a source module1. add the module xyz (in lower case) into COMPLIST.ifeq ($(strip $(CUSTOM_RELEASE),TRUE)COMPLIST = $(strip $(CUS_REL_SRC_COMP)COMPLIST += $(strip $(CUS_REL_PAR_SRC_COMP)COMPLIST += xyzendif2.

29、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开发目录结构解析参考文档:wc

30、r-MTK_MakeBuild_Design_Customer_040930.pdf目录结构:目录名称目录描述buildGenerated object, libraries, executable binary and log files directory. The directory will be createdautomatically. For details, see “Generated Objects, Libraries, Executable Binary and Log Files” sections.makeMain build scripts and option

31、file directory.nucleusNucleus Plus RTOS source codes directory include C, Assembly, and included header files.initSystem boot and hardware dependent initialization directory. Meanwhile, exception handling, and interrupt service routine dispatcher are also placed here.incSystem boot, initialization,

32、layer1, and driver modules common included header files directory.l1Layer 1 source codes directory.drvDriver modules source codes directory.customCustoms task/modules sources and header filesFast_DLCmm files for fast downloadtoolsMiscellaneous tools used in build/make and customer release procedures

33、mtk_libsComponent libraries provided my MediaTek.tstDatabase for tracevernoSource code for keeping version information4开发工具的了解参考目录工具中的文件。 工具:CatcherCatcher is a PC-side tool for MTK GSM/GPRS Products. The main purpose of Catcher is for logging primitives and debug information. Engineers can use Catcher to analyze the behavior of mobile phon

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1