|
|
|
@ -2937,3 +2937,324 @@ Note: automatically using hardware breakpoints for read-only addresses.
|
|
|
|
|
|
|
|
|
|
Breakpoint 1, main () at ../main.c:7
|
|
|
|
|
7 atmel_start_init();
|
|
|
|
|
[36m───[0m [1;33mAssembly[0m [36m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30m0x000007f6[0m [1;30mmain+10[0m ldr r3, [pc, #20] ; (0x80c <main+32>)
|
|
|
|
|
[1;30m0x000007f8[0m [1;30mmain+12[0m ldr r0, [pc, #20] ; (0x810 <main+36>)
|
|
|
|
|
[1;30m0x000007fa[0m [1;30mmain+14[0m blx r3
|
|
|
|
|
[1;30m0x000007fc[0m [1;30mmain+16[0m ldr r3, [pc, #20] ; (0x814 <main+40>)
|
|
|
|
|
[1;30m0x000007fe[0m [1;30mmain+18[0m blx r3
|
|
|
|
|
[1;32m0x00000800[0m[1;32m [0m[1;32m[0m[1;32mmain+20[0m[1;32m b.n 0x800 <main+20>[0m
|
|
|
|
|
[32m0x00000802[0m[32m [0m[32m[0m[32mmain+22[0m[32m nop[0m
|
|
|
|
|
[32m0x00000804[0m[32m [0m[32m[0m[32mmain+24[0m[32m lsrs r1, r0, #23[0m
|
|
|
|
|
[32m0x00000806[0m[32m [0m[32m[0m[32mmain+26[0m[32m movs r0, r0[0m
|
|
|
|
|
[32m0x00000808[0m[32m [0m[32m[0m[32mmain+28[0m[32m lsrs r1, r5, #24[0m
|
|
|
|
|
[36m───[0m [33mBreakpoints[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mExpressions[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mHistory[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mMemory[0m [36m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [1;33mRegisters[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30mr0[0m [1;32m0x00000000[0m [1;30mr1[0m [1;32m0x0000000a[0m [1;30mr2[0m [1;32m0x41008000[0m [1;30mr3[0m [1;32m0x10000000[0m [1;30mr4[0m [1;32m0x1ffffffd[0m [1;30mr5[0m [1;32m0x00000006[0m
|
|
|
|
|
[1;30mr6[0m [1;32m0x00000ef1[0m [1;30mr7[0m [1;32m0x00000ed9[0m [1;30mr8[0m [1;32m0x00000f09[0m [1;30mr9[0m [1;32m0x00000f91[0m [1;30mr10[0m [1;32m0x00000eb1[0m [1;30mr11[0m [1;32m0xaf9faffe[0m
|
|
|
|
|
[1;30mr12[0m [1;32m0x0000000a[0m [1;30msp[0m [1;32m0x200100d0[0m [1;30mlr[0m [1;32m0x00001163[0m [1;30mpc[0m [1;32m0x00000800[0m [1;30mxpsr[0m [1;32m0x61000000[0m [1;30mfpscr[0m [1;32m0x00000000[0m
|
|
|
|
|
[1;30mmsp[0m [1;32m0x200100d0[0m [1;30mpsp[0m [1;32m0xfff3df7c[0m [1;30mprimask[0m [1;32m0x00[0m [1;30mbasepri[0m [1;32m0x00[0m [1;30mfaultmask[0m [1;32m0x00[0m [1;30mcontrol[0m [1;32m0x00[0m
|
|
|
|
|
[36m───[0m [1;33mSource[0m [36m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30m 5[0m {
|
|
|
|
|
[1;30m 6[0m /* Initializes MCU, drivers and middleware */
|
|
|
|
|
[1;30m 7[0m atmel_start_init();
|
|
|
|
|
[1;30m 8[0m pdebug_init();
|
|
|
|
|
[1;30m 9[0m
|
|
|
|
|
[1;30m10[0m printf("Hi\n");
|
|
|
|
|
[1;30m11[0m
|
|
|
|
|
[1;30m12[0m sd_mmc_init();
|
|
|
|
|
[1;30m13[0m /* Replace with your application code */
|
|
|
|
|
[1;30m14[0m while (1) {
|
|
|
|
|
[1;32m15 }[0m
|
|
|
|
|
[1;30m16[0m }
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[36m───[0m [1;33mStack[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m0[0m] from [1;32m0x00000800[0m in [1;32mmain[0m+[1;32m20[0m at [1;32m../main.c[0m:[1;32m15[0m
|
|
|
|
|
[36m───[0m [1;33mThreads[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m1[0m] id [1;32m0[0m from [1;32m0x00000800[0m in [1;32mmain[0m+[1;32m20[0m at [1;32m../main.c[0m:[1;32m15[0m
|
|
|
|
|
[36m───[0m [33mVariables[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
main () at ../main.c:15
|
|
|
|
|
15 }
|
|
|
|
|
Breakpoint 1 at 0x7ec: file ../main.c, line 7.
|
|
|
|
|
Loading section .text, size 0x20b0 lma 0x0
|
|
|
|
|
Loading section .relocate, size 0x64 lma 0x20b0
|
|
|
|
|
Start address 0x0, load size 8468
|
|
|
|
|
Transfer rate: 45 KB/sec, 846 bytes/write.
|
|
|
|
|
[H[J[3J[36m───[0m [1;33mOutput/messages[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
Note: automatically using hardware breakpoints for read-only addresses.
|
|
|
|
|
[36m───[0m [1;33mAssembly[0m [36m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[0;41m![0m[1;32m0x000007ec[0m[1;32m [0m[1;32m[0m[1;32mmain+0[0m[1;32m push {r3, lr}[0m
|
|
|
|
|
[32m0x000007ee[0m[32m [0m[32m[0m[32mmain+2[0m[32m ldr r3, [pc, #20] ; (0x804 <main+24>)[0m
|
|
|
|
|
[32m0x000007f0[0m[32m [0m[32m[0m[32mmain+4[0m[32m blx r3[0m
|
|
|
|
|
[1;30m0x000007f2[0m [1;30mmain+6[0m ldr r3, [pc, #20] ; (0x808 <main+28>)
|
|
|
|
|
[1;30m0x000007f4[0m [1;30mmain+8[0m blx r3
|
|
|
|
|
[36m───[0m [1;33mBreakpoints[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m1[0m] [1;32mbreak[0m at [1;32m0x000007ec[0m in [1;32m../main.c[0m:[1;32m7[0m for [1;32mmain[0m hit [1;32m1[0m time
|
|
|
|
|
[36m───[0m [33mExpressions[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mHistory[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mMemory[0m [36m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [1;33mRegisters[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30mr0[0m [1;32m0x20000064[0m [1;30mr1[0m [1;32m0x00000000[0m [1;30mr2[0m [1;32m0x00f00000[0m [1;30mr3[0m [1;32m0x000007ed[0m [1;30mr4[0m [m0x1ffffffd[0m [1;30mr5[0m [m0x00000006[0m
|
|
|
|
|
[1;30mr6[0m [m0x00000ef1[0m [1;30mr7[0m [m0x00000ed9[0m [1;30mr8[0m [m0x00000f09[0m [1;30mr9[0m [m0x00000f91[0m [1;30mr10[0m [m0x00000eb1[0m [1;30mr11[0m [m0xaf9faffe[0m
|
|
|
|
|
[1;30mr12[0m [m0x0000000a[0m [1;30msp[0m [1;32m0x200100d8[0m [1;30mlr[0m [1;32m0x000007bd[0m [1;30mpc[0m [1;32m0x000007ec[0m [1;30mxpsr[0m [m0x61000000[0m [1;30mfpscr[0m [m0x00000000[0m
|
|
|
|
|
[1;30mmsp[0m [1;32m0x200100d8[0m [1;30mpsp[0m [m0xfff3df7c[0m [1;30mprimask[0m [m0x00[0m [1;30mbasepri[0m [m0x00[0m [1;30mfaultmask[0m [m0x00[0m [1;30mcontrol[0m [m0x00[0m
|
|
|
|
|
[36m───[0m [1;33mSource[0m [36m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m 1[0m #include <atmel_start.h>
|
|
|
|
|
[1;30m 2[0m #include "pdebug.h"
|
|
|
|
|
[1;30m 3[0m #include "sd_mmc.h"
|
|
|
|
|
[1;30m 4[0m int main(void)
|
|
|
|
|
[1;30m 5[0m {
|
|
|
|
|
[1;30m 6[0m /* Initializes MCU, drivers and middleware */
|
|
|
|
|
[0;41m![0m[1;32m 7 atmel_start_init();[0m
|
|
|
|
|
[1;30m 8[0m pdebug_init();
|
|
|
|
|
[1;30m 9[0m
|
|
|
|
|
[1;30m10[0m printf("Hi\n");
|
|
|
|
|
[1;30m11[0m
|
|
|
|
|
[1;30m12[0m sd_mmc_init();
|
|
|
|
|
[1;30m13[0m /* Replace with your application code */
|
|
|
|
|
[1;30m14[0m while (1) {
|
|
|
|
|
[1;30m15[0m }
|
|
|
|
|
[1;30m16[0m }
|
|
|
|
|
[36m───[0m [1;33mStack[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m0[0m] from [1;32m0x000007ec[0m in [1;32mmain[0m+[1;32m0[0m at [1;32m../main.c[0m:[1;32m7[0m
|
|
|
|
|
[36m───[0m [1;33mThreads[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m1[0m] id [1;32m-1[0m from [1;32m0x000007ec[0m in [1;32mmain[0m+[1;32m0[0m at [1;32m../main.c[0m:[1;32m7[0m
|
|
|
|
|
[36m───[0m [33mVariables[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
|
|
|
|
|
Breakpoint 1, main () at ../main.c:7
|
|
|
|
|
7 atmel_start_init();
|
|
|
|
|
[36m───[0m [1;33mAssembly[0m [36m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30m0x000007f6[0m [1;30mmain+10[0m ldr r3, [pc, #20] ; (0x80c <main+32>)
|
|
|
|
|
[1;30m0x000007f8[0m [1;30mmain+12[0m ldr r0, [pc, #20] ; (0x810 <main+36>)
|
|
|
|
|
[1;30m0x000007fa[0m [1;30mmain+14[0m blx r3
|
|
|
|
|
[1;30m0x000007fc[0m [1;30mmain+16[0m ldr r3, [pc, #20] ; (0x814 <main+40>)
|
|
|
|
|
[1;30m0x000007fe[0m [1;30mmain+18[0m blx r3
|
|
|
|
|
[1;32m0x00000800[0m[1;32m [0m[1;32m[0m[1;32mmain+20[0m[1;32m b.n 0x800 <main+20>[0m
|
|
|
|
|
[32m0x00000802[0m[32m [0m[32m[0m[32mmain+22[0m[32m nop[0m
|
|
|
|
|
[32m0x00000804[0m[32m [0m[32m[0m[32mmain+24[0m[32m lsrs r1, r0, #23[0m
|
|
|
|
|
[32m0x00000806[0m[32m [0m[32m[0m[32mmain+26[0m[32m movs r0, r0[0m
|
|
|
|
|
[32m0x00000808[0m[32m [0m[32m[0m[32mmain+28[0m[32m lsrs r1, r5, #24[0m
|
|
|
|
|
[36m───[0m [33mBreakpoints[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mExpressions[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mHistory[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mMemory[0m [36m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [1;33mRegisters[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30mr0[0m [1;32m0x00000006[0m [1;30mr1[0m [1;32m0x0000000a[0m [1;30mr2[0m [1;32m0x000000f1[0m [1;30mr3[0m [1;32m0x000005b1[0m [1;30mr4[0m [1;32m0x1ffffffd[0m [1;30mr5[0m [1;32m0x00000006[0m
|
|
|
|
|
[1;30mr6[0m [1;32m0x00000ef1[0m [1;30mr7[0m [1;32m0x00000ed9[0m [1;30mr8[0m [1;32m0x00000f09[0m [1;30mr9[0m [1;32m0x00000f91[0m [1;30mr10[0m [1;32m0x00000eb1[0m [1;30mr11[0m [1;32m0xaf9faffe[0m
|
|
|
|
|
[1;30mr12[0m [1;32m0x0000000a[0m [1;30msp[0m [1;32m0x200100d0[0m [1;30mlr[0m [1;32m0x00001225[0m [1;30mpc[0m [1;32m0x00000800[0m [1;30mxpsr[0m [1;32m0x21000000[0m [1;30mfpscr[0m [1;32m0x00000000[0m
|
|
|
|
|
[1;30mmsp[0m [1;32m0x200100d0[0m [1;30mpsp[0m [1;32m0xfff3df7c[0m [1;30mprimask[0m [1;32m0x00[0m [1;30mbasepri[0m [1;32m0x00[0m [1;30mfaultmask[0m [1;32m0x00[0m [1;30mcontrol[0m [1;32m0x00[0m
|
|
|
|
|
[36m───[0m [1;33mSource[0m [36m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30m 5[0m {
|
|
|
|
|
[1;30m 6[0m /* Initializes MCU, drivers and middleware */
|
|
|
|
|
[1;30m 7[0m atmel_start_init();
|
|
|
|
|
[1;30m 8[0m pdebug_init();
|
|
|
|
|
[1;30m 9[0m
|
|
|
|
|
[1;30m10[0m printf("Hi\n");
|
|
|
|
|
[1;30m11[0m
|
|
|
|
|
[1;30m12[0m sd_mmc_init();
|
|
|
|
|
[1;30m13[0m /* Replace with your application code */
|
|
|
|
|
[1;30m14[0m while (1) {
|
|
|
|
|
[1;32m15 }[0m
|
|
|
|
|
[1;30m16[0m }
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[36m───[0m [1;33mStack[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m0[0m] from [1;32m0x00000800[0m in [1;32mmain[0m+[1;32m20[0m at [1;32m../main.c[0m:[1;32m15[0m
|
|
|
|
|
[36m───[0m [1;33mThreads[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m1[0m] id [1;32m0[0m from [1;32m0x00000800[0m in [1;32mmain[0m+[1;32m20[0m at [1;32m../main.c[0m:[1;32m15[0m
|
|
|
|
|
[36m───[0m [33mVariables[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
main () at ../main.c:15
|
|
|
|
|
15 }
|
|
|
|
|
Breakpoint 1 at 0x7ec: file ../main.c, line 7.
|
|
|
|
|
Loading section .text, size 0x20b0 lma 0x0
|
|
|
|
|
Loading section .relocate, size 0x64 lma 0x20b0
|
|
|
|
|
Start address 0x0, load size 8468
|
|
|
|
|
Transfer rate: 45 KB/sec, 846 bytes/write.
|
|
|
|
|
[H[J[3J[36m───[0m [1;33mOutput/messages[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
Note: automatically using hardware breakpoints for read-only addresses.
|
|
|
|
|
[36m───[0m [1;33mAssembly[0m [36m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[0;41m![0m[1;32m0x000007ec[0m[1;32m [0m[1;32m[0m[1;32mmain+0[0m[1;32m push {r3, lr}[0m
|
|
|
|
|
[32m0x000007ee[0m[32m [0m[32m[0m[32mmain+2[0m[32m ldr r3, [pc, #20] ; (0x804 <main+24>)[0m
|
|
|
|
|
[32m0x000007f0[0m[32m [0m[32m[0m[32mmain+4[0m[32m blx r3[0m
|
|
|
|
|
[1;30m0x000007f2[0m [1;30mmain+6[0m ldr r3, [pc, #20] ; (0x808 <main+28>)
|
|
|
|
|
[1;30m0x000007f4[0m [1;30mmain+8[0m blx r3
|
|
|
|
|
[36m───[0m [1;33mBreakpoints[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m1[0m] [1;32mbreak[0m at [1;32m0x000007ec[0m in [1;32m../main.c[0m:[1;32m7[0m for [1;32mmain[0m hit [1;32m1[0m time
|
|
|
|
|
[36m───[0m [33mExpressions[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mHistory[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mMemory[0m [36m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [1;33mRegisters[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30mr0[0m [1;32m0x20000064[0m [1;30mr1[0m [1;32m0x00000000[0m [1;30mr2[0m [1;32m0x00f00000[0m [1;30mr3[0m [1;32m0x000007ed[0m [1;30mr4[0m [m0x1ffffffd[0m [1;30mr5[0m [m0x00000006[0m
|
|
|
|
|
[1;30mr6[0m [m0x00000ef1[0m [1;30mr7[0m [m0x00000ed9[0m [1;30mr8[0m [m0x00000f09[0m [1;30mr9[0m [m0x00000f91[0m [1;30mr10[0m [m0x00000eb1[0m [1;30mr11[0m [m0xaf9faffe[0m
|
|
|
|
|
[1;30mr12[0m [m0x0000000a[0m [1;30msp[0m [1;32m0x200100d8[0m [1;30mlr[0m [1;32m0x000007bd[0m [1;30mpc[0m [1;32m0x000007ec[0m [1;30mxpsr[0m [1;32m0x61000000[0m [1;30mfpscr[0m [m0x00000000[0m
|
|
|
|
|
[1;30mmsp[0m [1;32m0x200100d8[0m [1;30mpsp[0m [m0xfff3df7c[0m [1;30mprimask[0m [m0x00[0m [1;30mbasepri[0m [m0x00[0m [1;30mfaultmask[0m [m0x00[0m [1;30mcontrol[0m [m0x00[0m
|
|
|
|
|
[36m───[0m [1;33mSource[0m [36m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m 1[0m #include <atmel_start.h>
|
|
|
|
|
[1;30m 2[0m #include "pdebug.h"
|
|
|
|
|
[1;30m 3[0m #include "sd_mmc.h"
|
|
|
|
|
[1;30m 4[0m int main(void)
|
|
|
|
|
[1;30m 5[0m {
|
|
|
|
|
[1;30m 6[0m /* Initializes MCU, drivers and middleware */
|
|
|
|
|
[0;41m![0m[1;32m 7 atmel_start_init();[0m
|
|
|
|
|
[1;30m 8[0m pdebug_init();
|
|
|
|
|
[1;30m 9[0m
|
|
|
|
|
[1;30m10[0m printf("Hi\n");
|
|
|
|
|
[1;30m11[0m
|
|
|
|
|
[1;30m12[0m sd_mmc_init();
|
|
|
|
|
[1;30m13[0m /* Replace with your application code */
|
|
|
|
|
[1;30m14[0m while (1) {
|
|
|
|
|
[1;30m15[0m }
|
|
|
|
|
[1;30m16[0m }
|
|
|
|
|
[36m───[0m [1;33mStack[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m0[0m] from [1;32m0x000007ec[0m in [1;32mmain[0m+[1;32m0[0m at [1;32m../main.c[0m:[1;32m7[0m
|
|
|
|
|
[36m───[0m [1;33mThreads[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m1[0m] id [1;32m-1[0m from [1;32m0x000007ec[0m in [1;32mmain[0m+[1;32m0[0m at [1;32m../main.c[0m:[1;32m7[0m
|
|
|
|
|
[36m───[0m [33mVariables[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
|
|
|
|
|
Breakpoint 1, main () at ../main.c:7
|
|
|
|
|
7 atmel_start_init();
|
|
|
|
|
[36m───[0m [1;33mAssembly[0m [36m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30m0x000007f6[0m [1;30mmain+10[0m ldr r3, [pc, #20] ; (0x80c <main+32>)
|
|
|
|
|
[1;30m0x000007f8[0m [1;30mmain+12[0m ldr r0, [pc, #20] ; (0x810 <main+36>)
|
|
|
|
|
[1;30m0x000007fa[0m [1;30mmain+14[0m blx r3
|
|
|
|
|
[1;30m0x000007fc[0m [1;30mmain+16[0m ldr r3, [pc, #20] ; (0x814 <main+40>)
|
|
|
|
|
[1;30m0x000007fe[0m [1;30mmain+18[0m blx r3
|
|
|
|
|
[1;32m0x00000800[0m[1;32m [0m[1;32m[0m[1;32mmain+20[0m[1;32m b.n 0x800 <main+20>[0m
|
|
|
|
|
[32m0x00000802[0m[32m [0m[32m[0m[32mmain+22[0m[32m nop[0m
|
|
|
|
|
[32m0x00000804[0m[32m [0m[32m[0m[32mmain+24[0m[32m lsrs r1, r0, #23[0m
|
|
|
|
|
[32m0x00000806[0m[32m [0m[32m[0m[32mmain+26[0m[32m movs r0, r0[0m
|
|
|
|
|
[32m0x00000808[0m[32m [0m[32m[0m[32mmain+28[0m[32m lsrs r1, r5, #24[0m
|
|
|
|
|
[36m───[0m [33mBreakpoints[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mExpressions[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mHistory[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mMemory[0m [36m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [1;33mRegisters[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30mr0[0m [1;32m0x00000006[0m [1;30mr1[0m [1;32m0x0000000a[0m [1;30mr2[0m [1;32m0x000000f1[0m [1;30mr3[0m [1;32m0x000005b1[0m [1;30mr4[0m [1;32m0x1ffffffd[0m [1;30mr5[0m [1;32m0x00000f95[0m
|
|
|
|
|
[1;30mr6[0m [1;32m0x00000fc1[0m [1;30mr7[0m [1;32m0x00000fed[0m [1;30mr8[0m [1;32m0x00000eb1[0m [1;30mr9[0m [1;32m0x00000f91[0m [1;30mr10[0m [1;32m0x00000eb1[0m [1;30mr11[0m [1;32m0xaf9faffe[0m
|
|
|
|
|
[1;30mr12[0m [1;32m0x0000000a[0m [1;30msp[0m [1;32m0x200100d0[0m [1;30mlr[0m [1;32m0x00001225[0m [1;30mpc[0m [1;32m0x00000800[0m [1;30mxpsr[0m [1;32m0x21000000[0m [1;30mfpscr[0m [1;32m0x00000000[0m
|
|
|
|
|
[1;30mmsp[0m [1;32m0x200100d0[0m [1;30mpsp[0m [1;32m0xfff3df7c[0m [1;30mprimask[0m [1;32m0x00[0m [1;30mbasepri[0m [1;32m0x00[0m [1;30mfaultmask[0m [1;32m0x00[0m [1;30mcontrol[0m [1;32m0x00[0m
|
|
|
|
|
[36m───[0m [1;33mSource[0m [36m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30m 5[0m {
|
|
|
|
|
[1;30m 6[0m /* Initializes MCU, drivers and middleware */
|
|
|
|
|
[1;30m 7[0m atmel_start_init();
|
|
|
|
|
[1;30m 8[0m pdebug_init();
|
|
|
|
|
[1;30m 9[0m
|
|
|
|
|
[1;30m10[0m printf("Hi\n");
|
|
|
|
|
[1;30m11[0m
|
|
|
|
|
[1;30m12[0m sd_mmc_init();
|
|
|
|
|
[1;30m13[0m /* Replace with your application code */
|
|
|
|
|
[1;30m14[0m while (1) {
|
|
|
|
|
[1;32m15 }[0m
|
|
|
|
|
[1;30m16[0m }
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[36m───[0m [1;33mStack[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m0[0m] from [1;32m0x00000800[0m in [1;32mmain[0m+[1;32m20[0m at [1;32m../main.c[0m:[1;32m15[0m
|
|
|
|
|
[36m───[0m [1;33mThreads[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m1[0m] id [1;32m0[0m from [1;32m0x00000800[0m in [1;32mmain[0m+[1;32m20[0m at [1;32m../main.c[0m:[1;32m15[0m
|
|
|
|
|
[36m───[0m [33mVariables[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
main () at ../main.c:15
|
|
|
|
|
15 }
|
|
|
|
|
Breakpoint 1 at 0x7ec: file ../main.c, line 7.
|
|
|
|
|
Loading section .text, size 0x2130 lma 0x0
|
|
|
|
|
Loading section .relocate, size 0x64 lma 0x2130
|
|
|
|
|
Start address 0x0, load size 8596
|
|
|
|
|
Transfer rate: 46 KB/sec, 859 bytes/write.
|
|
|
|
|
[H[J[3J[36m───[0m [1;33mOutput/messages[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
Note: automatically using hardware breakpoints for read-only addresses.
|
|
|
|
|
[36m───[0m [1;33mAssembly[0m [36m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[0;41m![0m[1;32m0x000007ec[0m[1;32m [0m[1;32m[0m[1;32mmain+0[0m[1;32m push {r3, lr}[0m
|
|
|
|
|
[32m0x000007ee[0m[32m [0m[32m[0m[32mmain+2[0m[32m ldr r3, [pc, #20] ; (0x804 <main+24>)[0m
|
|
|
|
|
[32m0x000007f0[0m[32m [0m[32m[0m[32mmain+4[0m[32m blx r3[0m
|
|
|
|
|
[1;30m0x000007f2[0m [1;30mmain+6[0m ldr r3, [pc, #20] ; (0x808 <main+28>)
|
|
|
|
|
[1;30m0x000007f4[0m [1;30mmain+8[0m blx r3
|
|
|
|
|
[36m───[0m [1;33mBreakpoints[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m1[0m] [1;32mbreak[0m at [1;32m0x000007ec[0m in [1;32m../main.c[0m:[1;32m7[0m for [1;32mmain[0m hit [1;32m1[0m time
|
|
|
|
|
[36m───[0m [33mExpressions[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mHistory[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [33mMemory[0m [36m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m───[0m [1;33mRegisters[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30mr0[0m [1;32m0x20000064[0m [1;30mr1[0m [1;32m0x00000000[0m [1;30mr2[0m [1;32m0x00f00000[0m [1;30mr3[0m [1;32m0x000007ed[0m [1;30mr4[0m [m0x1ffffffd[0m [1;30mr5[0m [m0x00000f95[0m
|
|
|
|
|
[1;30mr6[0m [m0x00000fc1[0m [1;30mr7[0m [m0x00000fed[0m [1;30mr8[0m [m0x00000eb1[0m [1;30mr9[0m [m0x00000f91[0m [1;30mr10[0m [m0x00000eb1[0m [1;30mr11[0m [m0xaf9faffe[0m
|
|
|
|
|
[1;30mr12[0m [m0x0000000a[0m [1;30msp[0m [1;32m0x200100d8[0m [1;30mlr[0m [1;32m0x000007bd[0m [1;30mpc[0m [1;32m0x000007ec[0m [1;30mxpsr[0m [1;32m0x61000000[0m [1;30mfpscr[0m [m0x00000000[0m
|
|
|
|
|
[1;30mmsp[0m [1;32m0x200100d8[0m [1;30mpsp[0m [m0xfff3df7c[0m [1;30mprimask[0m [m0x00[0m [1;30mbasepri[0m [m0x00[0m [1;30mfaultmask[0m [m0x00[0m [1;30mcontrol[0m [m0x00[0m
|
|
|
|
|
[36m───[0m [1;33mSource[0m [36m──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m~[0m
|
|
|
|
|
[1;30m 1[0m #include <atmel_start.h>
|
|
|
|
|
[1;30m 2[0m #include "pdebug.h"
|
|
|
|
|
[1;30m 3[0m #include "sd_mmc.h"
|
|
|
|
|
[1;30m 4[0m int main(void)
|
|
|
|
|
[1;30m 5[0m {
|
|
|
|
|
[1;30m 6[0m /* Initializes MCU, drivers and middleware */
|
|
|
|
|
[0;41m![0m[1;32m 7 atmel_start_init();[0m
|
|
|
|
|
[1;30m 8[0m pdebug_init();
|
|
|
|
|
[1;30m 9[0m
|
|
|
|
|
[1;30m10[0m printf("Hi\n");
|
|
|
|
|
[1;30m11[0m
|
|
|
|
|
[1;30m12[0m sd_mmc_init();
|
|
|
|
|
[1;30m13[0m /* Replace with your application code */
|
|
|
|
|
[1;30m14[0m while (1) {
|
|
|
|
|
[1;30m15[0m }
|
|
|
|
|
[1;30m16[0m }
|
|
|
|
|
[36m───[0m [1;33mStack[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m0[0m] from [1;32m0x000007ec[0m in [1;32mmain[0m+[1;32m0[0m at [1;32m../main.c[0m:[1;32m7[0m
|
|
|
|
|
[36m───[0m [1;33mThreads[0m [36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[[1;32m1[0m] id [1;32m-1[0m from [1;32m0x000007ec[0m in [1;32mmain[0m+[1;32m0[0m at [1;32m../main.c[0m:[1;32m7[0m
|
|
|
|
|
[36m───[0m [33mVariables[0m [36m───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
[36m─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m
|
|
|
|
|
|
|
|
|
|
Breakpoint 1, main () at ../main.c:7
|
|
|
|
|
7 atmel_start_init();
|
|
|
|
|