Page 1 objs\release\main.s Command Line: C:\ghs\comp_202114\asarm.exe -annotate_call_return -elf -b0 -IGenerated\inc\ -I..\Generated\inc -I..\Src -I..\Generated\inc\ -I..\..\..\MCAL\Platform_ZX_K14xM\Inc -I..\..\..\MCAL\Platform_ZX_K14xM\StartUp\Inc -I..\..\..\MCAL\McalLib_ZX_K14xM\Inc\Devices -I..\..\..\MCAL\McalLib_ZX_K14xM\Inc -I..\..\..\MCAL\Mcu_ZX_K14xM\Inc -I..\..\..\MCAL\Adc_ZX_K14xM\Inc -I..\..\..\MCAL\Dem_ZX_K14xM\Inc -I..\..\..\MCAL\Det_ZX_K14xM\Inc -I..\..\..\MCAL\Dio_ZX_K14xM\Inc -I..\..\..\MCAL\Base_ZX_K14xM\Inc -I..\..\..\MCAL\Wdg_ZX_K14xM\Inc -I..\..\..\MCAL\Port_ZX_K14xM\Inc -I..\..\..\MCAL\Rte_ZX_K14xM\Inc -I..\..\..\MCAL\Base_ZX_K14xM\Inc\MemMap -I..\..\..\MCAL\WdgIf_ZX_K14xM\Inc -I..\..\..\MCAL\Can_ZX_K14xM\Inc -I..\..\..\MCAL\Gpt_ZX_K14xM\Inc -I..\..\..\MCAL\Dma_ZX_K14xM\Inc -I..\..\..\MCAL\Pwm_ZX_K14xM\Inc -I..\..\..\MCAL\EcuM_ZX_K14xM\Inc -I..\..\..\MCAL\CanIf_ZX_K14xM\Inc -I..\..\..\mcal\Icu_ZX_K14xM\Inc -I..\..\..\MCAL\Ecum_ZX_K14xM\Inc -I..\..\..\MCAL\Fls_ZX_K14xM\Inc -I..\..\..\MCAL\MemIf_ZX_K14xM\Inc -I..\..\..\mcal\Spi_ZX_K14xM\Inc -I..\..\..\Package\OS\Task -I..\..\..\Package\OS\Task\cpu_port\Zhixin -I..\..\..\Package\cm_backtrace -I..\..\..\Package\Cdd -I..\..\..\Package\Cdd\CddBuck\Gen -I..\..\..\Package\Cdd\CddSbc\Api -I..\..\..\Package\Cdd\CddSbc\Cfg -I..\..\..\Package\Cdd\CddTle94x1\Cfg -I..\..\..\Package\Cdd\CddTle94x1\Api -I..\..\..\Package\Cdd\CddTle94x1\Gen -I..\..\..\Package\Cdd\CddBoost\Api -IC:\ghs\comp_202114\lib\thumb2 -cpu=cortexm4f -fpu=vfpv3_d16 -fpu=single -hardware_divide -source=main.c -o objs\release\main.o -list=objs\release\main.lst objs\release\main.s Original File: objs\release\main.s Source File: main.c Directory: D:\AUTOMFL\AutoSAR\ZHIXIN\MCAL_Capri(1.2.0)\Project\Capri\MultiProject Host OS: Windows EASE: Copyright (C) 1983-2021 Green Hills Software. All Rights Reserved. Release: Compiler v2021.1.4 Build Directory: [Directory] COMP-VAL-WIN1:C:/autoval2/v2021.1-2021-04-25/win64-comp Revision: [VCInfo] http://toolsvc/branches/release-branch-2021-1-comp/src@696881 (built by auto-compiler) Revision Date: Mon Apr 26 12:33:25 2021 Release Date: Mon Apr 26 08:01:05 2021 1 ;Driver Command: ccarm -c -MD -IGenerated\inc\ -I..\Generated\inc -I..\Src 2 ; -I..\Src -I..\Generated\inc\ -I..\Src 3 ; -I..\..\..\MCAL\Platform_ZX_K14xM\Inc 4 ; -I..\..\..\MCAL\Platform_ZX_K14xM\StartUp\Inc 5 ; -I..\..\..\MCAL\McalLib_ZX_K14xM\Inc\Devices 6 ; -I..\..\..\MCAL\McalLib_ZX_K14xM\Inc 7 ; -I..\..\..\MCAL\Mcu_ZX_K14xM\Inc -I..\..\..\MCAL\Adc_ZX_K14xM\Inc 8 ; -I..\..\..\MCAL\Dem_ZX_K14xM\Inc -I..\..\..\MCAL\Det_ZX_K14xM\Inc 9 ; -I..\..\..\MCAL\Dio_ZX_K14xM\Inc 10 ; -I..\..\..\MCAL\Base_ZX_K14xM\Inc 11 ; -I..\..\..\MCAL\Wdg_ZX_K14xM\Inc 12 ; -I..\..\..\MCAL\Port_ZX_K14xM\Inc 13 ; -I..\..\..\MCAL\Rte_ZX_K14xM\Inc 14 ; -I..\..\..\MCAL\Base_ZX_K14xM\Inc\MemMap 15 ; -I..\..\..\MCAL\WdgIf_ZX_K14xM\Inc 16 ; -I..\..\..\MCAL\Can_ZX_K14xM\Inc -I..\..\..\MCAL\Gpt_ZX_K14xM\Inc 17 ; -I..\..\..\MCAL\Dma_ZX_K14xM\Inc -I..\..\..\MCAL\Pwm_ZX_K14xM\Inc 18 ; -I..\..\..\MCAL\EcuM_ZX_K14xM\Inc 19 ; -I..\..\..\MCAL\Can_ZX_K14xM\Inc 20 ; -I..\..\..\MCAL\CanIf_ZX_K14xM\Inc 21 ; -I..\..\..\mcal\Icu_ZX_K14xM\Inc 22 ; -I..\..\..\MCAL\Ecum_ZX_K14xM\Inc 23 ; -I..\..\..\MCAL\Fls_ZX_K14xM\Inc 24 ; -I..\..\..\MCAL\MemIf_ZX_K14xM\Inc 25 ; -I..\..\..\mcal\Icu_ZX_K14xM\Inc -I..\..\..\mcal\Spi_ZX_K14xM\Inc 26 ; -I..\..\..\Package\OS\Task 27 ; -I..\..\..\Package\OS\Task\cpu_port\Zhixin 28 ; -I..\..\..\Package\cm_backtrace -I..\..\..\Package\Cdd 29 ; -I..\..\..\Package\Cdd\CddBuck\Gen 30 ; -I..\..\..\Package\Cdd\CddBuck\Gen 31 ; -I..\..\..\Package\Cdd\CddSbc\Api 32 ; -I..\..\..\Package\Cdd\CddSbc\Cfg 33 ; -I..\..\..\Package\Cdd\CddTle94x1\Cfg 34 ; -I..\..\..\Package\Cdd\CddTle94x1\Api 35 ; -I..\..\..\Package\Cdd\CddTle94x1\Gen 36 ; -I..\..\..\Package\Cdd\CddBoost\Api -cpu=cortexm4f -Wshadow 37 ; -Wtrigraphs -keeptempfiles -Wundef -Wimplicit-int -dual_debug 38 ; --no_commons --no_exceptions --gnu_asm 39 ; --incorrect_pragma_warnings --prototype_errors -list 40 ; --misra_2004=2.1 -ignore_debug_references 41 ; -preprocess_assembly_files -thumb_lib -thumb --hardware_divide 42 ; -c99 -no_japanese_automotive_c --std --stdl --slash_comment 43 ; -Ospeed --no_debug -object_dir=objs\release -filetype.c 44 ; ..\Src\main.c -o objs\release\main.o 45 ;Source File: ..\Src\main.c 46 ;Directory: 47 ; D:\AUTOMFL\AutoSAR\ZHIXIN\MCAL_Capri(1.2.0)\Project\Capri\MultiProject 48 ;Compile Date: Mon Dec 18 00:01:48 2023 49 ;Host OS: Win64 50 ;Version: C-ARM 2021.1.4 RELEASE VERSION Page 2 objs\release\main.s 51 ;Release: Compiler v2021.1.4 52 ;Revision Date: Mon Apr 26 12:37:23 2021 53 ;Release Date: Mon Apr 26 08:01:05 2021 54 ; ecom -w -OLM 55 .text 56 .align 2 57 ..gh.f.f.1.a.1.e.0: 58 .endo ..gh.f.f.1.a.1.e.0 59 .thumb2 60 DelayMS:: 00000000 b560 61 push {r5-r6,lr} 00000002 26fa 62 movs r6,250 63 .L169: 00000004 257d 64 movs r5,125 65 .L171: 66 ..gh.beginasm.1: 67 .endo ..gh.beginasm.1 00000006 bf00 68 nop 69 70 ..gh.endasm.2: 71 .endo ..gh.endasm.2 72 73 ..gh.beginasm.3: 74 .endo ..gh.beginasm.3 00000008 bf00 75 nop 76 77 ..gh.endasm.4: 78 .endo ..gh.endasm.4 79 80 ..gh.beginasm.5: 81 .endo ..gh.beginasm.5 0000000a bf00 82 nop 83 84 ..gh.endasm.6: 85 .endo ..gh.endasm.6 86 87 ..gh.beginasm.7: 88 .endo ..gh.beginasm.7 0000000c bf00 89 nop 90 91 ..gh.endasm.8: 92 .endo ..gh.endasm.8 93 94 ..gh.beginasm.9: 95 .endo ..gh.beginasm.9 0000000e bf00 96 nop 97 98 ..gh.endasm.10: 99 .endo ..gh.endasm.10 100 101 ..gh.beginasm.11: 102 .endo ..gh.beginasm.11 00000010 bf00 103 nop 104 105 ..gh.endasm.12: 106 .endo ..gh.endasm.12 107 108 ..gh.beginasm.13: 109 .endo ..gh.beginasm.13 00000012 bf00 110 nop 111 Page 3 objs\release\main.s 112 ..gh.endasm.14: 113 .endo ..gh.endasm.14 114 115 ..gh.beginasm.15: 116 .endo ..gh.beginasm.15 00000014 bf00 117 nop 118 119 ..gh.endasm.16: 120 .endo ..gh.endasm.16 121 00000016 1e6d 122 subs r5,r5,1 00000018 d1f5* 123 bne .L171 0000001a 257d 124 movs r5,125 125 .L179: 126 ..gh.beginasm.17: 127 .endo ..gh.beginasm.17 0000001c bf00 128 nop 129 130 ..gh.endasm.18: 131 .endo ..gh.endasm.18 132 133 ..gh.beginasm.19: 134 .endo ..gh.beginasm.19 0000001e bf00 135 nop 136 137 ..gh.endasm.20: 138 .endo ..gh.endasm.20 139 140 ..gh.beginasm.21: 141 .endo ..gh.beginasm.21 00000020 bf00 142 nop 143 144 ..gh.endasm.22: 145 .endo ..gh.endasm.22 146 147 ..gh.beginasm.23: 148 .endo ..gh.beginasm.23 00000022 bf00 149 nop 150 151 ..gh.endasm.24: 152 .endo ..gh.endasm.24 153 154 ..gh.beginasm.25: 155 .endo ..gh.beginasm.25 00000024 bf00 156 nop 157 158 ..gh.endasm.26: 159 .endo ..gh.endasm.26 160 161 ..gh.beginasm.27: 162 .endo ..gh.beginasm.27 00000026 bf00 163 nop 164 165 ..gh.endasm.28: 166 .endo ..gh.endasm.28 167 168 ..gh.beginasm.29: 169 .endo ..gh.beginasm.29 00000028 bf00 170 nop 171 172 ..gh.endasm.30: Page 4 objs\release\main.s 173 .endo ..gh.endasm.30 174 175 ..gh.beginasm.31: 176 .endo ..gh.beginasm.31 0000002a bf00 177 nop 178 179 ..gh.endasm.32: 180 .endo ..gh.endasm.32 181 0000002c 1e6d 182 subs r5,r5,1 0000002e d1f5* 183 bne .L179 00000030 257d 184 movs r5,125 185 .L187: 186 ..gh.beginasm.33: 187 .endo ..gh.beginasm.33 00000032 bf00 188 nop 189 190 ..gh.endasm.34: 191 .endo ..gh.endasm.34 192 193 ..gh.beginasm.35: 194 .endo ..gh.beginasm.35 00000034 bf00 195 nop 196 197 ..gh.endasm.36: 198 .endo ..gh.endasm.36 199 200 ..gh.beginasm.37: 201 .endo ..gh.beginasm.37 00000036 bf00 202 nop 203 204 ..gh.endasm.38: 205 .endo ..gh.endasm.38 206 207 ..gh.beginasm.39: 208 .endo ..gh.beginasm.39 00000038 bf00 209 nop 210 211 ..gh.endasm.40: 212 .endo ..gh.endasm.40 213 214 ..gh.beginasm.41: 215 .endo ..gh.beginasm.41 0000003a bf00 216 nop 217 218 ..gh.endasm.42: 219 .endo ..gh.endasm.42 220 221 ..gh.beginasm.43: 222 .endo ..gh.beginasm.43 0000003c bf00 223 nop 224 225 ..gh.endasm.44: 226 .endo ..gh.endasm.44 227 228 ..gh.beginasm.45: 229 .endo ..gh.beginasm.45 0000003e bf00 230 nop 231 232 ..gh.endasm.46: 233 .endo ..gh.endasm.46 Page 5 objs\release\main.s 234 235 ..gh.beginasm.47: 236 .endo ..gh.beginasm.47 00000040 bf00 237 nop 238 239 ..gh.endasm.48: 240 .endo ..gh.endasm.48 241 00000042 1e6d 242 subs r5,r5,1 00000044 d1f5* 243 bne .L187 00000046 257d 244 movs r5,125 245 .L195: 246 ..gh.beginasm.49: 247 .endo ..gh.beginasm.49 00000048 bf00 248 nop 249 250 ..gh.endasm.50: 251 .endo ..gh.endasm.50 252 253 ..gh.beginasm.51: 254 .endo ..gh.beginasm.51 0000004a bf00 255 nop 256 257 ..gh.endasm.52: 258 .endo ..gh.endasm.52 259 260 ..gh.beginasm.53: 261 .endo ..gh.beginasm.53 0000004c bf00 262 nop 263 264 ..gh.endasm.54: 265 .endo ..gh.endasm.54 266 267 ..gh.beginasm.55: 268 .endo ..gh.beginasm.55 0000004e bf00 269 nop 270 271 ..gh.endasm.56: 272 .endo ..gh.endasm.56 273 274 ..gh.beginasm.57: 275 .endo ..gh.beginasm.57 00000050 bf00 276 nop 277 278 ..gh.endasm.58: 279 .endo ..gh.endasm.58 280 281 ..gh.beginasm.59: 282 .endo ..gh.beginasm.59 00000052 bf00 283 nop 284 285 ..gh.endasm.60: 286 .endo ..gh.endasm.60 287 288 ..gh.beginasm.61: 289 .endo ..gh.beginasm.61 00000054 bf00 290 nop 291 292 ..gh.endasm.62: 293 .endo ..gh.endasm.62 294 Page 6 objs\release\main.s 295 ..gh.beginasm.63: 296 .endo ..gh.beginasm.63 00000056 bf00 297 nop 298 299 ..gh.endasm.64: 300 .endo ..gh.endasm.64 301 00000058 1e6d 302 subs r5,r5,1 0000005a d1f5* 303 bne .L195 0000005c 1e76 304 subs r6,r6,1 0000005e d1d1* 305 bne .L169 306 .L868: 307 00000060 bd60 308 pop {r5-r6,pc} 309 .endf DelayMS 310 ;speed1 r4 local 311 312 .section ".bss","awb" 313 .L702: 314 .endo .L702 315 .section ".ghrettbl","" 316 .align 4 00000000 00000000* 317 .L869: .data.w .L868 318 .endo .L869 319 .text 320 ..gh.f.f.1.a.1.e.65: 321 .endo ..gh.f.f.1.a.1.e.65 322 main:: 00000062 b500 323 push {lr} 324 .L984: 325 00000064 f000f800* 326 bl McalLib_Init 00000068 2000 327 movs r0,0 328 .L986: 329 0000006a f000f800* 330 bl Mcu_Init 0000006e 2000 331 movs r0,0 332 .L988: 333 00000070 f000f800* 334 bl Mcu_InitClock 335 .L875: 336 .L990: 337 00000074 f000f800* 338 bl Mcu_GetPllStatus 00000078 2800 339 cmp r0,0 0000007a d1fb* 340 bne .L875 341 .L992: 342 0000007c f000f800* 343 bl Mcu_DistributePllClock 00000080 2000 344 movs r0,0 345 .L994: 346 00000082 f000f800* 347 bl Mcu_SetMode 00000086 2000 348 movs r0,0 349 .L996: 350 00000088 f000f800* 351 bl Platform_Init 0000008c 2000 352 movs r0,0 353 .L998: 354 0000008e f000f800* 355 bl Wdg_Init Page 7 objs\release\main.s 00000092 2000 356 movs r0,0 357 .L1000: 358 00000094 f000f800* 359 bl Wdg_SetMode 00000098 2000 360 movs r0,0 361 .L1002: 362 0000009a f000f800* 363 bl Dma_Init 0000009e 2101 364 movs r1,1 000000a0 2000 365 movs r0,0 366 .L1004: 367 000000a2 f000f800* 368 bl Dma_EnableChannelHwRequest 000000a6 2000 369 movs r0,0 370 .L1006: 371 000000a8 f000f800* 372 bl Can_Init 000000ac 2000 373 movs r0,0 374 .L1008: 375 000000ae f000f800* 376 bl Port_Init 000000b2 2000 377 movs r0,0 378 .L1010: 379 000000b4 f000f800* 380 bl Gpt_Init 381 .L1012: 382 000000b8 f000f800* 383 bl InitADC 384 .L1014: 385 000000bc f000f800* 386 bl InitPWM 387 .L1016: 388 000000c0 f000f800* 389 bl InitSysTick 390 .L1018: 391 000000c4 f000f800* 392 bl TaskProc 000000c8 2000 393 movs r0,0 394 .L1020: 395 000000ca bd00 396 pop {pc} 397 .endf main 398 399 .section ".bss","awb" 400 .L946: 401 .endo .L946 402 .section ".ghcalltbl","" 403 .align 4 00000000 00000000* 404 .L985: .data.w .L984 405 .endo .L985 00000004 00000000* 406 .L987: .data.w .L986 407 .endo .L987 00000008 00000000* 408 .L989: .data.w .L988 409 .endo .L989 0000000c 00000000* 410 .L991: .data.w .L990 411 .endo .L991 00000010 00000000* 412 .L993: .data.w .L992 413 .endo .L993 00000014 00000000* 414 .L995: .data.w .L994 415 .endo .L995 00000018 00000000* 416 .L997: .data.w .L996 Page 8 objs\release\main.s 417 .endo .L997 0000001c 00000000* 418 .L999: .data.w .L998 419 .endo .L999 00000020 00000000* 420 .L1001: .data.w .L1000 421 .endo .L1001 00000024 00000000* 422 .L1003: .data.w .L1002 423 .endo .L1003 00000028 00000000* 424 .L1005: .data.w .L1004 425 .endo .L1005 0000002c 00000000* 426 .L1007: .data.w .L1006 427 .endo .L1007 00000030 00000000* 428 .L1009: .data.w .L1008 429 .endo .L1009 00000034 00000000* 430 .L1011: .data.w .L1010 431 .endo .L1011 00000038 00000000* 432 .L1013: .data.w .L1012 433 .endo .L1013 0000003c 00000000* 434 .L1015: .data.w .L1014 435 .endo .L1015 00000040 00000000* 436 .L1017: .data.w .L1016 437 .endo .L1017 00000044 00000000* 438 .L1019: .data.w .L1018 439 .endo .L1019 440 .section ".ghrettbl","" 00000004 00000000* 441 .L1021: .data.w .L1020 442 .endo .L1021 443 .text 444 ..gh.f.f.1.a.1.e.66: 445 .endo ..gh.f.f.1.a.1.e.66 446 Watchdog_Disable:: 447 .L1061: 448 000000cc 4770 449 ret 450 .endf Watchdog_Disable 451 452 .section ".bss","awb" 453 .L1047: 454 .endo .L1047 455 .section ".ghrettbl","" 00000008 00000000* 456 .L1062: .data.w .L1061 457 .endo .L1062 458 .text 459 ..gh.f.f.1.a.1.e.67: 460 .endo ..gh.f.f.1.a.1.e.67 461 FOSCClkLossCallbackFunc:: 462 .L1109: 463 000000ce 4770 464 ret 465 .endf FOSCClkLossCallbackFunc 466 467 .section ".bss","awb" 468 .L1095: 469 .endo .L1095 470 .section ".ghrettbl","" 0000000c 00000000* 471 .L1110: .data.w .L1109 472 .endo .L1110 473 .text 474 ..gh.f.f.1.a.1.e.68: 475 .endo ..gh.f.f.1.a.1.e.68 476 WdgBefRefreshCallBackPtr:: 477 .L1157: Page 9 objs\release\main.s 478 000000d0 4770 479 ret 480 .endf WdgBefRefreshCallBackPtr 481 482 .section ".bss","awb" 483 .L1143: 484 .endo .L1143 485 .section ".ghrettbl","" 00000010 00000000* 486 .L1158: .data.w .L1157 487 .endo .L1158 488 .text 489 ..gh.f.f.1.a.1.e.69: 490 .endo ..gh.f.f.1.a.1.e.69 491 WdgAftRefreshCallBackPtr:: 492 .L1205: 493 000000d2 4770 494 ret 495 .endf WdgAftRefreshCallBackPtr 496 497 .section ".bss","awb" 498 .L1191: 499 .endo .L1191 500 .section ".ghrettbl","" 00000014 00000000* 501 .L1206: .data.w .L1205 502 .endo .L1206 503 .text 504 ..gh.f.f.1.a.1.e.70: 505 .endo ..gh.f.f.1.a.1.e.70 506 Wdg_CallbackForGptNotification:: 507 .L1253: 508 000000d4 4770 509 ret 510 .endf Wdg_CallbackForGptNotification 511 512 .section ".bss","awb" 513 .L1239: 514 .endo .L1239 515 .section ".ghrettbl","" 00000018 00000000* 516 .L1254: .data.w .L1253 517 .endo .L1254 518 .text 519 520 .ghsnote info, 27, 8195, 640