###############################################################################
#
# IAR ELF Linker V7.40.7.9843/W32 for ARM                 17/Nov/2016  18:05:29
# Copyright 2007-2015 IAR Systems AB.
#
#    Output file  =  
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Exe\bootloader_gg.out
#    Map file     =  
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\List\bootloader_gg.map
#    Command line =  
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\aes.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\aes_keys.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\boot.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\bootloader.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\crc.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\debuglock.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\em_assert.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\em_cmu.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\em_emu.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\em_gpio.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\em_int.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\em_msc.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\em_system.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\em_usart.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\flash.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\startup_efm32gg.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\system_efm32gg.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\uart.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\verify.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj\xmodem.o
#        --redirect _Printf=_PrintfFull --redirect _Scanf=_ScanfFull -o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Exe\bootloader_gg.out
#        --map
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\List\bootloader_gg.map
#        --config
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\..\linkerfiles\bootloader.icf
#        --entry __iar_program_start --inline --vfe
#
###############################################################################

*******************************************************************************
*** RUNTIME MODEL ATTRIBUTES
***

CppFlavor       = *
__SystemLibrary = DLib


*******************************************************************************
*** PLACEMENT SUMMARY
***

"A1":  place at 0x00000000 { ro section .intvec };
"P1":  place in [from 0x00000000 to 0x00003fff] { ro };
"P2":  place in [from 0x20000000 to 0x2001ffff] { rw, block CSTACK, block HEAP };

  Section            Kind        Address    Size  Object
  -------            ----        -------    ----  ------
"A1":                                       0xdc
  .intvec            ro code  0x00000000    0xdc  startup_efm32gg.o [1]
                            - 0x000000dc    0xdc

"P1":                                     0x15f8
  Veneer             ro code  0x000000dc     0x8  - Linker created -
  Veneer             ro code  0x000000e4     0x8  - Linker created -
  Veneer             ro code  0x000000ec     0x8  - Linker created -
  Veneer             ro code  0x000000f4     0x8  - Linker created -
  Veneer             ro code  0x000000fc     0x8  - Linker created -
  Veneer             ro code  0x00000104     0x8  - Linker created -
  .text              ro code  0x0000010c   0x4bc  bootloader.o [1]
  .text              ro code  0x000005c8   0x108  em_gpio.o [1]
  Veneer             ro code  0x000006d0     0x8  - Linker created -
  Veneer             ro code  0x000006d8     0x8  - Linker created -
  .text              ro code  0x000006e0    0xd6  verify.o [1]
  .text              ro code  0x000007b8   0x13c  em_emu.o [1]
  .text              ro code  0x000008f4    0x78  uart.o [1]
  .text              ro code  0x0000096c    0x34  em_system.o [1]
  .text              ro code  0x000009a0   0x468  em_cmu.o [1]
  .text              ro code  0x00000e08    0x3c  boot.o [1]
  .text              ro code  0x00000e44    0x76  ABImemcpy_unaligned.o [4]
  .text              ro code  0x00000ebc    0xe4  system_efm32gg.o [1]
  .text              ro code  0x00000fa0    0xf8  em_usart.o [1]
  .text              ro code  0x00001098    0x40  zero_init3.o [4]
  .text              ro code  0x000010d8    0x2c  copy_init3.o [4]
  .text              ro code  0x00001104    0x28  data_init.o [4]
  .iar.init_table    const    0x0000112c    0x24  - Linker created -
  .text              ro code  0x00001150    0x1a  cmain.o [4]
  .text              ro code  0x0000116a     0x4  exit.o [3]
  .text              ro code  0x00001170     0xa  cexit.o [4]
  .text              ro code  0x0000117c     0xc  XXexit.o [4]
  .text              ro code  0x00001188    0x10  startup_efm32gg.o [1]
  .text              ro code  0x00001198     0xc  cstartup_M.o [4]
  .text              ro code  0x000011a4     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011a8     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011ac     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011b0     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011b4     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011b8     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011bc     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011c0     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011c4     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011c8     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011cc     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011d0     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011d4     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011d8     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011dc     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011e0     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011e4     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011e8     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011ec     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011f0     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011f4     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011f8     0x4  startup_efm32gg.o [1]
  .text              ro code  0x000011fc     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001200     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001204     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001208     0x4  startup_efm32gg.o [1]
  .text              ro code  0x0000120c     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001210     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001214     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001218     0x4  startup_efm32gg.o [1]
  .text              ro code  0x0000121c     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001220     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001224     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001228     0x4  startup_efm32gg.o [1]
  .text              ro code  0x0000122c     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001230     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001234     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001238     0x4  startup_efm32gg.o [1]
  .text              ro code  0x0000123c     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001240     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001244     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001248     0x4  startup_efm32gg.o [1]
  .text              ro code  0x0000124c     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001250     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001254     0x4  startup_efm32gg.o [1]
  .text              ro code  0x00001258     0x4  startup_efm32gg.o [1]
  .rodata            const    0x0000125c     0x0  zero_init3.o [4]
  .rodata            const    0x0000125c     0x0  copy_init3.o [4]
  Initializer bytes  const    0x0000125c   0x478  <for P2 s0>
                            - 0x000016d4  0x15f8

