Skip to content

Instantly share code, notes, and snippets.

@wolfmanjm
Created February 11, 2013 11:33
Show Gist options
  • Save wolfmanjm/4753983 to your computer and use it in GitHub Desktop.
Save wolfmanjm/4753983 to your computer and use it in GitHub Desktop.
#0 0x00000000 in ?? ()
#1 <signal handler called>
#2 0x00020c40 in std.isra.0 ()
#3 0x00020ce6 in __sinit ()
#4 0x00020d16 in __sfp ()
#5 0x00020dbe in _fopen_r ()
#6 0x0001d48e in mbed::Stream::Stream(char const*) ()
#7 0x0001478e in StreamOutput (this=0x10000bdc, u=0x10000a60) at ./src/libs/StreamOutput.h:16
#8 USBSerial::USBSerial (this=0x10000bdc, u=0x10000a60) at src/libs/USBDevice/USBSerial/USBSerial.cpp:32
#9 0x00004808 in __static_initialization_and_destruction_0 () at src/main.cpp:47
#10 _GLOBAL__sub_I_sd () at src/main.cpp:133
#11 0x000218dc in __libc_init_array ()
#12 0x0001bfe6 in _start () at gcc4mbed/src/gcc4mbed.c:42
#13 0x0001c068 in Reset_Handler ()
@wolfmanjm
Copy link
Author

r0 0x2 2
r1 0xc0000000 3221225472
r2 0x400fc000 1074774016
r3 0xaa 170
r4 0x1 1
r5 0x0 0
r6 0x425 1061
r7 0x47d 1149
r8 0x435 1077
r9 0x17bbef70 398192496
r10 0xca6e1565 3396212069
r11 0x197a33de 427439070
r12 0x400fc000 1074774016
sp 0x10001ffc 0x10001ffc
lr 0xffffffff 4294967295
pc 0x1c051 0x1c051 <Reset_Handler+1>
fps 0x0 0
cpsr 0x1000020 16777248

@wolfmanjm
Copy link
Author

reg
===== arm v7m registers
(0) r0 (/32): 0x00000002
(1) r1 (/32): 0xC0000000
(2) r2 (/32): 0x400FC000
(3) r3 (/32): 0x000000AA
(4) r4 (/32): 0x00000001
(5) r5 (/32): 0x00000000
(6) r6 (/32): 0x00000425
(7) r7 (/32): 0x0000047D
(8) r8 (/32): 0x00000435
(9) r9 (/32): 0x17BBEF74
(10) r10 (/32): 0xCA7E1765
(11) r11 (/32): 0x3B7A33DA
(12) r12 (/32): 0x400FC000
(13) sp (/32): 0x10001FFC
(14) lr (/32): 0xFFFFFFFF
(15) pc (/32): 0x1FFF0080
(16) xPSR (/32): 0x01000000
(17) msp (/32): 0x10001FFC
(18) psp (/32): 0x25F39B8C
(19) primask (/1): 0x00
(20) basepri (/8): 0x00
(21) faultmask (/1): 0x00
(22) control (/2): 0x00
===== cortex-m3 dwt registers
(23) dwt_ctrl (/32)
(24) dwt_cyccnt (/32)
(25) dwt_0_comp (/32)
(26) dwt_0_mask (/4)
(27) dwt_0_function (/32)
(28) dwt_1_comp (/32)
(29) dwt_1_mask (/4)
(30) dwt_1_function (/32)
(31) dwt_2_comp (/32)
(32) dwt_2_mask (/4)
(33) dwt_2_function (/32)
(34) dwt_3_comp (/32)
(35) dwt_3_mask (/4)
(36) dwt_3_function (/32)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment