摘要:
#define pWTCON 0x53000000disable_watchdog: ldr r0, =pWTCON mov r1, #0x0 str r1, [r0] 阅读全文
posted @ 2018-12-26 20:34
小飞Python
阅读(637)
评论(0)
推荐(0)
摘要:
bootloader 和操作系统都是工作在svc模式下 /* * set the cpu to SVC32 mode */ mrs r0,cpsr bic r0,r0,#0x1f orr r0,r0,#0xd3 msr cpsr,r0 阅读全文
posted @ 2018-12-26 20:14
小飞Python
阅读(165)
评论(0)
推荐(0)
摘要:
1. reset 中断向量表 2. 进入reset (1) 设置svc32 模式 (2) flash I/D caches (3)disable MMU 和 cache (4)2440 没有onenand (5)bl lowlevel_init 接 (5) 1.初始化时钟 2. 初始化UART,串口 阅读全文
posted @ 2018-12-26 15:09
小飞Python
阅读(341)
评论(0)
推荐(0)
摘要:
1. CP15 协处理器 16组寄存器 mcr 写 mrc (rgeister CP15) 读 CP15 到 Register mrc p15,0,c0,c0,0 阅读全文
posted @ 2018-12-26 10:09
小飞Python
阅读(201)
评论(0)
推荐(0)
浙公网安备 33010602011771号