"P2":                                     0x1c20
  P2 s0                       0x20000000   0x478  <Init block>
    .textrw          inited   0x20000000   0x144  flash.o [1]
    .textrw          inited   0x20000144   0x12c  xmodem.o [1]
    .textrw          inited   0x20000270    0x30  crc.o [1]
    Veneer           inited   0x200002a0     0x8  - Linker created -
    .textrw          inited   0x200002a8   0x120  aes.o [1]
    .textrw          inited   0x200003c8    0x3c  uart.o [1]
    .data            inited   0x20000404    0x20  aes_keys.o [1]
    .textrw          inited   0x20000424    0x1c  debuglock.o [1]
    .data            inited   0x20000440    0x10  aes_keys.o [1]
    .data            inited   0x20000450    0x10  aes_keys.o [1]
    .data            inited   0x20000460    0x10  aes_keys.o [1]
    .data            inited   0x20000470     0x8  system_efm32gg.o [1]
  .bss               zero     0x20000478  0x1000  flash.o [1]
  .bss               zero     0x20001478   0x210  xmodem.o [1]
  .bss               zero     0x20001688    0x30  aes.o [1]
  .bss               zero     0x20001800    0x10  flash.o [1]
  .bss               zero     0x20001810     0x4  em_emu.o [1]
  .bss               zero     0x20001814     0x4  em_int.o [1]
  .bss               zero     0x20001818     0x4  system_efm32gg.o [1]
  CSTACK                      0x20001820   0x400  <Block>
    CSTACK           uninit   0x20001820   0x400  <Block tail>
                            - 0x20001c20  0x1c20


*******************************************************************************
*** INIT TABLE
***

          Address     Size
          -------     ----
Zero (__iar_zero_init3)
    1 destination range, total size 0x13a4:
          0x20000478  0x13a4

Copy (__iar_copy_init3)
    1 source range, total size 0x478:
          0x0000125c   0x478
    1 destination range, total size 0x478:
          0x20000000   0x478



*******************************************************************************
*** MODULE SUMMARY
***

    Module                 ro code  rw code  ro data  rw data
    ------                 -------  -------  -------  -------
c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj: [1]
    aes.o                               288      288       48
    aes_keys.o                                    80       80
    boot.o                      60
    bootloader.o             1 212
    crc.o                                48       48
    debuglock.o                          28       28
    em_cmu.o                 1 128
    em_emu.o                   316                          4
    em_gpio.o                  264
    em_int.o                                                4
    em_system.o                 52
    em_usart.o                 248
    flash.o                             324      324    4 112
    startup_efm32gg.o          420
    system_efm32gg.o           228                 8       12
    uart.o                     120       60       60
    verify.o                   214
    xmodem.o                            300      300      528
    ---------------------------------------------------------
    Total:                   4 262    1 048    1 136    4 788

command line: [2]
    ---------------------------------------------------------
    Total:

dl7M_tln.a: [3]
    exit.o                       4
    ---------------------------------------------------------
    Total:                       4

rt7M_tl.a: [4]
    ABImemcpy_unaligned.o      118
    XXexit.o                    12
    cexit.o                     10
    cmain.o                     26
    copy_init3.o                44
    cstartup_M.o                12
    data_init.o                 40
    zero_init3.o                64
    ---------------------------------------------------------
    Total:                     326

    Gaps                         8                        328
    Linker created              64        8       44    1 024
-------------------------------------------------------------
    Grand Total:             4 664    1 056    1 180    6 140


*******************************************************************************
*** ENTRY LIST
***

