⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 strata16.txt

📁 s3c24a0固件测试代码 ? ? ? ? ?啊 
💻 TXT
📖 第 1 页 / 共 4 页
字号:
000774  6b636568          DCB      "heck"
000778  72726520          DCB      " err"
00077c  2528726f          DCB      "or(%"
000780  21212978          DCB      "x)!!"
000784  0000000a          DCB      "\n\0\0\0"
                  |L1.1928|
000788  e51f0754          LDR      r0,|L1.60|            ;280
00078c  e5900000          LDR      r0,[r0,#0]            ;280  ; targetAddress
000790  ebfffffe          BL       Strata_CheckDevice    ;280
000794  e1a00800          MOV      r0,r0,LSL #16         ;280
000798  e59f1200          LDR      r1,|L1.2464|          ;280
00079c  e1510820          CMP      r1,r0,LSR #16         ;280
0007a0  0a000002          BEQ      |L1.1968|             ;280
0007a4  e28f0f7e          ADR      r0,|L1.2468|          ;282
0007a8  ebfffffe          BL       _printf               ;282
0007ac  eaffffa0          B        |L1.1588|             ;283
                  |L1.1968|
0007b0  e3a04000          MOV      r4,#0                 ;286
                  |L1.1972|
0007b4  e51f02d0          LDR      r0,|L1.1260|          ;286
0007b8  e5900000          LDR      r0,[r0,#0]            ;286  ; targetSize
0007bc  e1540000          CMP      r4,r0                 ;286
0007c0  2a000011          BCS      |L1.2060|             ;286
0007c4  ea000001          B        |L1.2000|             ;286
                  |L1.1992|
0007c8  e2844b40          ADD      r4,r4,#0x10000        ;286
0007cc  eafffff8          B        |L1.1972|             ;286
                  |L1.2000|
0007d0  e51f179c          LDR      r1,|L1.60|            ;288
0007d4  e5911000          LDR      r1,[r1,#0]            ;288  ; targetAddress
0007d8  e51f22f8          LDR      r2,|L1.1256|          ;288
0007dc  e5922000          LDR      r2,[r2,#0]            ;288  ; targetOffset
0007e0  e0811002          ADD      r1,r1,r2              ;288
0007e4  e0810004          ADD      r0,r1,r4              ;288
0007e8  ebfffffe          BL       Strata_ClearBlockLock ;288
0007ec  e51f17b8          LDR      r1,|L1.60|            ;289
0007f0  e5911000          LDR      r1,[r1,#0]            ;289  ; targetAddress
0007f4  e51f2314          LDR      r2,|L1.1256|          ;289
0007f8  e5922000          LDR      r2,[r2,#0]            ;289  ; targetOffset
0007fc  e0811002          ADD      r1,r1,r2              ;289
000800  e0810004          ADD      r0,r1,r4              ;289
000804  ebfffffe          BL       Strata_EraseSector    ;289
000808  eaffffee          B        |L1.1992|             ;290
                  |L1.2060|
00080c  e51f07d8          LDR      r0,|L1.60|            ;292
000810  e5901000          LDR      r1,[r0,#0]            ;292  ; targetAddress
000814  e28f0f68          ADR      r0,|L1.2492|          ;292
000818  ebfffffe          BL       _printf               ;292
00081c  e51f17e8          LDR      r1,|L1.60|            ;294
000820  e5911000          LDR      r1,[r1,#0]            ;294  ; targetAddress
000824  e51f2344          LDR      r2,|L1.1256|          ;294
000828  e5922000          LDR      r2,[r2,#0]            ;294  ; targetOffset
00082c  e0810002          ADD      r0,r1,r2              ;294
000830  e51f134c          LDR      r1,|L1.1260|          ;294
000834  e5911000          LDR      r1,[r1,#0]            ;294  ; targetSize
000838  ebfffffe          BL       Strata_BlankCheck     ;294
00083c  e3500000          CMP      r0,#0                 ;294
000840  1a000002          BNE      |L1.2128|             ;294
000844  e28f0f63          ADR      r0,|L1.2520|          ;296
000848  ebfffffe          BL       _printf               ;296
00084c  eaffff78          B        |L1.1588|             ;297
                  |L1.2128|
000850  e28f0f66          ADR      r0,|L1.2544|          ;300
000854  ebfffffe          BL       _printf               ;300
000858  e3a04000          MOV      r4,#0                 ;302
                  |L1.2140|
00085c  e51f0378          LDR      r0,|L1.1260|          ;302
000860  e5900000          LDR      r0,[r0,#0]            ;302  ; targetSize
000864  e1540000          CMP      r4,r0                 ;302
000868  2a000019          BCS      |L1.2260|             ;302
00086c  ea000001          B        |L1.2168|             ;302
                  |L1.2160|
000870  e2844002          ADD      r4,r4,#2              ;302
000874  eafffff8          B        |L1.2140|             ;302
                  |L1.2168|
000878  e51f21c0          LDR      r2,|L1.1728|          ;304
00087c  e5922000          LDR      r2,[r2,#0]            ;304  ; srcAddress
000880  e19210b4          LDRH     r1,[r2,r4]            ;304
000884  e51f2850          LDR      r2,|L1.60|            ;304
000888  e5922000          LDR      r2,[r2,#0]            ;304  ; targetAddress
00088c  e0842002          ADD      r2,r4,r2              ;304
000890  e51f33b0          LDR      r3,|L1.1256|          ;304
000894  e5933000          LDR      r3,[r3,#0]            ;304  ; targetOffset
000898  e0820003          ADD      r0,r2,r3              ;304
00089c  ebfffffe          BL       Strata_ProgFlash      ;304
0008a0  e3c4047f          BIC      r0,r4,#0x7f000000     ;305
0008a4  e3c008ff          BIC      r0,r0,#0xff0000       ;305
0008a8  e240ccfc          SUB      r12,r0,#0xfc00        ;305
0008ac  e25ccfff          SUBS     r12,r12,#0x3fc        ;305
0008b0  1a000006          BNE      |L1.2256|             ;305
0008b4  e2840004          ADD      r0,r4,#4              ;306
0008b8  e1a01fc0          MOV      r1,r0,ASR #31         ;306
0008bc  e0801821          ADD      r1,r0,r1,LSR #16      ;306
0008c0  e1a05841          MOV      r5,r1,ASR #16         ;306
0008c4  e1a01005          MOV      r1,r5                 ;306
0008c8  e28f0f50          ADR      r0,|L1.2576|          ;306
0008cc  ebfffffe          BL       _printf               ;306
                  |L1.2256|
0008d0  eaffffe6          B        |L1.2160|             ;307
                  |L1.2260|
0008d4  e28f0f4f          ADR      r0,|L1.2584|          ;308
0008d8  ebfffffe          BL       _printf               ;308
0008dc  e3a000ff          MOV      r0,#0xff              ;310
0008e0  e51f18ac          LDR      r1,|L1.60|            ;310
0008e4  e5911000          LDR      r1,[r1,#0]            ;310  ; targetAddress
0008e8  e1c100b0          STRH     r0,[r1,#0]            ;310
0008ec  e28f0f50          ADR      r0,|L1.2612|          ;313
0008f0  ebfffffe          BL       _printf               ;313
0008f4  e3a04000          MOV      r4,#0                 ;314
                  |L1.2296|
0008f8  e51f0414          LDR      r0,|L1.1260|          ;314
0008fc  e5900000          LDR      r0,[r0,#0]            ;314  ; targetSize
000900  e1540000          CMP      r4,r0                 ;314
000904  2a000022          BCS      |L1.2452|             ;314
000908  ea000001          B        |L1.2324|             ;314
                  |L1.2316|
00090c  e2844002          ADD      r4,r4,#2              ;314
000910  eafffff8          B        |L1.2296|             ;314
                  |L1.2324|
000914  e51f08e0          LDR      r0,|L1.60|            ;316
000918  e5900000          LDR      r0,[r0,#0]            ;316  ; targetAddress
00091c  e0840000          ADD      r0,r4,r0              ;316
000920  e51f1440          LDR      r1,|L1.1256|          ;316
000924  e5911000          LDR      r1,[r1,#0]            ;316  ; targetOffset
000928  e19000b1          LDRH     r0,[r0,r1]            ;316
00092c  e51f1274          LDR      r1,|L1.1728|          ;316
000930  e5911000          LDR      r1,[r1,#0]            ;316  ; srcAddress
000934  e19410b1          LDRH     r1,[r4,r1]            ;316
000938  e1500001          CMP      r0,r1                 ;316
00093c  0a000013          BEQ      |L1.2448|             ;316
000940  e51f0288          LDR      r0,|L1.1728|          ;318
000944  e5900000          LDR      r0,[r0,#0]            ;318  ; srcAddress
000948  e19020b4          LDRH     r2,[r0,r4]            ;318
00094c  e51f0294          LDR      r0,|L1.1728|          ;318
000950  e5900000          LDR      r0,[r0,#0]            ;318  ; srcAddress
000954  e0801004          ADD      r1,r0,r4              ;318
000958  e28f00e8          ADR      r0,|L1.2632|          ;318
00095c  ebfffffe          BL       _printf               ;318
000960  e51f092c          LDR      r0,|L1.60|            ;319
000964  e5900000          LDR      r0,[r0,#0]            ;319  ; targetAddress
000968  e19420b0          LDRH     r2,[r4,r0]            ;319
00096c  e51f0938          LDR      r0,|L1.60|            ;319
000970  e5900000          LDR      r0,[r0,#0]            ;319  ; targetAddress
000974  e0840000          ADD      r0,r4,r0              ;319
000978  e51f3498          LDR      r3,|L1.1256|          ;319
00097c  e5933000          LDR      r3,[r3,#0]            ;319  ; targetOffset
000980  e0801003          ADD      r1,r0,r3              ;319
000984  e28f00dc          ADR      r0,|L1.2664|          ;319
000988  ebfffffe          BL       _printf               ;319
00098c  eaffff28          B        |L1.1588|             ;320
                  |L1.2448|
000990  eaffffdd          B        |L1.2316|             ;322
                  |L1.2452|
000994  e28f00ec          ADR      r0,|L1.2696|          ;325
000998  ebfffffe          BL       _printf               ;325
00099c  eaffff24          B        |L1.1588|
                  |L1.2464|
0009a0  00008803          DCD      0x00008803
                  |L1.2468|
0009a4  69766544          DCB      "Devi"
0009a8  63206563          DCB      "ce c"
0009ac  6b636568          DCB      "heck"
0009b0  72726520          DCB      " err"
0009b4  2120726f          DCB      "or !"
0009b8  00000a21          DCB      "!\n\0\0"
                  |L1.2492|
0009bc  6172450a          DCB      "\nEra"
0009c0  74206573          DCB      "se t"
0009c4  73206568          DCB      "he s"
0009c8  6f746365          DCB      "ecto"
0009cc  203a2072          DCB      "r : "
0009d0  78257830          DCB      "0x%x"
0009d4  00000a2e          DCB      ".\n\0\0"
                  |L1.2520|
0009d8  6e616c42          DCB      "Blan"
0009dc  6843206b          DCB      "k Ch"
0009e0  206b6365          DCB      "eck "
0009e4  6f727245          DCB      "Erro"
0009e8  21212172          DCB      "r!!!"
0009ec  0000000a          DCB      "\n\0\0\0"
                  |L1.2544|
0009f0  6174530a          DCB      "\nSta"
0009f4  6f207472          DCB      "rt o"
0009f8  68742066          DCB      "f th"
0009fc  61642065          DCB      "e da"
000a00  77206174          DCB      "ta w"
000a04  69746972          DCB      "riti"
000a08  2e2e676e          DCB      "ng.."
000a0c  00000a2e          DCB      ".\n\0\0"
                  |L1.2576|
000a10  5d78255b          DCB      "[%x]"
000a14  00000000          DCB      "\0\0\0\0"
                  |L1.2584|
000a18  646e450a          DCB      "\nEnd"
000a1c  20666f20          DCB      " of "
000a20  20656874          DCB      "the "
000a24  61746164          DCB      "data"
000a28  69727720          DCB      " wri"
000a2c  676e6974          DCB      "ting"
000a30  00000a20          DCB      " \n\0\0"
                  |L1.2612|
000a34  69726556          DCB      "Veri"
000a38  6e697966          DCB      "fyin"
000a3c  74532067          DCB      "g St"
000a40  2e747261          DCB      "art."
000a44  000a2e2e          DCB      "..\n\0"
                  |L1.2632|
000a48  69726576          DCB      "veri"
000a4c  65207966          DCB      "fy e"
000a50  726f7272          DCB      "rror"
000a54  72732020          DCB      "  sr"
000a58  30252063          DCB      "c %0"
000a5c  3d207838          DCB      "8x ="
000a60  34302520          DCB      " %04"
000a64  00000a78          DCB      "x\n\0\0"
                  |L1.2664|
000a68  69726576          DCB      "veri"
000a6c  65207966          DCB      "fy e"
000a70  726f7272          DCB      "rror"
000a74  65642020          DCB      "  de"
000a78  30252073          DCB      "s %0"
000a7c  3d207838          DCB      "8x ="
000a80  34302520          DCB      " %04"
000a84  00000a78          DCB      "x\n\0\0"
                  |L1.2696|
000a88  69726556          DCB      "Veri"
000a8c  6e697966          DCB      "fyin"
000a90  6e452067          DCB      "g En"
000a94  21212164          DCB      "d!!!"
000a98  00000000          DCB      "\0\0\0\0"
                          ENDP



                          AREA ||.constdata||, DATA, READONLY, ALIGN=2

                  ||.constdata$1||
                          DCB      0x0a,0x41,0x76,0x61
                          DCB      0x69,0x6c,0x61,0x62
                          DCB      0x6c,0x65,0x20,0x54
                          DCB      0x61,0x72,0x67,0x65
                          DCB      0x74,0x20,0x4f,0x66
                          DCB      0x66,0x73,0x65,0x74
                          DCB      0x20,0x41,0x64,0x64
                          DCB      0x72,0x65,0x73,0x73
                          DCB      0x3a,0x30,0x68,0x2c
                          DCB      0x31,0x30,0x30,0x30
                          DCB      0x30,0x68,0x2c,0x32
                          DCB      0x30,0x30,0x30,0x30
                          DCB      0x68,0x2c,0x20,0x2e
                          DCB      0x2e,0x2e,0x2c,0x20
                          DCB      0x66,0x66,0x30,0x30
                          DCB      0x30,0x30,0x68,0x0a
                          DCB      0x00
                          DCB      0x00,0x00,0x00


                          AREA ||.bss||, NOINIT, ALIGN=2

                  error_erase
                  ||.bss$2||
                          % 4
                  error_program
                          % 4
                  srcAddress
                          % 4
                  targetOffset
                          % 4
                  targetAddress
                          % 4
                  targetSize
                          % 4


        END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -