forked from SZV10X_Software/SZV103_FM33A0xxEV_SiZhu

jinlicong
2024-05-20 e61d1595ebb1fa76b499cddec2df4bd66ec92b97
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
 
 
 
ARM Macro Assembler    Page 1 
 
 
    1 00000000         ;/*
    2 00000000         ; * This file is part of the CmBacktrace Library.
    3 00000000         ; *
    4 00000000         ; * Copyright (c) 2016, Armink, <armink.ztl@gmail.com>
    5 00000000         ; *
    6 00000000         ; * Permission is hereby granted, free of charge, to any
                        person obtaining
    7 00000000         ; * a copy of this software and associated documentation
                        files (the
    8 00000000         ; * 'Software'), to deal in the Software without restric
                       tion, including
    9 00000000         ; * without limitation the rights to use, copy, modify, 
                       merge, publish,
   10 00000000         ; * distribute, sublicense, and/or sell copies of the So
                       ftware, and to
   11 00000000         ; * permit persons to whom the Software is furnished to 
                       do so, subject to
   12 00000000         ; * the following conditions:
   13 00000000         ; *
   14 00000000         ; * The above copyright notice and this permission notic
                       e shall be
   15 00000000         ; * included in all copies or substantial portions of th
                       e Software.
   16 00000000         ; *
   17 00000000         ; * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY O
                       F ANY KIND,
   18 00000000         ; * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
                        WARRANTIES OF
   19 00000000         ; * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AN
                       D NONINFRINGEMENT.
   20 00000000         ; * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS B
                       E LIABLE FOR ANY
   21 00000000         ; * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACT
                       ION OF CONTRACT,
   22 00000000         ; * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC
                       TION WITH THE
   23 00000000         ; * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWAR
                       E.
   24 00000000         ; *
   25 00000000         ; * Function: Fault handler by MDK-ARM assembly code
   26 00000000         ; * Created on: 2016-12-16
   27 00000000         ; */
   28 00000000         
   29 00000000                 AREA             |.text|, CODE, READONLY, ALIGN=
2
   30 00000000                 THUMB
   31 00000000                 REQUIRE8
   32 00000000                 PRESERVE8
   33 00000000         
   34 00000000         ; NOTE: If use this file's HardFault_Handler, please com
                       ments the HardFault_Handler code on other file.
   35 00000000                 IMPORT           cm_backtrace_fault
   36 00000000                 EXPORT           HardFault_Handler
   37 00000000         
   38 00000000         HardFault_Handler
                               PROC
   39 00000000 4670            MOV              r0, lr      ; get lr
   40 00000002 4669            MOV              r1, sp      ; get stack pointer
                                                             (current is MSP)
 
 
 
ARM Macro Assembler    Page 2 
 
 
   41 00000004 F7FF FFFE       BL               cm_backtrace_fault
   42 00000008         
   43 00000008         Fault_Loop
   44 00000008 F7FF FFFE       BL               Fault_Loop  ;while(1)
   45 0000000C                 ENDP
   46 0000000C         
   47 0000000C                 END
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M0 --apcs=interw
ork --depend=.\objects\cmb_fault.d -o.\objects\cmb_fault.o -I.\RTE\_SZV103_FM33
A0_MainSystem -I"D:\Program Files\MDK5\Packs\Keil\FM33A0XXEV_DFP\0.0.4\Device\I
nclude" --predefine="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SETA 538
" --predefine="_RTE_ SETA 1" --predefine="_RTE_ SETA 1" --list=.\listings\cmb_f
ault.lst ..\CmBackTrace\cmb_fault.S
 
 
 
ARM Macro Assembler    Page 1 Alphabetic symbol ordering
Relocatable symbols
 
.text 00000000
 
Symbol: .text
   Definitions
      At line 29 in file ..\CmBackTrace\cmb_fault.S
   Uses
      None
Comment: .text unused
Fault_Loop 00000008
 
Symbol: Fault_Loop
   Definitions
      At line 43 in file ..\CmBackTrace\cmb_fault.S
   Uses
      At line 44 in file ..\CmBackTrace\cmb_fault.S
Comment: Fault_Loop used once
HardFault_Handler 00000000
 
Symbol: HardFault_Handler
   Definitions
      At line 38 in file ..\CmBackTrace\cmb_fault.S
   Uses
      At line 36 in file ..\CmBackTrace\cmb_fault.S
Comment: HardFault_Handler used once
3 symbols
 
 
 
ARM Macro Assembler    Page 1 Alphabetic symbol ordering
External symbols
 
cm_backtrace_fault 00000000
 
Symbol: cm_backtrace_fault
   Definitions
      At line 35 in file ..\CmBackTrace\cmb_fault.S
   Uses
      At line 41 in file ..\CmBackTrace\cmb_fault.S
Comment: cm_backtrace_fault used once
1 symbol
337 symbols in table