Entry                      Address    Size  Type      Object
-----                      -------    ----  ----      ------
.iar.init_table$$Base   0x0000112c           --   Gb  - Linker created -
.iar.init_table$$Limit  0x00001150           --   Gb  - Linker created -
?main                   0x00001151          Code  Gb  cmain.o [4]
BLUART_init             0x000008f5    0x52  Code  Gb  uart.o [1]
BLUART_receive          0x200003c9     0xe  Code  Gb  uart.o [1]
BLUART_send             0x200003d7     0xc  Code  Gb  uart.o [1]
BLUART_sendString       0x200003e3    0x1e  Code  Gb  uart.o [1]
BOOT_boot               0x00000e15    0x28  Code  Gb  boot.o [1]
BOOT_jump               0x00000e09     0xc  Code  Gb  boot.o [1]
BUS_RegBitRead          0x000009af     0xe  Code  Lc  em_cmu.o [1]
BUS_RegBitWrite         0x000009a1     0xe  Code  Lc  em_cmu.o [1]
BUS_RegBitWrite         0x000005c9     0xe  Code  Lc  em_gpio.o [1]
CMU_ClockEnable         0x00000b47    0x74  Code  Gb  em_cmu.o [1]
CMU_ClockFreqGet        0x00000bbb   0x138  Code  Gb  em_cmu.o [1]
CMU_ClockSelectGet      0x00000cf3    0xba  Code  Gb  em_cmu.o [1]
CRC_calc                0x20000271    0x30  Code  Gb  crc.o [1]
CSTACK$$Base            0x20001820           --   Gb  - Linker created -
CSTACK$$Limit           0x20001c20           --   Gb  - Linker created -
DEBUGLOCK_lock          0x20000425    0x16  Code  Gb  debuglock.o [1]
EMU_EnterEM3            0x00000869    0x64  Code  Gb  em_emu.o [1]
FLASH_erasePage         0x2000006d    0x30  Code  Gb  flash.o [1]
FLASH_init              0x20000001    0x26  Code  Gb  flash.o [1]
FLASH_write             0x20000027    0x46  Code  Gb  flash.o [1]
FLASH_writeWord         0x2000009d    0x1c  Code  Gb  flash.o [1]
GPIO_EVEN_IRQHandler    0x0000029b     0x2  Code  Gb  bootloader.o [1]
GPIO_ExtIntConfig       0x000005fb    0x4c  Code  Gb  em_gpio.o [1]
GPIO_IntConfig          0x0000013f    0x12  Code  Lc  bootloader.o [1]
GPIO_ODD_IRQHandler     0x0000029d     0x2  Code  Gb  bootloader.o [1]
GPIO_PinInGet           0x00000127    0x18  Code  Lc  bootloader.o [1]
GPIO_PinModeSet         0x00000653    0x6a  Code  Gb  em_gpio.o [1]
GPIO_PinOutClear        0x000005d7    0x12  Code  Lc  em_gpio.o [1]
GPIO_PinOutSet          0x000005e9    0x12  Code  Lc  em_gpio.o [1]
INT_LockCnt             0x20001814     0x4  Data  Gb  em_int.o [1]
NVIC_SystemReset        0x0000010d    0x1a  Code  Lc  bootloader.o [1]
Region$$Table$$Base     0x0000112c           --   Gb  - Linker created -
Region$$Table$$Limit    0x00001150           --   Gb  - Linker created -
SYSTEM_ChipRevisionGet  0x0000096d    0x2e  Code  Gb  em_system.o [1]
SystemCoreClock         0x20001818     0x4  Data  Gb  system_efm32gg.o [1]
SystemCoreClockGet      0x00000ebd    0x16  Code  Gb  system_efm32gg.o [1]
SystemHFClockGet        0x00000ed3    0x8c  Code  Gb  system_efm32gg.o [1]
SystemHFXOClock         0x20000470     0x4  Data  Lc  system_efm32gg.o [1]
SystemInit              0x00000f5f     0x2  Code  Gb  system_efm32gg.o [1]
SystemLFRCOClockGet     0x00000f61     0x6  Code  Gb  system_efm32gg.o [1]
SystemLFXOClock         0x20000474     0x4  Data  Lc  system_efm32gg.o [1]
SystemLFXOClockGet      0x00000f67     0x6  Code  Gb  system_efm32gg.o [1]
USART_BaudrateAsyncSet  0x00000fa1    0x58  Code  Gb  em_usart.o [1]
USART_InitAsync         0x00000ff9    0x40  Code  Gb  em_usart.o [1]
USART_Reset             0x0000103f    0x42  Code  Gb  em_usart.o [1]
XMODEM_download         0x2000017b    0xe4  Code  Gb  xmodem.o [1]
XMODEM_verifyPacketChecksum
                        0x20000145    0x36  Code  Gb  xmodem.o [1]
__Vectors               0x00000000           --   Gb  startup_efm32gg.o [1]
__Vectors_End           0x000000dc          Data  Gb  startup_efm32gg.o [1]
__Vectors_Size {Abs}    0x000000dc           --   Gb  startup_efm32gg.o [1]
__cmain                 0x00001151          Code  Gb  cmain.o [4]
__exit                  0x0000117d          Code  Gb  XXexit.o [4]
__iar_copy_init3        0x000010d9    0x2c  Code  Gb  copy_init3.o [4]
__iar_data_init3        0x00001105    0x28  Code  Gb  data_init.o [4]
__iar_program_start     0x00001199          Code  Gb  cstartup_M.o [4]
__iar_unaligned___aeabi_memcpy
                        0x00000e45          Code  Gb  ABImemcpy_unaligned.o [4]
