找回密码
 注册
搜索
查看: 1053|回复: 2

[资料] FRAMEWORK OF MTK

[复制链接]
发表于 2007-6-22 16:12:21 | 显示全部楼层 |阅读模式
MediaTek采用Nucleus OS实时操作系统。KAL OS层为MediaTek’s软件和Nucleus操作系统的接口。它为任务提供许多系统服务函数,比如计时器,队列,内存管理,事件等等。

RMI: 远程MMI,比如PC端,可以使用AT命令通过串口与协议栈进行通讯。

-》MMI任务入口:
C:\code_100\plutommi\mmi\Framework\Tasks\TasksSrc
中文件MMITask.c函数MMI_task。

-》MMI任务的建立:
C:\code_100\plutommi\mmi\Framework\Osl\OslSrc
中文件pixtelMMI.c函数WinMain调用InitApplication函数,在该函数中建立MMI任务,建立任务的接口函数为:osl_create_task。

-》MMI任务信息:
{"MMI TASK"(任务名称), "MMI Q"(队列名称), 127(优先级), 4096(堆栈大小),MAX_PRT_NODES(队列结点个数), MMI_task(任务入口)}。

-》MMI模块入口:
目录C:\code_100\plutommi\mmi中为MMI各个模块的代码。比如闹钟模块,源代码在C:\code_100\plutommi\mmi\Alarm\AlarmSrc中,头文件在C:\code_100\plutommi\mmi\Alarm\AlarmInc中。首先找到初始化闹钟的函数AlmInit,该函数定义在选择闹钟菜单项时调用函数HighlightAlmMenu进入闹钟功能

API For Writing Applications Using Pixtel MMI Platform.pdf各类窗口列表
Writing Applications Using Pixtel MMI Platform.pdf如何写应用程序


设计一个应用程序的流程如下: -
    1. Write an Initialization function to register the various event handlers.
    2. Write a populate function to register various string and image elements for the
application.
    3. Write highlight handlers for function registered.菜单项的功能,当用户选择菜单项后执行的函数。
    4. Write the Entry functions。入口函数
    5. Write the Exit function。出口函数
    6. Write the business logic to call between various entry functions.

PC仿真环境:工程文件 PixtelMMI.dsw 位于目录     MTK\plutommi\mmi 下面,由此可进入仿真环境
手机工程测试工具: META (Mobile Engineering Testing Architecture) is designed to provide the functionality of RF testing, NVRAM access testing, speech related testing of advanced feature – melody and voice memo.
UI制作工具: MCT
发表于 2007-6-22 17:52:15 | 显示全部楼层
不错,顶一个
点评回复

使用道具 举报

发表于 2007-6-24 19:20:29 | 显示全部楼层
Good,非常不错的入门材料。
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-5-18 06:44 , Processed in 0.047421 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表