关于ARM板在不带操作系统使用到的测试代码

源代码在线查看: at91rm9200dk.ini

软件大小: 2068 K
上传用户: BO__1
关键词: ARM 操作系统 测试代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				com                      Set up for Thunder
				com Settings : Rempap
				com REMAP memories, Internal SRAM => 0x000000000 and Internal ROM => 0X00100000
				com setmem 0xFFFFFF00 0x00000001 32
				com set PIOC as peripheral
				com setmem 0xFFFFF804 0xFFFF0000 32
				com set EBI cs for sdram
				com setmem 0xFFFFFF60 0x00000002 32
				com Init SDRAM
				com setmem 0xFFFFFF98 0x7fffffd0 32
				com setmem 0xFFFFFF90 0x00000002 32
				com setmem 0x20000000 0 32
				com setmem 0xFFFFFF90 0x00000004 32
				com setmem 0x20000000 0 32
				com setmem 0x20000000 0 32
				com setmem 0x20000000 0 32
				com setmem 0x20000000 0 32
				com setmem 0x20000000 0 32
				com setmem 0x20000000 0 32
				com setmem 0x20000000 0 32
				com setmem 0x20000000 0 32
				com setmem 0xFFFFFF90 0x00000003 32
				com setmem 0x20000080 0 32
				com setmem 0xFFFFFF94 0x000001F4 32
				com setmem 0x20000000 0 32
				com setmem 0xFFFFFF90 0x00000000 32
				com setmem 0x20000000 0 32
				
				Com set apmc pllb 
				com setmem 0xFFFFFC20 0x0000FF01 32
				com setmem 0xFFFFFC2C 0x102F3E05 32
				com select PLLB as master clock
				com setmem 0xFFFFFC30 0x00000007 32
				
				
				com Open PIO for USART2
				com setmem 0xFFFFF404 0xC00000 32
				com Open USART 2 Clock and TC2
				com setmem 0xFFFFFC10 0x80100 32
				
				com lb c:\windows\bureau\cmdline.bin 0x20007500
				com lb c:\windows\bureau\disk.bin 0x20400000
				com load c:\windows\bureau\linux.axf
				
				com setpc 0x20008000			

相关资源