__iar_unaligned___aeabi_memcpy4
                        0x00000e65          Code  Gb  ABImemcpy_unaligned.o [4]
__iar_unaligned___aeabi_memcpy8
                        0x00000e65          Code  Gb  ABImemcpy_unaligned.o [4]
__iar_zero_init3        0x00001099    0x40  Code  Gb  zero_init3.o [4]
__vector_table          0x00000000          Data  Gb  startup_efm32gg.o [1]
__vector_table_0x1c     0x0000001c          Data  Gb  startup_efm32gg.o [1]
_call_main              0x0000115d          Code  Gb  cmain.o [4]
_exit                   0x00001171          Code  Gb  cexit.o [4]
_main                   0x00001167          Code  Gb  cmain.o [4]
auxClkGet               0x00000a3f    0x70  Code  Lc  em_cmu.o [1]
cmuStatus               0x20001810     0x4  Data  Lc  em_emu.o [1]
commandLoop             0x00000229    0x72  Code  Gb  bootloader.o [1]
copyFirmwareFromTempStorage
                        0x200000b9    0x6c  Code  Gb  flash.o [1]
decryptBlockCBC         0x20000385    0x22  Code  Gb  aes.o [1]
decryptCBC              0x200002a9    0x3e  Code  Gb  aes.o [1]
decryptionKey           0x20001698    0x20  Data  Lc  aes.o [1]
descr                   0x20001800    0x10  Data  Gb  flash.o [1]
emuRestore              0x000007b9    0x82  Code  Lc  em_emu.o [1]
enableDebugLock         0x0000020f    0x1a  Code  Gb  bootloader.o [1]
encryptCBC128           0x200002e7    0x36  Code  Gb  aes.o [1]
encryptionKey           0x20000404    0x20  Data  Gb  aes_keys.o [1]
endDecryptCBC           0x200003a7     0xc  Code  Gb  aes.o [1]
enterBootloaderMode     0x000002e5    0x2e  Code  Gb  bootloader.o [1]
enterDownloadMode       0x0000019f    0x70  Code  Gb  bootloader.o [1]
enterLowPowerWait       0x000002a7    0x3e  Code  Gb  bootloader.o [1]
exit                    0x0000116b     0x4  Code  Gb  exit.o [3]
getErrataFixEmuE107En   0x0000083b    0x2e  Code  Lc  em_emu.o [1]
getHfLeConfig           0x00000a23    0x1c  Code  Lc  em_cmu.o [1]
hashInitVector          0x20000460    0x10  Data  Gb  aes_keys.o [1]
hashKey                 0x20000450    0x10  Data  Gb  aes_keys.o [1]
initVector              0x20000440    0x10  Data  Gb  aes_keys.o [1]
isFirmwareValid         0x00000767    0x12  Code  Gb  verify.o [1]
isTempStorageValid      0x00000779    0x10  Code  Gb  verify.o [1]
lfClkGet                0x00000aaf    0x86  Code  Lc  em_cmu.o [1]
main                    0x00000319    0x70  Code  Gb  bootloader.o [1]
markFirmwareAsDeleted   0x000007ad     0x2  Code  Gb  verify.o [1]
markFirmwareAsVerified  0x00000789     0x6  Code  Gb  verify.o [1]
markTempAsVerified      0x0000078f     0xa  Code  Gb  verify.o [1]
maxFreqHfle             0x000009bd    0x46  Code  Lc  em_cmu.o [1]
pageBuffer              0x20000478  0x1000  Data  Lc  flash.o [1]
prevCipher              0x20001688    0x10  Data  Lc  aes.o [1]
rawBuffer               0x20001588   0x100  Data  Gb  xmodem.o [1]
rawPacket               0x20001478   0x110  Data  Gb  xmodem.o [1]
sendWelcomeMessage      0x00000151    0x4e  Code  Gb  bootloader.o [1]
setHfLeConfig           0x00000a03    0x20  Code  Lc  em_cmu.o [1]
startDecryptCBC         0x2000032b    0x5a  Code  Gb  aes.o [1]
syncReg                 0x00000b35    0x12  Code  Lc  em_cmu.o [1]
verifyActiveFirmware    0x0000075b     0x6  Code  Gb  verify.o [1]
verifyFirmware          0x000006e1    0x7a  Code  Gb  verify.o [1]
verifyTempStorage       0x00000761     0x6  Code  Gb  verify.o [1]


[1] = c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_gg\Release\Obj
[2] = command line
[3] = dl7M_tln.a
[4] = rt7M_tl.a

  4 664 bytes of readonly  code memory
  1 056 bytes of readwrite code memory
  1 180 bytes of readonly  data memory
  6 140 bytes of readwrite data memory

Errors: none
Warnings: none
