当前位置:首页 >> 信息与通信 >>

Idle project for AT91RM9200DK


T91 Basic Idle project for AT91RM9200DK
Introduction
The goal of this demonstration project is to show how to move the AT91RM9200 in IDLE state

This very small application is controlled through the DBGU serial port messages.

User can send ‘p’ or ‘c’ characters to move the core in idle mode. Other characters send while in idle mode will activate the core. Description
There are 2 ways to go in IDLE mode: ? ? ? ? ? ? Configuring the processor clock bit in the PMC (power management controller) Using the CP15 function “Wait for Interrupt” of the ARM920T: MCR p15, 0, Rd,

c7, c0,4 While running the application send characters each seconds through the DBGU. An interrupt is triggered when a character is received. If this character is ‘P’ then the AT91RM9200 goes in idle mode configuring the power management controller. If character sent is ‘C’ then the AT91RM9200 goes in idle mode using CP15 function.

DBGU Trace and Command -I- ====================================== -I- AT91RM9200 idle mode example -I- --------------------------------------I- Hit P to enter in idle mode using PMC -I- Hit C to enter in idle mode using CP15 -I- Hit another key to exit idle mode -I- ======================================

IDLE 模式测试方法 下面来说明用 JTAG/ICE 的方式来做 EBD9200IDLE 模式的测试。基本条件如下: 1. 9 针串口插在底版上标号为“P1”的串口插座上,25 针并口线一头插在 PC 机并口,另 一头插在 JTAG/ICE 转换器上,JTAG/ICE 转换器的排线一头插在底版上标号为“J22” 的 20Pins 槽上,另一头插在 JTAG/ICE 转换器的的右边即靠近 SN74HC244 10 脚这边; 2. 将底版上标号为“J23”的跳线跳到靠近 J5 这边; 3. 核心板上标号“J2”的跳线跳到靠近“C18”的这边; 4. 底版上其它跳线配置为:J13,J16 要插好,JP1 插在靠近 C14 这边,J12 插在靠近 C22 这边; 5. 9V 电源线(最好用我公司提供的专用产品)插在标号为“JACK1”的 DC 插座上。 当您上电后 ARM9 调试代理软件 EBD9200 超级终端的现象和电路板的现象如下图所示的话 就说明连接正确:

将待测试的文件通过软件汇编和编译在超级终端中刚开始现象如下 参 加 汇 编 和 文 件 目 录 AT91RM9200-BasicIdle-ARM1_2-2_0/AT91RM9200-BasicIdle/compil/BasicIdle.mcp



按“P“的现象如下

按“C”的现象如下

按其它键的现象如下

测试完毕。


相关文章:
uboot
AT91RM9200DK 开发板的 LED 初始化,注释掉 //bl coloured_LED_init //bl ...Fin = 12MHz for Audio */ #define M_MDIV 0xC3 #define M_PDIV 0x4 ...
基于AT91RM9200和ucos-Ⅱ的一种嵌入式最小系统实现
AT91RM9200 and the RTOS uc/os-Ⅱ, gives the source which for uc/os-...(),OSTaskIdleHook(),OSTaskStatHook(), OSTaskSwHook(),OSTCBInitHook(),...
AT91RM9200处理器MMU&CACHE学习报告
AT91RM9200处理器MMU&CACHE学习报告AT91RM9200处理器MMU&CACHE学习报告隐藏>> 文档...(unsigned long *)MMU_TBL_BASE; for (vm_addr = MEM_START; vm_addr <...
U-BOOT全线移植分析系列之三――U-BOOT在AT91RM9200上...
for (;;) { /* shell parser */ main_loop () --> u_boot_hush_...在 u-boot-1.1.1 中,已经支持 at91rm9200,所以可以选取 at91rm9200dk 作为...
uboot移植日记
官方 at91rm9200DK u-boot Flash Programming ...for (;;) { /* shell parser */ main_loop (...1.1.1 http://sourceforge.net/project/showfiles...
Uboot简介
(3) 、对于“./borad/at91rm9200dk/flash.c”的修改,有以下的方面: “void...it's not a problem for (i=0; i < CFG_MAX_FLASH_BANKS; ++i){ ...
UBOOT详细解读
AT91RM9200 进行特殊处理 #if defined(CONFIG_AT91RM9200DK) || defined(...* use irq_save_user_regs / irq_restore_user_regs for IRQ/FIQ handling ...
嵌入式Linux之我行全集 详细uboot移植 免费下载
r0 bl coloured_LED_init //此处两行是对 AT91RM9200DK 开发板上的 LED ...(i >> 25) & 0xFF; NAND_DETECT_RB; for(j=0; j < NAND_SECTOR_...
U-BOOT裁减移植(一)---汇编启动代码start.S分析
(CONFIG_AT91RM9200DK) || defined(CONFIG_AT91RM9200EK) 73 /* 74 * ...(for nand_read_lowlevel()) 109 mov sp, #0x33000000 @ setup stack ...
u-boot移植
AT91RM9200DK 的 LED 初始代码, 但我们 mini2440 上的 LED 资源与该开发板...Fin = 12MHz for Audio */ #elif FCLK_SPEED==1 #elif FCLK_SPEED==2 ...
更多相关标签: