-
Notifications
You must be signed in to change notification settings - Fork 0
/
sl3316.ini
executable file
·48 lines (36 loc) · 1.48 KB
/
sl3316.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
setreg cpsr 0xD3
setreg spsr 0xD3
com ---------------------------------------------------------------------
com Global Reset
com ---------------------------------------------------------------------
setmem 0x20000010 0x80000000 32
com ---------------------------------------------------------------------
com Disable Watchdog
com ---------------------------------------------------------------------
setmem 0x2800000C 0x00000000 32
com ---------------------------------------------------------------------
com Initialize DRAM
com ---------------------------------------------------------------------
setmem 0x55000000 0x80000122 32
setmem 0x55000008 0x00000002 32
mem 0x10000000 +256 32 hex
setreg r0 0x0
setreg r1 0xC2
setmem 0x55000008 0x00000000 32
setmem 0x54000010 0x00004000 32
com ---------------------------------------------------------------------
com Global Miscellaneous Control Register
com bit 16: Enable Flash memory space swap to DRAM memory space
com setmem 0x20000028 0x00010019 32 --> if Enable LPC
com setmem 0x20000028 0x00010001 32 --> if use internal UART
com ---------------------------------------------------------------------
setmem 0x20000028 0x00010019 32
setmem 0x20000014 0x041400f0 32
setmem 0x20000018 0x00000060 32
com setmem 0x2100000c 0x10200000 32
fillmem 0x0000000 +1024 0
fillmem 0x3e00000 +1024 0
setpc 0x3E00000
load w:\sl-boot\board\sl3316_win\bin\boot2.elf
com setpc 0x10040
com load c:\sl3316\bin\run.elf