📄 sys_init.txt
字号:
000200 21212145 DCB "!!!E"
000204 6e746572 DCB "nter"
000208 20627265 DCB " bre"
00020c 616b2070 DCB "ak p"
000210 6f696e74 DCB "oint"
000214 2e000000 DCB ".\0\0\0"
|L1.536|
000218 00000000 DCD nCNT
|L1.540|
00021c 21212145 DCB "!!!E"
000220 6e746572 DCB "nter"
000224 20554e44 DCB " UND"
000228 4546494e DCB "EFIN"
00022c 45442065 DCB "ED e"
000230 78636570 DCB "xcep"
000234 74696f6e DCB "tion"
000238 2e202564 DCB ". %d"
00023c 0d0a0000 DCB "\r\n\0\0"
|L1.576|
000240 21212145 DCB "!!!E"
000244 6e746572 DCB "nter"
000248 20535749 DCB " SWI"
00024c 20657863 DCB " exc"
000250 65707469 DCB "epti"
000254 6f6e2e20 DCB "on. "
000258 25640d0a DCB "%d\r\n"
00025c 00000000 DCB "\0\0\0\0"
|L1.608|
000260 21212145 DCB "!!!E"
000264 6e746572 DCB "nter"
000268 20446174 DCB " Dat"
00026c 61204142 DCB "a AB"
000270 4f525420 DCB "ORT "
000274 65786365 DCB "exce"
000278 7074696f DCB "ptio"
00027c 6e2e2025 DCB "n. %"
000280 640d0a00 DCB "d\r\n\0"
|L1.644|
000284 21212145 DCB "!!!E"
000288 6e746572 DCB "nter"
00028c 20507265 DCB " Pre"
000290 66657463 DCB "fetc"
000294 68204142 DCB "h AB"
000298 4f525420 DCB "ORT "
00029c 65786365 DCB "exce"
0002a0 7074696f DCB "ptio"
0002a4 6e2e2025 DCB "n. %"
0002a8 640d0a00 DCB "d\r\n\0"
|L1.684|
0002ac 21212145 DCB "!!!E"
0002b0 6e746572 DCB "nter"
0002b4 20464951 DCB " FIQ"
0002b8 20657863 DCB " exc"
0002bc 65707469 DCB "epti"
0002c0 6f6e2e20 DCB "on. "
0002c4 25640d0a DCB "%d\r\n"
0002c8 00000000 DCB "\0\0\0\0"
|L1.716|
0002cc 22222222 DCD 0x22222222
|L1.720|
0002d0 33fff000 DCD 0x33fff000
ENDP
print_infor PROC
;;;223 void print_infor(void)
;;;224 {
0002d4 e92d4010 PUSH {r4,lr}
;;;225 uart_printf("\n\n\n\n");
0002d8 e28f00dc ADR r0,|L1.956|
0002dc ebfffffe BL uart_printf
;;;226 uart_printf(" *******************************************************************\n");
0002e0 e59f00dc LDR r0,|L1.964|
0002e4 ebfffffe BL uart_printf
;;;227 uart_printf(" ** 英蓓特EduKit系列嵌入式教学系统平台 **\n");
0002e8 e59f00d8 LDR r0,|L1.968|
0002ec ebfffffe BL uart_printf
;;;228 uart_printf(" ** Embest EduKit Series Embedded Teaching Platform **\n");
0002f0 e59f00d4 LDR r0,|L1.972|
0002f4 ebfffffe BL uart_printf
;;;229 uart_printf(" *******************************************************************\n");
0002f8 e59f00c4 LDR r0,|L1.964|
0002fc ebfffffe BL uart_printf
;;;230 }
000300 e8bd4010 POP {r4,lr}
000304 e12fff1e BX lr
;;;231
ENDP
sys_init PROC
;;;194 void sys_init()
;;;195 {
000308 e92d4010 PUSH {r4,lr}
;;;196 change_clock_divider(1,1); // 1:2:4
00030c e3a01001 MOV r1,#1
000310 e1a00001 MOV r0,r1
000314 ebfffffe BL change_clock_divider
;;;197 change_value_MPLL(M_MDIV, M_PDIV, M_SDIV); // Fin=12MHz FCLK=202.8MHz
000318 e3a02001 MOV r2,#1
00031c e3a01003 MOV r1,#3
000320 e3a000a1 MOV r0,#0xa1
000324 ebfffffe BL change_value_MPLL
;;;198 delay(0); // adjust the delay count
000328 e3a00000 MOV r0,#0
00032c ebfffffe BL delay
;;;199 port_init();
000330 ebfffffe BL port_init
;;;200 interrupts_init();
000334 ebfffffe BL interrupts_init
;;;201 uart_init(PCLK, 115200, UART0);
000338 e3a02000 MOV r2,#0
00033c e59f108c LDR r1,|L1.976|
000340 e59f008c LDR r0,|L1.980|
000344 ebfffffe BL uart_init
;;;202 uart_init(PCLK, 115200, UART1);
000348 e3a02001 MOV r2,#1
00034c e59f107c LDR r1,|L1.976|
000350 e59f007c LDR r0,|L1.980|
000354 ebfffffe BL uart_init
;;;203 uart_init(PCLK, 115200, UART2);
000358 e3a020bb MOV r2,#0xbb
00035c e59f106c LDR r1,|L1.976|
000360 e59f006c LDR r0,|L1.980|
000364 ebfffffe BL uart_init
;;;204 #ifdef CLK124_200M
;;;205 change_value_MPLL(88,1,1); // Fin=12MHz FCLK=192MHz
;;;206 uart_init(192000000/4, 115200, UART0);
;;;207 uart_init(192000000/4, 115200, UART1);
;;;208 #endif
;;;209 uart_select(UART1);
000368 e3a00001 MOV r0,#1
00036c ebfffffe BL uart_select
;;;210 print_infor();
000370 ebfffffe BL print_infor
;;;211 delay(500);
000374 e3a00f7d MOV r0,#0x1f4
000378 ebfffffe BL delay
;;;212 }
00037c e8bd4010 POP {r4,lr}
000380 e12fff1e BX lr
;;;213
ENDP
beep_init PROC
;;;241 {
;;;242 if (status)
000384 e3500000 CMP r0,#0
000388 0a000005 BEQ |L1.932|
;;;243 rCPLDBEEPADDR |= (1<<7);
00038c e59f1044 LDR r1,|L1.984|
000390 e5d11000 LDRB r1,[r1,#0]
000394 e3811080 ORR r1,r1,#0x80
000398 e59f2038 LDR r2,|L1.984|
00039c e5c21000 STRB r1,[r2,#0]
0003a0 ea000004 B |L1.952|
|L1.932|
;;;244 else
;;;245 rCPLDBEEPADDR &= ~(1<<7);
0003a4 e59f102c LDR r1,|L1.984|
0003a8 e5d11000 LDRB r1,[r1,#0]
0003ac e3c11080 BIC r1,r1,#0x80
0003b0 e59f2020 LDR r2,|L1.984|
0003b4 e5c21000 STRB r1,[r2,#0]
|L1.952|
;;;246 }
0003b8 e12fff1e BX lr
ENDP
|L1.956|
0003bc 0a0a0a0a DCB "\n\n\n\n"
0003c0 00000000 DCB "\0\0\0\0"
|L1.964|
0003c4 00000000 DCD ||.constdata||
|L1.968|
0003c8 00000048 DCD ||.constdata||+0x48
|L1.972|
0003cc 00000090 DCD ||.constdata||+0x90
|L1.976|
0003d0 0001c200 DCD 0x0001c200
|L1.980|
0003d4 03059ee0 DCD 0x03059ee0
|L1.984|
0003d8 21180000 DCD 0x21180000
AREA ||.data||, DATA, ALIGN=2
nCNT
000000 00000000 DCD 0x00000000
AREA ||.constdata||, DATA, READONLY, ALIGN=2
000000 202a2a2a DCB 0x20,0x2a,0x2a,0x2a
000004 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
000008 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
00000c 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
000010 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
000014 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
000018 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
00001c 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
000020 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
000024 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
000028 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
00002c 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
000030 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
000034 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
000038 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
00003c 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
000040 2a2a2a2a DCB 0x2a,0x2a,0x2a,0x2a
000044 0a000000 DCB 0x0a,0x00,0x00,0x00
000048 202a2a20 DCB 0x20,0x2a,0x2a,0x20
00004c 20202020 DCB 0x20,0x20,0x20,0x20
000050 20202020 DCB 0x20,0x20,0x20,0x20
000054 20202020 DCB 0x20,0x20,0x20,0x20
000058 d3a2dded DCB 0xd3,0xa2,0xdd,0xed
00005c ccd84564 DCB 0xcc,0xd8,0x45,0x64
000060 754b6974 DCB 0x75,0x4b,0x69,0x74
000064 cfb5c1d0 DCB 0xcf,0xb5,0xc1,0xd0
000068 c7b6c8eb DCB 0xc7,0xb6,0xc8,0xeb
00006c cabdbdcc DCB 0xca,0xbd,0xbd,0xcc
000070 d1a7cfb5 DCB 0xd1,0xa7,0xcf,0xb5
000074 cdb3c6bd DCB 0xcd,0xb3,0xc6,0xbd
000078 cca82020 DCB 0xcc,0xa8,0x20,0x20
00007c 20202020 DCB 0x20,0x20,0x20,0x20
000080 20202020 DCB 0x20,0x20,0x20,0x20
000084 20202020 DCB 0x20,0x20,0x20,0x20
000088 20202a2a DCB 0x20,0x20,0x2a,0x2a
00008c 0a000000 DCB 0x0a,0x00,0x00,0x00
000090 202a2a20 DCB 0x20,0x2a,0x2a,0x20
000094 20202020 DCB 0x20,0x20,0x20,0x20
000098 20202045 DCB 0x20,0x20,0x20,0x45
00009c 6d626573 DCB 0x6d,0x62,0x65,0x73
0000a0 74204564 DCB 0x74,0x20,0x45,0x64
0000a4 754b6974 DCB 0x75,0x4b,0x69,0x74
0000a8 20536572 DCB 0x20,0x53,0x65,0x72
0000ac 69657320 DCB 0x69,0x65,0x73,0x20
0000b0 456d6265 DCB 0x45,0x6d,0x62,0x65
0000b4 64646564 DCB 0x64,0x64,0x65,0x64
0000b8 20546561 DCB 0x20,0x54,0x65,0x61
0000bc 6368696e DCB 0x63,0x68,0x69,0x6e
0000c0 6720506c DCB 0x67,0x20,0x50,0x6c
0000c4 6174666f DCB 0x61,0x74,0x66,0x6f
0000c8 726d2020 DCB 0x72,0x6d,0x20,0x20
0000cc 20202020 DCB 0x20,0x20,0x20,0x20
0000d0 20202a2a DCB 0x20,0x20,0x2a,0x2a
0000d4 0a000000 DCB 0x0a,0x00,0x00,0x00
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -