Project

General

Profile

« Previous | Next » 
<-- MJA add screen reader only label -->

Revision 7

from Patrick Kane's 9/3/15 PSoC4 BLE workshop

View differences:

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

Also available in: Unified diff