Revision 7
Added by Mark Anderson about 9 years ago
PSoC/PSoC 4 BLE Workshop/Labs/Completed Labs/BLE Lab 1_1/BLE Lab 1_1.cydsn/CortexM0/ARM_GCC_484/Debug/BLE_HAL_INT.lst | ||
---|---|---|
ARM GAS C:\Users\pmad\AppData\Local\Temp\ccVxP97S.s page 1
|
||
|
||
|
||
1 .cpu cortex-m0
|
||
2 .fpu softvfp
|
||
3 .eabi_attribute 20, 1
|
||
4 .eabi_attribute 21, 1
|
||
5 .eabi_attribute 23, 3
|
||
6 .eabi_attribute 24, 1
|
||
7 .eabi_attribute 25, 1
|
||
8 .eabi_attribute 26, 1
|
||
9 .eabi_attribute 30, 6
|
||
10 .eabi_attribute 34, 0
|
||
11 .eabi_attribute 18, 4
|
||
12 .code 16
|
||
13 .file "BLE_HAL_INT.c"
|
||
14 .text
|
||
15 .Ltext0:
|
||
16 .cfi_sections .debug_frame
|
||
17 .section .text.CyBLE_Bless_Interrupt,"ax",%progbits
|
||
18 .align 2
|
||
19 .global CyBLE_Bless_Interrupt
|
||
20 .code 16
|
||
21 .thumb_func
|
||
22 .type CyBLE_Bless_Interrupt, %function
|
||
23 CyBLE_Bless_Interrupt:
|
||
24 .LFB2:
|
||
25 .file 1 ".\\Generated_Source\\PSoC4\\BLE_HAL_INT.c"
|
||
1:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** /*******************************************************************************
|
||
2:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * File Name: BLE_HAL_INT.c
|
||
3:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * Version 2.0
|
||
4:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** *
|
||
5:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * Description:
|
||
6:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * This file contains the source code for the Interrupt Service Routine for the
|
||
7:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * HAL section of the BLE component
|
||
8:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** *
|
||
9:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** ********************************************************************************
|
||
10:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * Copyright 2014-2015, Cypress Semiconductor Corporation. All rights reserved.
|
||
11:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * You may use this file only in accordance with the license, terms, conditions,
|
||
12:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * disclaimers, and limitations in the end user license agreement accompanying
|
||
13:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * the software package with which this file was provided.
|
||
14:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** *******************************************************************************/
|
||
15:.\Generated_Source\PSoC4/BLE_HAL_INT.c ****
|
||
16:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** #include "BLE_HAL_PVT.h"
|
||
17:.\Generated_Source\PSoC4/BLE_HAL_INT.c ****
|
||
18:.\Generated_Source\PSoC4/BLE_HAL_INT.c ****
|
||
19:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** /*******************************************************************************
|
||
20:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * Function Name: CyBLE_Bless_Interrupt
|
||
21:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** ********************************************************************************
|
||
22:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** *
|
||
23:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * Summary:
|
||
24:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * Handles the Interrupt Service Routine for the BLE sub-system.
|
||
25:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** *
|
||
26:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * Parameters:
|
||
27:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * None
|
||
28:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** *
|
||
29:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * Return:
|
||
30:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** * None
|
||
31:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** *
|
||
32:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** *******************************************************************************/
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\ccVxP97S.s page 2
|
||
|
||
|
||
33:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** CY_ISR(CyBLE_Bless_Interrupt)
|
||
34:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** {
|
||
26 .loc 1 34 0
|
||
27 .cfi_startproc
|
||
28 0000 80B5 push {r7, lr}
|
||
29 .cfi_def_cfa_offset 8
|
||
30 .cfi_offset 7, -8
|
||
31 .cfi_offset 14, -4
|
||
32 0002 00AF add r7, sp, #0
|
||
33 .cfi_def_cfa_register 7
|
||
35:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** #if(CYBLE_STACK_MODE_DEBUG)
|
||
36:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** CyBle_ApplCallback(CYBLE_DEBUG_EVT_BLESS_INT, NULL);
|
||
37:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** #endif /* CYBLE_STACK_MODE_DEBUG */
|
||
38:.\Generated_Source\PSoC4/BLE_HAL_INT.c ****
|
||
39:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** /* Call stack manager bless function handler */
|
||
40:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** CyBLE_pf_bless_event_hdlr();
|
||
34 .loc 1 40 0
|
||
35 0004 FFF7FEFF bl CyBle_BleSSInterruptHandler
|
||
41:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** /* Host stack takes care of clearing interrupts */
|
||
42:.\Generated_Source\PSoC4/BLE_HAL_INT.c **** }
|
||
36 .loc 1 42 0
|
||
37 0008 BD46 mov sp, r7
|
||
38 @ sp needed
|
||
39 000a 80BD pop {r7, pc}
|
||
40 .cfi_endproc
|
||
41 .LFE2:
|
||
42 .size CyBLE_Bless_Interrupt, .-CyBLE_Bless_Interrupt
|
||
43 .text
|
||
44 .Letext0:
|
||
45 .section .debug_info,"",%progbits
|
||
46 .Ldebug_info0:
|
||
47 0000 95000000 .4byte 0x95
|
||
48 0004 0400 .2byte 0x4
|
||
49 0006 00000000 .4byte .Ldebug_abbrev0
|
||
50 000a 04 .byte 0x4
|
||
51 000b 01 .uleb128 0x1
|
||
52 000c C0000000 .4byte .LASF13
|
||
53 0010 01 .byte 0x1
|
||
54 0011 70000000 .4byte .LASF14
|
||
55 0015 1B000000 .4byte .LASF15
|
||
56 0019 00000000 .4byte .Ldebug_ranges0+0
|
||
57 001d 00000000 .4byte 0
|
||
58 0021 00000000 .4byte .Ldebug_line0
|
||
59 0025 02 .uleb128 0x2
|
||
60 0026 01 .byte 0x1
|
||
61 0027 06 .byte 0x6
|
||
62 0028 88010000 .4byte .LASF0
|
||
63 002c 02 .uleb128 0x2
|
||
64 002d 01 .byte 0x1
|
||
65 002e 08 .byte 0x8
|
||
66 002f 3C010000 .4byte .LASF1
|
||
67 0033 02 .uleb128 0x2
|
||
68 0034 02 .byte 0x2
|
||
69 0035 05 .byte 0x5
|
||
70 0036 9A010000 .4byte .LASF2
|
||
71 003a 02 .uleb128 0x2
|
||
72 003b 02 .byte 0x2
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\ccVxP97S.s page 3
|
||
|
||
|
||
73 003c 07 .byte 0x7
|
||
74 003d 75010000 .4byte .LASF3
|
||
75 0041 02 .uleb128 0x2
|
||
76 0042 04 .byte 0x4
|
||
77 0043 05 .byte 0x5
|
||
78 0044 4F010000 .4byte .LASF4
|
||
79 0048 02 .uleb128 0x2
|
||
80 0049 04 .byte 0x4
|
||
81 004a 07 .byte 0x7
|
||
82 004b 97000000 .4byte .LASF5
|
||
83 004f 02 .uleb128 0x2
|
||
84 0050 08 .byte 0x8
|
||
85 0051 05 .byte 0x5
|
||
86 0052 00000000 .4byte .LASF6
|
||
87 0056 02 .uleb128 0x2
|
||
88 0057 08 .byte 0x8
|
||
89 0058 07 .byte 0x7
|
||
90 0059 A9000000 .4byte .LASF7
|
||
91 005d 03 .uleb128 0x3
|
||
92 005e 04 .byte 0x4
|
||
93 005f 05 .byte 0x5
|
||
94 0060 696E7400 .ascii "int\000"
|
||
95 0064 02 .uleb128 0x2
|
||
96 0065 04 .byte 0x4
|
||
97 0066 07 .byte 0x7
|
||
98 0067 0E000000 .4byte .LASF8
|
||
99 006b 02 .uleb128 0x2
|
||
100 006c 04 .byte 0x4
|
||
101 006d 04 .byte 0x4
|
||
102 006e 94010000 .4byte .LASF9
|
||
103 0072 02 .uleb128 0x2
|
||
104 0073 08 .byte 0x8
|
||
105 0074 04 .byte 0x4
|
||
106 0075 6E010000 .4byte .LASF10
|
||
107 0079 02 .uleb128 0x2
|
||
108 007a 01 .byte 0x1
|
||
109 007b 08 .byte 0x8
|
||
110 007c 4A010000 .4byte .LASF11
|
||
111 0080 02 .uleb128 0x2
|
||
112 0081 04 .byte 0x4
|
||
113 0082 07 .byte 0x7
|
||
114 0083 A4010000 .4byte .LASF12
|
||
115 0087 04 .uleb128 0x4
|
||
116 0088 58010000 .4byte .LASF16
|
||
117 008c 01 .byte 0x1
|
||
118 008d 21 .byte 0x21
|
||
119 008e 00000000 .4byte .LFB2
|
||
120 0092 0C000000 .4byte .LFE2-.LFB2
|
||
121 0096 01 .uleb128 0x1
|
||
122 0097 9C .byte 0x9c
|
||
123 0098 00 .byte 0
|
||
124 .section .debug_abbrev,"",%progbits
|
||
125 .Ldebug_abbrev0:
|
||
126 0000 01 .uleb128 0x1
|
||
127 0001 11 .uleb128 0x11
|
||
128 0002 01 .byte 0x1
|
||
129 0003 25 .uleb128 0x25
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\ccVxP97S.s page 4
|
||
|
||
|
||
130 0004 0E .uleb128 0xe
|
||
131 0005 13 .uleb128 0x13
|
||
132 0006 0B .uleb128 0xb
|
||
133 0007 03 .uleb128 0x3
|
||
134 0008 0E .uleb128 0xe
|
||
135 0009 1B .uleb128 0x1b
|
||
136 000a 0E .uleb128 0xe
|
||
137 000b 55 .uleb128 0x55
|
||
138 000c 17 .uleb128 0x17
|
||
139 000d 11 .uleb128 0x11
|
||
140 000e 01 .uleb128 0x1
|
||
141 000f 10 .uleb128 0x10
|
||
142 0010 17 .uleb128 0x17
|
||
143 0011 00 .byte 0
|
||
144 0012 00 .byte 0
|
||
145 0013 02 .uleb128 0x2
|
||
146 0014 24 .uleb128 0x24
|
||
147 0015 00 .byte 0
|
||
148 0016 0B .uleb128 0xb
|
||
149 0017 0B .uleb128 0xb
|
||
150 0018 3E .uleb128 0x3e
|
||
151 0019 0B .uleb128 0xb
|
||
152 001a 03 .uleb128 0x3
|
||
153 001b 0E .uleb128 0xe
|
||
154 001c 00 .byte 0
|
||
155 001d 00 .byte 0
|
||
156 001e 03 .uleb128 0x3
|
||
157 001f 24 .uleb128 0x24
|
||
158 0020 00 .byte 0
|
||
159 0021 0B .uleb128 0xb
|
||
160 0022 0B .uleb128 0xb
|
||
161 0023 3E .uleb128 0x3e
|
||
162 0024 0B .uleb128 0xb
|
||
163 0025 03 .uleb128 0x3
|
||
164 0026 08 .uleb128 0x8
|
||
165 0027 00 .byte 0
|
||
166 0028 00 .byte 0
|
||
167 0029 04 .uleb128 0x4
|
||
168 002a 2E .uleb128 0x2e
|
||
169 002b 00 .byte 0
|
||
170 002c 3F .uleb128 0x3f
|
||
171 002d 19 .uleb128 0x19
|
||
172 002e 03 .uleb128 0x3
|
||
173 002f 0E .uleb128 0xe
|
||
174 0030 3A .uleb128 0x3a
|
||
175 0031 0B .uleb128 0xb
|
||
176 0032 3B .uleb128 0x3b
|
||
177 0033 0B .uleb128 0xb
|
||
178 0034 27 .uleb128 0x27
|
||
179 0035 19 .uleb128 0x19
|
||
180 0036 11 .uleb128 0x11
|
||
181 0037 01 .uleb128 0x1
|
||
182 0038 12 .uleb128 0x12
|
||
183 0039 06 .uleb128 0x6
|
||
184 003a 40 .uleb128 0x40
|
||
185 003b 18 .uleb128 0x18
|
||
186 003c 9642 .uleb128 0x2116
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\ccVxP97S.s page 5
|
||
|
||
|
||
187 003e 19 .uleb128 0x19
|
||
188 003f 00 .byte 0
|
||
189 0040 00 .byte 0
|
||
190 0041 00 .byte 0
|
||
191 .section .debug_aranges,"",%progbits
|
||
192 0000 1C000000 .4byte 0x1c
|
||
193 0004 0200 .2byte 0x2
|
||
194 0006 00000000 .4byte .Ldebug_info0
|
||
195 000a 04 .byte 0x4
|
||
196 000b 00 .byte 0
|
||
197 000c 0000 .2byte 0
|
||
198 000e 0000 .2byte 0
|
||
199 0010 00000000 .4byte .LFB2
|
||
200 0014 0C000000 .4byte .LFE2-.LFB2
|
||
201 0018 00000000 .4byte 0
|
||
202 001c 00000000 .4byte 0
|
||
203 .section .debug_ranges,"",%progbits
|
||
204 .Ldebug_ranges0:
|
||
205 0000 00000000 .4byte .LFB2
|
||
206 0004 0C000000 .4byte .LFE2
|
||
207 0008 00000000 .4byte 0
|
||
208 000c 00000000 .4byte 0
|
||
209 .section .debug_line,"",%progbits
|
||
210 .Ldebug_line0:
|
||
211 0000 54000000 .section .debug_str,"MS",%progbits,1
|
||
211 02003D00
|
||
211 00000201
|
||
211 FB0E0D00
|
||
211 01010101
|
||
212 .LASF6:
|
||
213 0000 6C6F6E67 .ascii "long long int\000"
|
||
213 206C6F6E
|
||
213 6720696E
|
||
213 7400
|
||
214 .LASF8:
|
||
215 000e 756E7369 .ascii "unsigned int\000"
|
||
215 676E6564
|
||
215 20696E74
|
||
215 00
|
||
216 .LASF15:
|
||
217 001b 433A5C55 .ascii "C:\\Users\\pmad\\Desktop\\BLE Workshop\\Labs\\Compl"
|
||
217 73657273
|
||
217 5C706D61
|
||
217 645C4465
|
||
217 736B746F
|
||
218 0048 65746564 .ascii "eted Labs\\BLE Lab 1_1\\BLE Lab 1_1.cydsn\000"
|
||
218 204C6162
|
||
218 735C424C
|
||
218 45204C61
|
||
218 6220315F
|
||
219 .LASF14:
|
||
220 0070 2E5C4765 .ascii ".\\Generated_Source\\PSoC4\\BLE_HAL_INT.c\000"
|
||
220 6E657261
|
||
220 7465645F
|
||
220 536F7572
|
||
220 63655C50
|
||
221 .LASF5:
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\ccVxP97S.s page 6
|
||
|
||
|
||
222 0097 6C6F6E67 .ascii "long unsigned int\000"
|
||
222 20756E73
|
||
222 69676E65
|
||
222 6420696E
|
||
222 7400
|
||
223 .LASF7:
|
||
224 00a9 6C6F6E67 .ascii "long long unsigned int\000"
|
||
224 206C6F6E
|
||
224 6720756E
|
||
224 7369676E
|
||
224 65642069
|
||
225 .LASF13:
|
||
226 00c0 474E5520 .ascii "GNU C 4.8.4 20140526 (release) [ARM/embedded-4_8-br"
|
||
226 4320342E
|
||
226 382E3420
|
||
226 32303134
|
||
226 30353236
|
||
227 00f3 616E6368 .ascii "anch revision 211358] -mcpu=cortex-m0 -mthumb -g -O"
|
||
227 20726576
|
||
227 6973696F
|
||
227 6E203231
|
||
227 31333538
|
||
228 0126 30202D66 .ascii "0 -ffunction-sections\000"
|
||
228 66756E63
|
||
228 74696F6E
|
||
228 2D736563
|
||
228 74696F6E
|
||
229 .LASF1:
|
||
230 013c 756E7369 .ascii "unsigned char\000"
|
||
230 676E6564
|
||
230 20636861
|
||
230 7200
|
||
231 .LASF11:
|
||
232 014a 63686172 .ascii "char\000"
|
||
232 00
|
||
233 .LASF4:
|
||
234 014f 6C6F6E67 .ascii "long int\000"
|
||
234 20696E74
|
||
234 00
|
||
235 .LASF16:
|
||
236 0158 4379424C .ascii "CyBLE_Bless_Interrupt\000"
|
||
236 455F426C
|
||
236 6573735F
|
||
236 496E7465
|
||
236 72727570
|
||
237 .LASF10:
|
||
238 016e 646F7562 .ascii "double\000"
|
||
238 6C6500
|
||
239 .LASF3:
|
||
240 0175 73686F72 .ascii "short unsigned int\000"
|
||
240 7420756E
|
||
240 7369676E
|
||
240 65642069
|
||
240 6E7400
|
||
241 .LASF0:
|
||
242 0188 7369676E .ascii "signed char\000"
|
||
242 65642063
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\ccVxP97S.s page 7
|
||
|
||
|
||
242 68617200
|
||
243 .LASF9:
|
||
244 0194 666C6F61 .ascii "float\000"
|
||
244 7400
|
||
245 .LASF2:
|
||
246 019a 73686F72 .ascii "short int\000"
|
||
246 7420696E
|
||
246 7400
|
||
247 .LASF12:
|
||
248 01a4 73697A65 .ascii "sizetype\000"
|
||
248 74797065
|
||
248 00
|
||
249 .ident "GCC: (GNU Tools for ARM Embedded Processors) 4.8.4 20140526 (release) [ARM/embedded-4_8-br
|
PSoC/PSoC 4 BLE Workshop/Labs/Completed Labs/BLE Lab 1_1/BLE Lab 1_1.cydsn/CortexM0/ARM_GCC_484/Debug/BUILD.log | ||
---|---|---|
--------------- Build Started: 05/29/2015 00:00:13 Project: BLE Lab 1_1, Configuration: ARM GCC 4.8.4 Debug ---------------
|
||
cydsfit.exe -.appdatapath "C:\Users\pmad\AppData\Local\Cypress Semiconductor\PSoC Creator\3.2" -.fdsnotice -.fdswarpdepfile=warp_dependencies.txt -.fdselabdepfile=elab_dependencies.txt -.fdsbldfile=generated_files.txt -p "C:\Users\pmad\Desktop\BLE Workshop\Labs\Completed Labs\BLE Lab 1_1\BLE Lab 1_1.cydsn\BLE Lab 1_1.cyprj" -d CY8C4247LQI-BL483 -s "C:\Users\pmad\Desktop\BLE Workshop\Labs\Completed Labs\BLE Lab 1_1\BLE Lab 1_1.cydsn\Generated_Source\PSoC4" -- -yv2 -q10 -ygs -o2 -v3 -.fftcfgtype=LE
|
||
Elaborating Design...
|
||
HDL Generation ...
|
||
Synthesis ...
|
||
Place and Route ...
|
||
Tech mapping ...
|
||
Analog Placement ...
|
||
Analog Routing ...
|
||
Analog Code Generation ...
|
||
Digital Placement ...
|
||
Digital Routing ...
|
||
Bitstream Generation ...
|
||
Static timing analysis ...
|
||
API Generation ...
|
||
Dependency Generation ...
|
||
Clean Temporary Files ...
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/main.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\main.c -o .\CortexM0\ARM_GCC_484\Debug\main.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/cyfitter_cfg.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\cyfitter_cfg.c -o .\CortexM0\ARM_GCC_484\Debug\cyfitter_cfg.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/cymetadata.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\cymetadata.c -o .\CortexM0\ARM_GCC_484\Debug\cymetadata.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/PWM.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\PWM.c -o .\CortexM0\ARM_GCC_484\Debug\PWM.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/PWM_PM.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\PWM_PM.c -o .\CortexM0\ARM_GCC_484\Debug\PWM_PM.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/Red_LED.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\Red_LED.c -o .\CortexM0\ARM_GCC_484\Debug\Red_LED.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/Clock_1.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\Clock_1.c -o .\CortexM0\ARM_GCC_484\Debug\Clock_1.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/BLE.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\BLE.c -o .\CortexM0\ARM_GCC_484\Debug\BLE.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/BLE_gatt.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\BLE_gatt.c -o .\CortexM0\ARM_GCC_484\Debug\BLE_gatt.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/BLE_ias.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\BLE_ias.c -o .\CortexM0\ARM_GCC_484\Debug\BLE_ias.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/BLE_eventHandler.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\BLE_eventHandler.c -o .\CortexM0\ARM_GCC_484\Debug\BLE_eventHandler.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/BLE_HAL_INT.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\BLE_HAL_INT.c -o .\CortexM0\ARM_GCC_484\Debug\BLE_HAL_INT.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/BLE_HAL_PVT.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\BLE_HAL_PVT.c -o .\CortexM0\ARM_GCC_484\Debug\BLE_HAL_PVT.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/BLE_bless_isr.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\BLE_bless_isr.c -o .\CortexM0\ARM_GCC_484\Debug\BLE_bless_isr.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/Cm0Start.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\Cm0Start.c -o .\CortexM0\ARM_GCC_484\Debug\Cm0Start.o
|
||
arm-none-eabi-as.exe -mcpu=cortex-m0 -mthumb -I. -IGenerated_Source\PSoC4 -alh=.\CortexM0\ARM_GCC_484\Debug/CyBootAsmGnu.lst -g -W -o .\CortexM0\ARM_GCC_484\Debug\CyBootAsmGnu.o .\Generated_Source\PSoC4\CyBootAsmGnu.s
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/CyFlash.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\CyFlash.c -o .\CortexM0\ARM_GCC_484\Debug\CyFlash.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/CyLib.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\CyLib.c -o .\CortexM0\ARM_GCC_484\Debug\CyLib.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/cyPm.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\cyPm.c -o .\CortexM0\ARM_GCC_484\Debug\cyPm.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/cyutils.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\cyutils.c -o .\CortexM0\ARM_GCC_484\Debug\cyutils.o
|
||
arm-none-eabi-gcc.exe -mcpu=cortex-m0 -mthumb -Wno-main -I. -IGenerated_Source\PSoC4 -Wa,-alh=.\CortexM0\ARM_GCC_484\Debug/CyLFClk.lst -g -D DEBUG -Wall -ffunction-sections -O0 -c .\Generated_Source\PSoC4\CyLFClk.c -o .\CortexM0\ARM_GCC_484\Debug\CyLFClk.o
|
||
arm-none-eabi-ar.exe -rs ".\CortexM0\ARM_GCC_484\Debug\BLE Lab 1_1.a" .\CortexM0\ARM_GCC_484\Debug\cyfitter_cfg.o .\CortexM0\ARM_GCC_484\Debug\PWM.o .\CortexM0\ARM_GCC_484\Debug\PWM_PM.o .\CortexM0\ARM_GCC_484\Debug\Red_LED.o .\CortexM0\ARM_GCC_484\Debug\Clock_1.o .\CortexM0\ARM_GCC_484\Debug\BLE.o .\CortexM0\ARM_GCC_484\Debug\BLE_gatt.o .\CortexM0\ARM_GCC_484\Debug\BLE_ias.o .\CortexM0\ARM_GCC_484\Debug\BLE_eventHandler.o .\CortexM0\ARM_GCC_484\Debug\BLE_HAL_INT.o .\CortexM0\ARM_GCC_484\Debug\BLE_HAL_PVT.o .\CortexM0\ARM_GCC_484\Debug\BLE_bless_isr.o .\CortexM0\ARM_GCC_484\Debug\CyBootAsmGnu.o .\CortexM0\ARM_GCC_484\Debug\CyFlash.o .\CortexM0\ARM_GCC_484\Debug\CyLib.o .\CortexM0\ARM_GCC_484\Debug\cyPm.o .\CortexM0\ARM_GCC_484\Debug\cyutils.o .\CortexM0\ARM_GCC_484\Debug\CyLFClk.o
|
||
arm-none-eabi-ar.exe: creating .\CortexM0\ARM_GCC_484\Debug\BLE Lab 1_1.a
|
||
arm-none-eabi-gcc.exe -Wl,--start-group -o ".\CortexM0\ARM_GCC_484\Debug\BLE Lab 1_1.elf" .\CortexM0\ARM_GCC_484\Debug\main.o .\CortexM0\ARM_GCC_484\Debug\cymetadata.o .\CortexM0\ARM_GCC_484\Debug\Cm0Start.o ".\CortexM0\ARM_GCC_484\Debug\BLE Lab 1_1.a" "C:\Program Files (x86)\Cypress\PSoC Creator\3.2\PSoC Creator\psoc\content\cycomponentlibrary\CyComponentLibrary.cylib\BLE_v2_0\Library\gccCyBLEStack_BLE_SOC_PERIPHERAL.a" "C:\Program Files (x86)\Cypress\PSoC Creator\3.2\PSoC Creator\psoc\content\cycomponentlibrary\CyComponentLibrary.cylib\CortexM0\ARM_GCC_484\Debug\CyComponentLibrary.a" -mcpu=cortex-m0 -mthumb -g -ffunction-sections -O0 "-Wl,-Map,.\CortexM0\ARM_GCC_484\Debug/BLE Lab 1_1.map" -T Generated_Source\PSoC4\cm0gcc.ld -specs=nano.specs -Wl,--gc-sections -Wl,--end-group
|
||
cyelftool.exe -C "C:\Users\pmad\Desktop\BLE Workshop\Labs\Completed Labs\BLE Lab 1_1\BLE Lab 1_1.cydsn\CortexM0\ARM_GCC_484\Debug\BLE Lab 1_1.elf" --flash_row_size 128 --flash_size 131072
|
||
cyelftool.exe -S "C:\Users\pmad\Desktop\BLE Workshop\Labs\Completed Labs\BLE Lab 1_1\BLE Lab 1_1.cydsn\CortexM0\ARM_GCC_484\Debug\BLE Lab 1_1.elf"
|
||
Flash used: 71552 of 131072 bytes (54.6 %).
|
||
SRAM used: 9588 of 16384 bytes (58.5 %). Stack: 2048 bytes. Heap: 128 bytes.
|
||
--------------- Build Succeeded: 05/29/2015 00:00:28 ---------------
|
PSoC/PSoC 4 BLE Workshop/Labs/Completed Labs/BLE Lab 1_1/BLE Lab 1_1.cydsn/CortexM0/ARM_GCC_484/Debug/BLE_HAL_PVT.lst | ||
---|---|---|
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 1
|
||
|
||
|
||
1 .cpu cortex-m0
|
||
2 .fpu softvfp
|
||
3 .eabi_attribute 20, 1
|
||
4 .eabi_attribute 21, 1
|
||
5 .eabi_attribute 23, 3
|
||
6 .eabi_attribute 24, 1
|
||
7 .eabi_attribute 25, 1
|
||
8 .eabi_attribute 26, 1
|
||
9 .eabi_attribute 30, 6
|
||
10 .eabi_attribute 34, 0
|
||
11 .eabi_attribute 18, 4
|
||
12 .code 16
|
||
13 .file "BLE_HAL_PVT.c"
|
||
14 .text
|
||
15 .Ltext0:
|
||
16 .cfi_sections .debug_frame
|
||
17 .section .text.CyBLE_Nvram_Write,"ax",%progbits
|
||
18 .align 2
|
||
19 .global CyBLE_Nvram_Write
|
||
20 .code 16
|
||
21 .thumb_func
|
||
22 .type CyBLE_Nvram_Write, %function
|
||
23 CyBLE_Nvram_Write:
|
||
24 .LFB2:
|
||
25 .file 1 ".\\Generated_Source\\PSoC4\\BLE_HAL_PVT.c"
|
||
1:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /*******************************************************************************
|
||
2:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * File Name: CYBLE_HAL_PVT.c
|
||
3:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Version 2.0
|
||
4:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
5:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Description:
|
||
6:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * This file contains the source code for the HAL section of the BLE component
|
||
7:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
8:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** ********************************************************************************
|
||
9:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Copyright 2014-2015, Cypress Semiconductor Corporation. All rights reserved.
|
||
10:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * You may use this file only in accordance with the license, terms, conditions,
|
||
11:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * disclaimers, and limitations in the end user license agreement accompanying
|
||
12:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * the software package with which this file was provided.
|
||
13:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *******************************************************************************/
|
||
14:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
15:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** #include "BLE_HAL_PVT.h"
|
||
16:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
17:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
18:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** #if(CYBLE_MODE == CYBLE_HCI)
|
||
19:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
20:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
21:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /*******************************************************************************
|
||
22:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Function Name: CyBLE_Uart_Start
|
||
23:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** ********************************************************************************
|
||
24:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
25:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Summary:
|
||
26:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Enables the platform UART Tx and RX interrupts and then enables the UART
|
||
27:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * component.
|
||
28:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
29:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Parameters:
|
||
30:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * None
|
||
31:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
32:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Return:
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 2
|
||
|
||
|
||
33:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * None
|
||
34:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
35:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *******************************************************************************/
|
||
36:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** void CyBLE_Uart_Start (void)
|
||
37:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
38:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /* Setup ISR */
|
||
39:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** BLE_uart_isr_StartEx(&CyBLE_Uart_Interrupt);
|
||
40:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
41:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** BLE_HAL_Uart_Start();
|
||
42:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
43:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
44:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
45:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /*******************************************************************************
|
||
46:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Function Name: CyBLE_Uart_Stop
|
||
47:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** ********************************************************************************
|
||
48:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
49:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Summary:
|
||
50:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Disables the UART, clears all pending interrupts and disables the UART Tx
|
||
51:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * and RX interrupts. This will also empty out the FIFOs.
|
||
52:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
53:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Parameters:
|
||
54:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * None
|
||
55:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
56:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Return:
|
||
57:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * None
|
||
58:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
59:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *******************************************************************************/
|
||
60:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** void CyBLE_Uart_Stop (void)
|
||
61:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
62:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /* Stop interrupt and UART */
|
||
63:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** BLE_uart_isr_Stop();
|
||
64:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
65:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** BLE_HAL_Uart_Stop();
|
||
66:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
67:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
68:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
69:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /*******************************************************************************
|
||
70:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Function Name: CyBLE_Uart_Transmit
|
||
71:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** ********************************************************************************
|
||
72:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
73:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Summary:
|
||
74:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Sends the data to Uart Tx FIFO. The API handles data length up to the
|
||
75:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * supported Tx FIFO length of the uart hardware module.
|
||
76:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
77:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Parameters:
|
||
78:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * uint8 *data: Pointer to the data to send through the UART
|
||
79:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * uint8 length: the length of data to transmit in bytes
|
||
80:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
81:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Return:
|
||
82:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * None
|
||
83:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
84:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *******************************************************************************/
|
||
85:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** void CyBLE_Uart_Transmit (const uint8 *dataBuf, uint8 length)
|
||
86:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
87:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** BLE_HAL_Uart_SpiUartPutArray(dataBuf, (uint32)length);
|
||
88:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
89:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 3
|
||
|
||
|
||
90:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** #endif /* (CYBLE_MODE == CYBLE_HCI) */
|
||
91:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
92:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
93:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /*******************************************************************************
|
||
94:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Function Name: CyBLE_Nvram_Write
|
||
95:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** ********************************************************************************
|
||
96:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
97:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Summary:
|
||
98:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * This API writes the data to the NVRAM store. It will check the appropriate
|
||
99:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * alignment of a start address and also perform an address range check based
|
||
100:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * on the length before performing the write operation.
|
||
101:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * This function performs memory compare and writes only row where there are new
|
||
102:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * data to write.
|
||
103:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
104:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Parameters:
|
||
105:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * const uint8 *buffer: Pointer to the buffer containing the data to be stored.
|
||
106:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * const uint8 *varFlash: Pointer to the array or variable in the flash.
|
||
107:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * uint16 length: the length of the data in bytes.
|
||
108:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
109:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Return:
|
||
110:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * CYRET_SUCCESS a successful write
|
||
111:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * CYRET_BAD_PARAM A request to write outside the flash boundary.
|
||
112:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * CYRET_UNKNOWN Other errors in writing the flash
|
||
113:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
114:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Side Effects:
|
||
115:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * For BLE devices with 128K of Flash memory this API will automatically
|
||
116:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * modify the clock settings for the device.
|
||
117:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Writing to flash requires changes to be done to the IMO (set to 48 MHz)
|
||
118:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * and HFCLK (source set to IMO) settings. The configuration is restored before
|
||
119:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * returning. This will impact the operation of most of the hardware in the
|
||
120:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * device.
|
||
121:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
122:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *******************************************************************************/
|
||
123:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** cystatus CyBLE_Nvram_Write (const uint8 buffer[], const uint8 varFlash[], uint16 length)
|
||
124:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
26 .loc 1 124 0
|
||
27 .cfi_startproc
|
||
28 0000 80B5 push {r7, lr}
|
||
29 .cfi_def_cfa_offset 8
|
||
30 .cfi_offset 7, -8
|
||
31 .cfi_offset 14, -4
|
||
32 0002 ACB0 sub sp, sp, #176
|
||
33 .cfi_def_cfa_offset 184
|
||
34 0004 00AF add r7, sp, #0
|
||
35 .cfi_def_cfa_register 7
|
||
36 0006 F860 str r0, [r7, #12]
|
||
37 0008 B960 str r1, [r7, #8]
|
||
38 000a BB1D add r3, r7, #6
|
||
39 000c 1A80 strh r2, [r3]
|
||
125:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** uint8 writeBuffer[CY_FLASH_SIZEOF_ROW];
|
||
126:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** uint32 rowId;
|
||
127:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** uint32 dstIndex;
|
||
128:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** uint32 srcIndex = 0u;
|
||
40 .loc 1 128 0
|
||
41 000e 0023 mov r3, #0
|
||
42 0010 A420 mov r0, #164
|
||
43 0012 C019 add r0, r0, r7
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 4
|
||
|
||
|
||
44 0014 0360 str r3, [r0]
|
||
129:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** cystatus rc = CYRET_SUCCESS;
|
||
45 .loc 1 129 0
|
||
46 0016 0023 mov r3, #0
|
||
47 0018 A021 mov r1, #160
|
||
48 001a C919 add r1, r1, r7
|
||
49 001c 0B60 str r3, [r1]
|
||
130:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** uint32 eeOffset;
|
||
131:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** uint32 byteOffset;
|
||
132:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** uint32 rowsNotEqual;
|
||
133:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
134:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** eeOffset = (uint32)varFlash;
|
||
50 .loc 1 134 0
|
||
51 001e BB68 ldr r3, [r7, #8]
|
||
52 0020 9422 mov r2, #148
|
||
53 0022 D219 add r2, r2, r7
|
||
54 0024 1360 str r3, [r2]
|
||
135:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
136:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /* Make sure, that varFlash[] points to Flash */
|
||
137:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** if ((eeOffset + length) < CYBLE_HAL_FLASH_END_ADDR)
|
||
55 .loc 1 137 0
|
||
56 0026 BB1D add r3, r7, #6
|
||
57 0028 1A88 ldrh r2, [r3]
|
||
58 002a 9420 mov r0, #148
|
||
59 002c C019 add r0, r0, r7
|
||
60 002e 0368 ldr r3, [r0]
|
||
61 0030 D218 add r2, r2, r3
|
||
62 0032 594B ldr r3, .L14
|
||
63 0034 9A42 cmp r2, r3
|
||
64 0036 00D9 bls .LCB36
|
||
65 0038 94E0 b .L2 @long jump
|
||
66 .LCB36:
|
||
138:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
139:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** rowId = eeOffset / CY_FLASH_SIZEOF_ROW;
|
||
67 .loc 1 139 0
|
||
68 003a 9421 mov r1, #148
|
||
69 003c C919 add r1, r1, r7
|
||
70 003e 0B68 ldr r3, [r1]
|
||
71 0040 DB09 lsr r3, r3, #7
|
||
72 0042 AC22 mov r2, #172
|
||
73 0044 D219 add r2, r2, r7
|
||
74 0046 1360 str r3, [r2]
|
||
140:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** byteOffset = CY_FLASH_SIZEOF_ROW * rowId;
|
||
75 .loc 1 140 0
|
||
76 0048 AC20 mov r0, #172
|
||
77 004a C019 add r0, r0, r7
|
||
78 004c 0368 ldr r3, [r0]
|
||
79 004e DB01 lsl r3, r3, #7
|
||
80 0050 9C21 mov r1, #156
|
||
81 0052 C919 add r1, r1, r7
|
||
82 0054 0B60 str r3, [r1]
|
||
141:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
142:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** while ((srcIndex < length) && (CYRET_SUCCESS == rc))
|
||
83 .loc 1 142 0
|
||
84 0056 77E0 b .L3
|
||
85 .L11:
|
||
143:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 5
|
||
|
||
|
||
144:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** rowsNotEqual = 0u;
|
||
86 .loc 1 144 0
|
||
87 0058 0023 mov r3, #0
|
||
88 005a 9822 mov r2, #152
|
||
89 005c D219 add r2, r2, r7
|
||
90 005e 1360 str r3, [r2]
|
||
145:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /* Copy data to the write buffer either from the source buffer or from the flash */
|
||
146:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** for (dstIndex = 0u; dstIndex < CY_FLASH_SIZEOF_ROW; dstIndex++)
|
||
91 .loc 1 146 0
|
||
92 0060 0023 mov r3, #0
|
||
93 0062 A820 mov r0, #168
|
||
94 0064 C019 add r0, r0, r7
|
||
95 0066 0360 str r3, [r0]
|
||
96 0068 50E0 b .L4
|
||
97 .L8:
|
||
147:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
148:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** if ((byteOffset >= eeOffset) && (srcIndex < length))
|
||
98 .loc 1 148 0
|
||
99 006a 9C21 mov r1, #156
|
||
100 006c C919 add r1, r1, r7
|
||
101 006e 0A68 ldr r2, [r1]
|
||
102 0070 9420 mov r0, #148
|
||
103 0072 C019 add r0, r0, r7
|
||
104 0074 0368 ldr r3, [r0]
|
||
105 0076 9A42 cmp r2, r3
|
||
106 0078 2ED3 bcc .L5
|
||
107 .loc 1 148 0 is_stmt 0 discriminator 1
|
||
108 007a BB1D add r3, r7, #6
|
||
109 007c 1A88 ldrh r2, [r3]
|
||
110 007e A421 mov r1, #164
|
||
111 0080 C919 add r1, r1, r7
|
||
112 0082 0B68 ldr r3, [r1]
|
||
113 0084 9A42 cmp r2, r3
|
||
114 0086 27D9 bls .L5
|
||
149:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
150:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /* Detect that row programming is required */
|
||
151:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** if(writeBuffer[dstIndex] != buffer[srcIndex])
|
||
115 .loc 1 151 0 is_stmt 1
|
||
116 0088 3A1C mov r2, r7
|
||
117 008a 1432 add r2, r2, #20
|
||
118 008c A820 mov r0, #168
|
||
119 008e C019 add r0, r0, r7
|
||
120 0090 0368 ldr r3, [r0]
|
||
121 0092 D318 add r3, r2, r3
|
||
122 0094 1A78 ldrb r2, [r3]
|
||
123 0096 F968 ldr r1, [r7, #12]
|
||
124 0098 A420 mov r0, #164
|
||
125 009a C019 add r0, r0, r7
|
||
126 009c 0368 ldr r3, [r0]
|
||
127 009e CB18 add r3, r1, r3
|
||
128 00a0 1B78 ldrb r3, [r3]
|
||
129 00a2 9A42 cmp r2, r3
|
||
130 00a4 10D0 beq .L6
|
||
152:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
153:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** writeBuffer[dstIndex] = buffer[srcIndex];
|
||
131 .loc 1 153 0
|
||
132 00a6 FA68 ldr r2, [r7, #12]
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 6
|
||
|
||
|
||
133 00a8 A421 mov r1, #164
|
||
134 00aa C919 add r1, r1, r7
|
||
135 00ac 0B68 ldr r3, [r1]
|
||
136 00ae D318 add r3, r2, r3
|
||
137 00b0 1A78 ldrb r2, [r3]
|
||
138 00b2 391C mov r1, r7
|
||
139 00b4 1431 add r1, r1, #20
|
||
140 00b6 A820 mov r0, #168
|
||
141 00b8 C019 add r0, r0, r7
|
||
142 00ba 0368 ldr r3, [r0]
|
||
143 00bc CB18 add r3, r1, r3
|
||
144 00be 1A70 strb r2, [r3]
|
||
154:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** rowsNotEqual = 1u;
|
||
145 .loc 1 154 0
|
||
146 00c0 0123 mov r3, #1
|
||
147 00c2 9821 mov r1, #152
|
||
148 00c4 C919 add r1, r1, r7
|
||
149 00c6 0B60 str r3, [r1]
|
||
150 .L6:
|
||
155:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
156:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** srcIndex++;
|
||
151 .loc 1 156 0
|
||
152 00c8 A422 mov r2, #164
|
||
153 00ca D219 add r2, r2, r7
|
||
154 00cc 1368 ldr r3, [r2]
|
||
155 00ce 0133 add r3, r3, #1
|
||
156 00d0 A420 mov r0, #164
|
||
157 00d2 C019 add r0, r0, r7
|
||
158 00d4 0360 str r3, [r0]
|
||
159 00d6 0BE0 b .L7
|
||
160 .L5:
|
||
157:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
158:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** else
|
||
159:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
160:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** writeBuffer[dstIndex] = CY_GET_XTND_REG8(CYDEV_FLASH_BASE + byteOffset);
|
||
161 .loc 1 160 0
|
||
162 00d8 9C21 mov r1, #156
|
||
163 00da C919 add r1, r1, r7
|
||
164 00dc 0B68 ldr r3, [r1]
|
||
165 00de 1B78 ldrb r3, [r3]
|
||
166 00e0 DAB2 uxtb r2, r3
|
||
167 00e2 391C mov r1, r7
|
||
168 00e4 1431 add r1, r1, #20
|
||
169 00e6 A820 mov r0, #168
|
||
170 00e8 C019 add r0, r0, r7
|
||
171 00ea 0368 ldr r3, [r0]
|
||
172 00ec CB18 add r3, r1, r3
|
||
173 00ee 1A70 strb r2, [r3]
|
||
174 .L7:
|
||
161:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
162:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** byteOffset++;
|
||
175 .loc 1 162 0
|
||
176 00f0 9C21 mov r1, #156
|
||
177 00f2 C919 add r1, r1, r7
|
||
178 00f4 0B68 ldr r3, [r1]
|
||
179 00f6 0133 add r3, r3, #1
|
||
180 00f8 9C22 mov r2, #156
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 7
|
||
|
||
|
||
181 00fa D219 add r2, r2, r7
|
||
182 00fc 1360 str r3, [r2]
|
||
146:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** for (dstIndex = 0u; dstIndex < CY_FLASH_SIZEOF_ROW; dstIndex++)
|
||
183 .loc 1 146 0
|
||
184 00fe A820 mov r0, #168
|
||
185 0100 C019 add r0, r0, r7
|
||
186 0102 0368 ldr r3, [r0]
|
||
187 0104 0133 add r3, r3, #1
|
||
188 0106 A821 mov r1, #168
|
||
189 0108 C919 add r1, r1, r7
|
||
190 010a 0B60 str r3, [r1]
|
||
191 .L4:
|
||
146:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** for (dstIndex = 0u; dstIndex < CY_FLASH_SIZEOF_ROW; dstIndex++)
|
||
192 .loc 1 146 0 is_stmt 0 discriminator 1
|
||
193 010c A822 mov r2, #168
|
||
194 010e D219 add r2, r2, r7
|
||
195 0110 1368 ldr r3, [r2]
|
||
196 0112 7F2B cmp r3, #127
|
||
197 0114 A9D9 bls .L8
|
||
163:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
164:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
165:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** if(rowsNotEqual != 0u)
|
||
198 .loc 1 165 0 is_stmt 1
|
||
199 0116 9820 mov r0, #152
|
||
200 0118 C019 add r0, r0, r7
|
||
201 011a 0368 ldr r3, [r0]
|
||
202 011c 002B cmp r3, #0
|
||
203 011e 0CD0 beq .L9
|
||
166:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
167:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /* Write flash row */
|
||
168:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** rc = CySysFlashWriteRow(rowId, writeBuffer);
|
||
204 .loc 1 168 0
|
||
205 0120 AC21 mov r1, #172
|
||
206 0122 C919 add r1, r1, r7
|
||
207 0124 0A68 ldr r2, [r1]
|
||
208 0126 3B1C mov r3, r7
|
||
209 0128 1433 add r3, r3, #20
|
||
210 012a 101C mov r0, r2
|
||
211 012c 191C mov r1, r3
|
||
212 012e FFF7FEFF bl CySysFlashWriteRow
|
||
213 0132 031C mov r3, r0
|
||
214 0134 A022 mov r2, #160
|
||
215 0136 D219 add r2, r2, r7
|
||
216 0138 1360 str r3, [r2]
|
||
217 .L9:
|
||
169:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
170:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
171:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /* Go to the next row */
|
||
172:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** rowId++;
|
||
218 .loc 1 172 0
|
||
219 013a AC20 mov r0, #172
|
||
220 013c C019 add r0, r0, r7
|
||
221 013e 0368 ldr r3, [r0]
|
||
222 0140 0133 add r3, r3, #1
|
||
223 0142 AC21 mov r1, #172
|
||
224 0144 C919 add r1, r1, r7
|
||
225 0146 0B60 str r3, [r1]
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 8
|
||
|
||
|
||
226 .L3:
|
||
142:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** while ((srcIndex < length) && (CYRET_SUCCESS == rc))
|
||
227 .loc 1 142 0 discriminator 1
|
||
228 0148 BB1D add r3, r7, #6
|
||
229 014a 1A88 ldrh r2, [r3]
|
||
230 014c A420 mov r0, #164
|
||
231 014e C019 add r0, r0, r7
|
||
232 0150 0368 ldr r3, [r0]
|
||
233 0152 9A42 cmp r2, r3
|
||
234 0154 0AD9 bls .L10
|
||
142:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** while ((srcIndex < length) && (CYRET_SUCCESS == rc))
|
||
235 .loc 1 142 0 is_stmt 0 discriminator 2
|
||
236 0156 A021 mov r1, #160
|
||
237 0158 C919 add r1, r1, r7
|
||
238 015a 0B68 ldr r3, [r1]
|
||
239 015c 002B cmp r3, #0
|
||
240 015e 00D1 bne .LCB201
|
||
241 0160 7AE7 b .L11 @long jump
|
||
242 .LCB201:
|
||
243 0162 03E0 b .L10
|
||
244 .L2:
|
||
173:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
174:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
175:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** else
|
||
176:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
177:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** rc = CYRET_BAD_PARAM;
|
||
245 .loc 1 177 0 is_stmt 1
|
||
246 0164 0123 mov r3, #1
|
||
247 0166 A022 mov r2, #160
|
||
248 0168 D219 add r2, r2, r7
|
||
249 016a 1360 str r3, [r2]
|
||
250 .L10:
|
||
178:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
179:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
180:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /* Mask return codes from flash, if they are not supported */
|
||
181:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** if ((CYRET_SUCCESS != rc) && (CYRET_BAD_PARAM != rc))
|
||
251 .loc 1 181 0
|
||
252 016c A020 mov r0, #160
|
||
253 016e C019 add r0, r0, r7
|
||
254 0170 0368 ldr r3, [r0]
|
||
255 0172 002B cmp r3, #0
|
||
256 0174 09D0 beq .L12
|
||
257 .loc 1 181 0 is_stmt 0 discriminator 1
|
||
258 0176 A021 mov r1, #160
|
||
259 0178 C919 add r1, r1, r7
|
||
260 017a 0B68 ldr r3, [r1]
|
||
261 017c 012B cmp r3, #1
|
||
262 017e 04D0 beq .L12
|
||
182:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
183:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** rc = CYRET_UNKNOWN;
|
||
263 .loc 1 183 0 is_stmt 1
|
||
264 0180 0123 mov r3, #1
|
||
265 0182 5B42 neg r3, r3
|
||
266 0184 A022 mov r2, #160
|
||
267 0186 D219 add r2, r2, r7
|
||
268 0188 1360 str r3, [r2]
|
||
269 .L12:
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 9
|
||
|
||
|
||
184:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
185:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
186:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** return (rc);
|
||
270 .loc 1 186 0
|
||
271 018a A020 mov r0, #160
|
||
272 018c C019 add r0, r0, r7
|
||
273 018e 0368 ldr r3, [r0]
|
||
187:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
274 .loc 1 187 0
|
||
275 0190 181C mov r0, r3
|
||
276 0192 BD46 mov sp, r7
|
||
277 0194 2CB0 add sp, sp, #176
|
||
278 @ sp needed
|
||
279 0196 80BD pop {r7, pc}
|
||
280 .L15:
|
||
281 .align 2
|
||
282 .L14:
|
||
283 0198 FFFF0100 .word 131071
|
||
284 .cfi_endproc
|
||
285 .LFE2:
|
||
286 .size CyBLE_Nvram_Write, .-CyBLE_Nvram_Write
|
||
287 .section .text.CyBLE_Nvram_Erase,"ax",%progbits
|
||
288 .align 2
|
||
289 .global CyBLE_Nvram_Erase
|
||
290 .code 16
|
||
291 .thumb_func
|
||
292 .type CyBLE_Nvram_Erase, %function
|
||
293 CyBLE_Nvram_Erase:
|
||
294 .LFB3:
|
||
188:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
189:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /*******************************************************************************
|
||
190:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Function Name: CyBLE_Nvram_Erase
|
||
191:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** ********************************************************************************
|
||
192:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
193:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Summary:
|
||
194:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * This API erases the data from the NVRAM store. This API will perform an
|
||
195:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * address range check based on the length before performing erase operation.
|
||
196:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
197:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Parameters:
|
||
198:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * const uint8 *varFlash: the pointer to the array or variable in the flash.
|
||
199:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * uint16 length: the length of the data in bytes.
|
||
200:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
201:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Return:
|
||
202:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * CYRET_SUCCESS a successful write
|
||
203:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * CYRET_BAD_PARAM A request to write outside the flash boundary.
|
||
204:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * CYRET_UNKNOWN Other errors in writing the flash
|
||
205:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
206:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *******************************************************************************/
|
||
207:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** cystatus CyBLE_Nvram_Erase (const uint8 *varFlash, uint16 length)
|
||
208:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
295 .loc 1 208 0
|
||
296 .cfi_startproc
|
||
297 0000 80B5 push {r7, lr}
|
||
298 .cfi_def_cfa_offset 8
|
||
299 .cfi_offset 7, -8
|
||
300 .cfi_offset 14, -4
|
||
301 0002 A6B0 sub sp, sp, #152
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 10
|
||
|
||
|
||
302 .cfi_def_cfa_offset 160
|
||
303 0004 00AF add r7, sp, #0
|
||
304 .cfi_def_cfa_register 7
|
||
305 0006 7860 str r0, [r7, #4]
|
||
306 0008 0A1C mov r2, r1
|
||
307 000a BB1C add r3, r7, #2
|
||
308 000c 1A80 strh r2, [r3]
|
||
209:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** const uint8 *tempFlash;
|
||
210:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** uint8 flashBuffer[CY_FLASH_SIZEOF_ROW] = {0u};
|
||
309 .loc 1 210 0
|
||
310 000e 3B1C mov r3, r7
|
||
311 0010 0C33 add r3, r3, #12
|
||
312 0012 1A1C mov r2, r3
|
||
313 0014 8023 mov r3, #128
|
||
314 0016 101C mov r0, r2
|
||
315 0018 0021 mov r1, #0
|
||
316 001a 1A1C mov r2, r3
|
||
317 001c FFF7FEFF bl memset
|
||
211:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** uint16 lengthFlash;
|
||
212:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** uint16 lengthRemaining;
|
||
213:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** cystatus rc = CYRET_UNKNOWN;
|
||
318 .loc 1 213 0
|
||
319 0020 0123 mov r3, #1
|
||
320 0022 5B42 neg r3, r3
|
||
321 0024 8C22 mov r2, #140
|
||
322 0026 D219 add r2, r2, r7
|
||
323 0028 1360 str r3, [r2]
|
||
214:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
215:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** tempFlash = varFlash;
|
||
324 .loc 1 215 0
|
||
325 002a 7B68 ldr r3, [r7, #4]
|
||
326 002c 9422 mov r2, #148
|
||
327 002e D219 add r2, r2, r7
|
||
328 0030 1360 str r3, [r2]
|
||
216:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** lengthRemaining = length;
|
||
329 .loc 1 216 0
|
||
330 0032 3B1C mov r3, r7
|
||
331 0034 9033 add r3, r3, #144
|
||
332 0036 BA1C add r2, r7, #2
|
||
333 0038 1288 ldrh r2, [r2]
|
||
334 003a 1A80 strh r2, [r3]
|
||
217:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
218:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** while(lengthRemaining > 0u)
|
||
335 .loc 1 218 0
|
||
336 003c 37E0 b .L17
|
||
337 .L22:
|
||
219:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
220:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** if(lengthRemaining < CY_FLASH_SIZEOF_ROW)
|
||
338 .loc 1 220 0
|
||
339 003e 3B1C mov r3, r7
|
||
340 0040 9033 add r3, r3, #144
|
||
341 0042 1B88 ldrh r3, [r3]
|
||
342 0044 7F2B cmp r3, #127
|
||
343 0046 06D8 bhi .L18
|
||
221:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
222:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** lengthFlash = lengthRemaining;
|
||
344 .loc 1 222 0
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 11
|
||
|
||
|
||
345 0048 3B1C mov r3, r7
|
||
346 004a 9233 add r3, r3, #146
|
||
347 004c 3A1C mov r2, r7
|
||
348 004e 9032 add r2, r2, #144
|
||
349 0050 1288 ldrh r2, [r2]
|
||
350 0052 1A80 strh r2, [r3]
|
||
351 0054 03E0 b .L19
|
||
352 .L18:
|
||
223:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
224:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** else
|
||
225:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
226:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** lengthFlash = CY_FLASH_SIZEOF_ROW;
|
||
353 .loc 1 226 0
|
||
354 0056 3B1C mov r3, r7
|
||
355 0058 9233 add r3, r3, #146
|
||
356 005a 8022 mov r2, #128
|
||
357 005c 1A80 strh r2, [r3]
|
||
358 .L19:
|
||
227:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
228:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** rc = CyBLE_Nvram_Write(flashBuffer, tempFlash, lengthFlash);
|
||
359 .loc 1 228 0
|
||
360 005e 391C mov r1, r7
|
||
361 0060 0C31 add r1, r1, #12
|
||
362 0062 9423 mov r3, #148
|
||
363 0064 DB19 add r3, r3, r7
|
||
364 0066 1A68 ldr r2, [r3]
|
||
365 0068 3B1C mov r3, r7
|
||
366 006a 9233 add r3, r3, #146
|
||
367 006c 1B88 ldrh r3, [r3]
|
||
368 006e 081C mov r0, r1
|
||
369 0070 111C mov r1, r2
|
||
370 0072 1A1C mov r2, r3
|
||
371 0074 FFF7FEFF bl CyBLE_Nvram_Write
|
||
372 0078 031C mov r3, r0
|
||
373 007a 8C22 mov r2, #140
|
||
374 007c D219 add r2, r2, r7
|
||
375 007e 1360 str r3, [r2]
|
||
229:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** if(rc != CYRET_SUCCESS)
|
||
376 .loc 1 229 0
|
||
377 0080 8C22 mov r2, #140
|
||
378 0082 D219 add r2, r2, r7
|
||
379 0084 1368 ldr r3, [r2]
|
||
380 0086 002B cmp r3, #0
|
||
381 0088 00D0 beq .L20
|
||
230:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
231:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** break;
|
||
382 .loc 1 231 0
|
||
383 008a 15E0 b .L21
|
||
384 .L20:
|
||
232:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
233:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** tempFlash += CY_FLASH_SIZEOF_ROW;
|
||
385 .loc 1 233 0
|
||
386 008c 9422 mov r2, #148
|
||
387 008e D219 add r2, r2, r7
|
||
388 0090 1368 ldr r3, [r2]
|
||
389 0092 8033 add r3, r3, #128
|
||
390 0094 9422 mov r2, #148
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 12
|
||
|
||
|
||
391 0096 D219 add r2, r2, r7
|
||
392 0098 1360 str r3, [r2]
|
||
234:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** lengthRemaining -= lengthFlash;
|
||
393 .loc 1 234 0
|
||
394 009a 3B1C mov r3, r7
|
||
395 009c 9033 add r3, r3, #144
|
||
396 009e 391C mov r1, r7
|
||
397 00a0 9031 add r1, r1, #144
|
||
398 00a2 3A1C mov r2, r7
|
||
399 00a4 9232 add r2, r2, #146
|
||
400 00a6 0988 ldrh r1, [r1]
|
||
401 00a8 1288 ldrh r2, [r2]
|
||
402 00aa 8A1A sub r2, r1, r2
|
||
403 00ac 1A80 strh r2, [r3]
|
||
404 .L17:
|
||
218:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** while(lengthRemaining > 0u)
|
||
405 .loc 1 218 0 discriminator 1
|
||
406 00ae 3B1C mov r3, r7
|
||
407 00b0 9033 add r3, r3, #144
|
||
408 00b2 1B88 ldrh r3, [r3]
|
||
409 00b4 002B cmp r3, #0
|
||
410 00b6 C2D1 bne .L22
|
||
411 .L21:
|
||
235:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
236:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
237:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** return rc;
|
||
412 .loc 1 237 0
|
||
413 00b8 8C22 mov r2, #140
|
||
414 00ba D219 add r2, r2, r7
|
||
415 00bc 1368 ldr r3, [r2]
|
||
238:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
416 .loc 1 238 0
|
||
417 00be 181C mov r0, r3
|
||
418 00c0 BD46 mov sp, r7
|
||
419 00c2 26B0 add sp, sp, #152
|
||
420 @ sp needed
|
||
421 00c4 80BD pop {r7, pc}
|
||
422 .cfi_endproc
|
||
423 .LFE3:
|
||
424 .size CyBLE_Nvram_Erase, .-CyBLE_Nvram_Erase
|
||
425 00c6 C046 .section .text.CyBLE_Bless_LlRegRead,"ax",%progbits
|
||
426 .align 2
|
||
427 .global CyBLE_Bless_LlRegRead
|
||
428 .code 16
|
||
429 .thumb_func
|
||
430 .type CyBLE_Bless_LlRegRead, %function
|
||
431 CyBLE_Bless_LlRegRead:
|
||
432 .LFB4:
|
||
239:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
240:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
241:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /*******************************************************************************
|
||
242:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Function Name: CyBLE_Bless_LlRegRead
|
||
243:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** ********************************************************************************
|
||
244:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
245:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Summary:
|
||
246:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * This API reads the content of the BLESS Link Layer register from the stack.
|
||
247:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 13
|
||
|
||
|
||
248:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Parameters:
|
||
249:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * uint32 *blessAddr: the pointer to the BLESS link layer address.
|
||
250:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * uint16 *regValue: the pointer to the buffer space to copy the read value.
|
||
251:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
252:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Return:
|
||
253:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * None
|
||
254:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
255:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *******************************************************************************/
|
||
256:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** void CyBLE_Bless_LlRegRead (const reg32 *blessAddr, uint16 *regValue)
|
||
257:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
433 .loc 1 257 0
|
||
434 .cfi_startproc
|
||
435 0000 80B5 push {r7, lr}
|
||
436 .cfi_def_cfa_offset 8
|
||
437 .cfi_offset 7, -8
|
||
438 .cfi_offset 14, -4
|
||
439 0002 82B0 sub sp, sp, #8
|
||
440 .cfi_def_cfa_offset 16
|
||
441 0004 00AF add r7, sp, #0
|
||
442 .cfi_def_cfa_register 7
|
||
443 0006 7860 str r0, [r7, #4]
|
||
444 0008 3960 str r1, [r7]
|
||
258:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *regValue = (uint16)CY_GET_REG32(blessAddr);
|
||
445 .loc 1 258 0
|
||
446 000a 7B68 ldr r3, [r7, #4]
|
||
447 000c 1B68 ldr r3, [r3]
|
||
448 000e 9AB2 uxth r2, r3
|
||
449 0010 3B68 ldr r3, [r7]
|
||
450 0012 1A80 strh r2, [r3]
|
||
259:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
451 .loc 1 259 0
|
||
452 0014 BD46 mov sp, r7
|
||
453 0016 02B0 add sp, sp, #8
|
||
454 @ sp needed
|
||
455 0018 80BD pop {r7, pc}
|
||
456 .cfi_endproc
|
||
457 .LFE4:
|
||
458 .size CyBLE_Bless_LlRegRead, .-CyBLE_Bless_LlRegRead
|
||
459 001a C046 .section .text.CyBLE_Bless_LlRegWrite,"ax",%progbits
|
||
460 .align 2
|
||
461 .global CyBLE_Bless_LlRegWrite
|
||
462 .code 16
|
||
463 .thumb_func
|
||
464 .type CyBLE_Bless_LlRegWrite, %function
|
||
465 CyBLE_Bless_LlRegWrite:
|
||
466 .LFB5:
|
||
260:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
261:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
262:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /*******************************************************************************
|
||
263:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Function Name: CyBLE_Bless_LlRegWrite
|
||
264:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** ********************************************************************************
|
||
265:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
266:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Summary:
|
||
267:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * This API writes to the BLESS Link Layer register from the stack.
|
||
268:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
269:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Parameters:
|
||
270:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * uint32 *blessAddr: the pointer to the BLESS link layer address.
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 14
|
||
|
||
|
||
271:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * uint16 regValue: the pointer to the value to be written to the BLESS LL reg.
|
||
272:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
273:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Return:
|
||
274:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * None
|
||
275:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
276:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *******************************************************************************/
|
||
277:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** void CyBLE_Bless_LlRegWrite (reg32 *blessAddr, const uint16 regValue)
|
||
278:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
467 .loc 1 278 0
|
||
468 .cfi_startproc
|
||
469 0000 80B5 push {r7, lr}
|
||
470 .cfi_def_cfa_offset 8
|
||
471 .cfi_offset 7, -8
|
||
472 .cfi_offset 14, -4
|
||
473 0002 82B0 sub sp, sp, #8
|
||
474 .cfi_def_cfa_offset 16
|
||
475 0004 00AF add r7, sp, #0
|
||
476 .cfi_def_cfa_register 7
|
||
477 0006 7860 str r0, [r7, #4]
|
||
478 0008 0A1C mov r2, r1
|
||
479 000a BB1C add r3, r7, #2
|
||
480 000c 1A80 strh r2, [r3]
|
||
279:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** CY_SET_REG32(blessAddr, regValue);
|
||
481 .loc 1 279 0
|
||
482 000e BB1C add r3, r7, #2
|
||
483 0010 1A88 ldrh r2, [r3]
|
||
484 0012 7B68 ldr r3, [r7, #4]
|
||
485 0014 1A60 str r2, [r3]
|
||
280:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
486 .loc 1 280 0
|
||
487 0016 BD46 mov sp, r7
|
||
488 0018 02B0 add sp, sp, #8
|
||
489 @ sp needed
|
||
490 001a 80BD pop {r7, pc}
|
||
491 .cfi_endproc
|
||
492 .LFE5:
|
||
493 .size CyBLE_Bless_LlRegWrite, .-CyBLE_Bless_LlRegWrite
|
||
494 .section .text.CyBLE_Bless_RfRegRead,"ax",%progbits
|
||
495 .align 2
|
||
496 .global CyBLE_Bless_RfRegRead
|
||
497 .code 16
|
||
498 .thumb_func
|
||
499 .type CyBLE_Bless_RfRegRead, %function
|
||
500 CyBLE_Bless_RfRegRead:
|
||
501 .LFB6:
|
||
281:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
282:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
283:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /*******************************************************************************
|
||
284:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Function Name: CyBLE_Bless_RfRegRead
|
||
285:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** ********************************************************************************
|
||
286:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
287:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Summary:
|
||
288:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * This API reads the content of the BLESS RF register from the stack.
|
||
289:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
290:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Parameters:
|
||
291:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * uint32 *blessAddr: the pointer to BLESS RF register address.
|
||
292:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * uint16 *regValue: the pointer to the buffer space to copy the read value.
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 15
|
||
|
||
|
||
293:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
294:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Return:
|
||
295:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * None
|
||
296:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
297:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *******************************************************************************/
|
||
298:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** void CyBLE_Bless_RfRegRead (const reg32 *blessAddr, uint16 *regValue)
|
||
299:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
502 .loc 1 299 0
|
||
503 .cfi_startproc
|
||
504 0000 80B5 push {r7, lr}
|
||
505 .cfi_def_cfa_offset 8
|
||
506 .cfi_offset 7, -8
|
||
507 .cfi_offset 14, -4
|
||
508 0002 82B0 sub sp, sp, #8
|
||
509 .cfi_def_cfa_offset 16
|
||
510 0004 00AF add r7, sp, #0
|
||
511 .cfi_def_cfa_register 7
|
||
512 0006 7860 str r0, [r7, #4]
|
||
513 0008 3960 str r1, [r7]
|
||
300:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *regValue = (uint16)CY_GET_REG32(blessAddr);
|
||
514 .loc 1 300 0
|
||
515 000a 7B68 ldr r3, [r7, #4]
|
||
516 000c 1B68 ldr r3, [r3]
|
||
517 000e 9AB2 uxth r2, r3
|
||
518 0010 3B68 ldr r3, [r7]
|
||
519 0012 1A80 strh r2, [r3]
|
||
301:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
520 .loc 1 301 0
|
||
521 0014 BD46 mov sp, r7
|
||
522 0016 02B0 add sp, sp, #8
|
||
523 @ sp needed
|
||
524 0018 80BD pop {r7, pc}
|
||
525 .cfi_endproc
|
||
526 .LFE6:
|
||
527 .size CyBLE_Bless_RfRegRead, .-CyBLE_Bless_RfRegRead
|
||
528 001a C046 .section .text.CyBLE_Bless_RfRegWrite,"ax",%progbits
|
||
529 .align 2
|
||
530 .global CyBLE_Bless_RfRegWrite
|
||
531 .code 16
|
||
532 .thumb_func
|
||
533 .type CyBLE_Bless_RfRegWrite, %function
|
||
534 CyBLE_Bless_RfRegWrite:
|
||
535 .LFB7:
|
||
302:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
303:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
304:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** /*******************************************************************************
|
||
305:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Function Name: CyBLE_Bless_RfRegWrite
|
||
306:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** ********************************************************************************
|
||
307:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
308:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Summary:
|
||
309:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * This API writes to the BLESS RF register from the stack.
|
||
310:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
311:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Parameters:
|
||
312:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * uint32 *blessAddr: the pointer to the BLESS RF address.
|
||
313:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * uint16 regValue: the pointer to the value to be written to the BLESS RF reg.
|
||
314:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
315:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * Return:
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 16
|
||
|
||
|
||
316:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** * None
|
||
317:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *
|
||
318:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** *******************************************************************************/
|
||
319:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** void CyBLE_Bless_RfRegWrite (reg32 *blessAddr, const uint16 regValue)
|
||
320:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
536 .loc 1 320 0
|
||
537 .cfi_startproc
|
||
538 0000 80B5 push {r7, lr}
|
||
539 .cfi_def_cfa_offset 8
|
||
540 .cfi_offset 7, -8
|
||
541 .cfi_offset 14, -4
|
||
542 0002 82B0 sub sp, sp, #8
|
||
543 .cfi_def_cfa_offset 16
|
||
544 0004 00AF add r7, sp, #0
|
||
545 .cfi_def_cfa_register 7
|
||
546 0006 7860 str r0, [r7, #4]
|
||
547 0008 0A1C mov r2, r1
|
||
548 000a BB1C add r3, r7, #2
|
||
549 000c 1A80 strh r2, [r3]
|
||
321:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** CY_SET_REG32(blessAddr, regValue);
|
||
550 .loc 1 321 0
|
||
551 000e BB1C add r3, r7, #2
|
||
552 0010 1A88 ldrh r2, [r3]
|
||
553 0012 7B68 ldr r3, [r7, #4]
|
||
554 0014 1A60 str r2, [r3]
|
||
322:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
555 .loc 1 322 0
|
||
556 0016 BD46 mov sp, r7
|
||
557 0018 02B0 add sp, sp, #8
|
||
558 @ sp needed
|
||
559 001a 80BD pop {r7, pc}
|
||
560 .cfi_endproc
|
||
561 .LFE7:
|
||
562 .size CyBLE_Bless_RfRegWrite, .-CyBLE_Bless_RfRegWrite
|
||
563 .section .text.CyBLE_BlessDeviceConfig,"ax",%progbits
|
||
564 .align 2
|
||
565 .global CyBLE_BlessDeviceConfig
|
||
566 .code 16
|
||
567 .thumb_func
|
||
568 .type CyBLE_BlessDeviceConfig, %function
|
||
569 CyBLE_BlessDeviceConfig:
|
||
570 .LFB8:
|
||
323:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
324:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
325:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** void CyBLE_BlessDeviceConfig(void)
|
||
326:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
571 .loc 1 326 0
|
||
572 .cfi_startproc
|
||
573 0000 80B5 push {r7, lr}
|
||
574 .cfi_def_cfa_offset 8
|
||
575 .cfi_offset 7, -8
|
||
576 .cfi_offset 14, -4
|
||
577 0002 82B0 sub sp, sp, #8
|
||
578 .cfi_def_cfa_offset 16
|
||
579 0004 00AF add r7, sp, #0
|
||
580 .cfi_def_cfa_register 7
|
||
327:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** uint32 trimRegValue;
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 17
|
||
|
||
|
||
328:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** uint32 ldo;
|
||
329:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
330:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** trimRegValue = ((uint32)CYBLE_SFLASH_BLESS_BB_BUMP2_HIGH_REG << 8u) | CYBLE_SFLASH_BLESS_BB_BUM
|
||
581 .loc 1 330 0
|
||
582 0006 304B ldr r3, .L35
|
||
583 0008 1B78 ldrb r3, [r3]
|
||
584 000a DBB2 uxtb r3, r3
|
||
585 000c 1A02 lsl r2, r3, #8
|
||
586 000e 2F4B ldr r3, .L35+4
|
||
587 0010 1B78 ldrb r3, [r3]
|
||
588 0012 DBB2 uxtb r3, r3
|
||
589 0014 1343 orr r3, r2
|
||
590 0016 7B60 str r3, [r7, #4]
|
||
331:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** ldo = ((uint32)CYBLE_SFLASH_BLESS_LDO_HIGH_REG << 8u) | CYBLE_SFLASH_BLESS_LDO_LOW_REG;
|
||
591 .loc 1 331 0
|
||
592 0018 2D4B ldr r3, .L35+8
|
||
593 001a 1B78 ldrb r3, [r3]
|
||
594 001c DBB2 uxtb r3, r3
|
||
595 001e 1A02 lsl r2, r3, #8
|
||
596 0020 2C4B ldr r3, .L35+12
|
||
597 0022 1B78 ldrb r3, [r3]
|
||
598 0024 DBB2 uxtb r3, r3
|
||
599 0026 1343 orr r3, r2
|
||
600 0028 3B60 str r3, [r7]
|
||
332:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
333:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** if ((ldo == CYBLE_SFLASH_BLERD_LDO_REG_VAL1) && (trimRegValue == CYBLE_SFLASH_BLERD_BB_BUMP2_RE
|
||
601 .loc 1 333 0
|
||
602 002a 3A68 ldr r2, [r7]
|
||
603 002c 2A4B ldr r3, .L35+16
|
||
604 002e 9A42 cmp r2, r3
|
||
605 0030 07D1 bne .L29
|
||
606 .loc 1 333 0 is_stmt 0 discriminator 1
|
||
607 0032 7B68 ldr r3, [r7, #4]
|
||
608 0034 072B cmp r3, #7
|
||
609 0036 04D1 bne .L29
|
||
334:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
335:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** ldo = CYBLE_BLERD_LDO_REG_VAL_FINAL;
|
||
610 .loc 1 335 0 is_stmt 1
|
||
611 0038 284B ldr r3, .L35+20
|
||
612 003a 3B60 str r3, [r7]
|
||
336:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** trimRegValue = CYBLE_BLERD_BB_BUMP2_REG_VAL_FINAL;
|
||
613 .loc 1 336 0
|
||
614 003c 0423 mov r3, #4
|
||
615 003e 7B60 str r3, [r7, #4]
|
||
616 0040 09E0 b .L30
|
||
617 .L29:
|
||
337:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
338:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** else if ((ldo == CYBLE_SFLASH_BLERD_LDO_REG_VAL2) && (trimRegValue == CYBLE_BLERD_BB_BUMP2_REG_
|
||
618 .loc 1 338 0
|
||
619 0042 3A68 ldr r2, [r7]
|
||
620 0044 D423 mov r3, #212
|
||
621 0046 1B01 lsl r3, r3, #4
|
||
622 0048 9A42 cmp r2, r3
|
||
623 004a 04D1 bne .L30
|
||
624 .loc 1 338 0 is_stmt 0 discriminator 1
|
||
625 004c 7B68 ldr r3, [r7, #4]
|
||
626 004e 042B cmp r3, #4
|
||
ARM GAS C:\Users\pmad\AppData\Local\Temp\cctdiGD0.s page 18
|
||
|
||
|
||
627 0050 01D1 bne .L30
|
||
339:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
340:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** ldo = CYBLE_BLERD_LDO_REG_VAL_FINAL;
|
||
628 .loc 1 340 0 is_stmt 1
|
||
629 0052 224B ldr r3, .L35+20
|
||
630 0054 3B60 str r3, [r7]
|
||
631 .L30:
|
||
341:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
342:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** else
|
||
343:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** {
|
||
344:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** }
|
||
345:.\Generated_Source\PSoC4/BLE_HAL_PVT.c ****
|
||
346:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** CYBLE_BLE_BLERD_LDO_REG = ldo;
|
||
632 .loc 1 346 0
|
||
633 0056 224B ldr r3, .L35+24
|
||
634 0058 3A68 ldr r2, [r7]
|
||
635 005a 1A60 str r2, [r3]
|
||
347:.\Generated_Source\PSoC4/BLE_HAL_PVT.c **** CYBLE_BLE_BLERD_BB_BUMP2_REG = trimRegValue;
|
||
636 .loc 1 347 0
|
Also available in: Unified diff
from Patrick Kane's 9/3/15 PSoC4 BLE workshop