###############################################################################
#
# IAR ELF Linker V7.40.7.9843/W32 for ARM                 17/Nov/2016  18:05:55
# Copyright 2007-2015 IAR Systems AB.
#
#    Output file  =  
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Exe\bootloader_hg.out
#    Map file     =  
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\List\bootloader_hg.map
#    Command line =  
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\aes.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\aes_keys.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\boot.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\bootloader.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\crc.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\debuglock.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\em_assert.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\em_cmu.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\em_emu.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\em_gpio.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\em_int.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\em_msc.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\em_system.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\em_usart.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\flash.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\startup_efm32hg.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\system_efm32hg.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\uart.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\verify.o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj\xmodem.o
#        --redirect _Printf=_PrintfFull --redirect _Scanf=_ScanfFull -o
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Exe\bootloader_hg.out
#        --map
#        c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\List\bootloader_hg.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":                                       0x94
  .intvec            ro code  0x00000000    0x94  startup_efm32hg.o [1]
                            - 0x00000094    0x94

"P1":                                     0x14a4
  Veneer             ro code  0x00000094    0x10  - Linker created -
  Veneer             ro code  0x000000a4    0x10  - Linker created -
  Veneer             ro code  0x000000b4    0x10  - Linker created -
  Veneer             ro code  0x000000c4    0x10  - Linker created -
  Veneer             ro code  0x000000d4    0x10  - Linker created -
  Veneer             ro code  0x000000e4    0x10  - Linker created -
  .text              ro code  0x000000f4   0x478  bootloader.o [1]
  .text              ro code  0x0000056c   0x10c  em_gpio.o [1]
  Veneer             ro code  0x00000678    0x10  - Linker created -
  Veneer             ro code  0x00000688    0x10  - Linker created -
  .text              ro code  0x00000698    0xe8  verify.o [1]
  .text              ro code  0x00000780    0xfc  em_emu.o [1]
  .text              ro code  0x0000087c    0x74  uart.o [1]
  .text              ro code  0x000008f0   0x348  em_cmu.o [1]
  .text              ro code  0x00000c38    0x3c  boot.o [1]
  .text              ro code  0x00000c74    0x5c  ABImemcpy.o [4]
  .text              ro code  0x00000cd0    0xcc  system_efm32hg.o [1]
  .text              ro code  0x00000d9c    0xf8  em_usart.o [1]
  .text              ro code  0x00000e94    0xae  I32DivModFast.o [4]
  .text              ro code  0x00000f42     0x2  startup_efm32hg.o [1]
  .rodata            const    0x00000f44    0x54  bootloader.o [1]
  .text              ro code  0x00000f98    0x3c  zero_init3.o [4]
  .text              ro code  0x00000fd4    0x30  copy_init3.o [4]
  .text              ro code  0x00001004    0x28  data_init.o [4]
  .iar.init_table    const    0x0000102c    0x24  - Linker created -
  .text              ro code  0x00001050    0x1a  cmain.o [4]
  .text              ro code  0x0000106a     0x8  exit.o [3]
  .text              ro code  0x00001072     0x2  startup_efm32hg.o [1]
  .text              ro code  0x00001074     0xa  cexit.o [4]
  .text              ro code  0x0000107e     0x2  startup_efm32hg.o [1]
  .text              ro code  0x00001080     0xc  XXexit.o [4]
  .text              ro code  0x0000108c    0x10  startup_efm32hg.o [1]
  .text              ro code  0x0000109c     0xc  cstartup_M.o [4]
  .text              ro code  0x000010a8     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010aa     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010ac     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010ae     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010b0     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010b2     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010b4     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010b6     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010b8     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010ba     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010bc     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010be     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010c0     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010c2     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010c4     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010c6     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010c8     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010ca     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010cc     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010ce     0x2  startup_efm32hg.o [1]
  .text              ro code  0x000010d0     0x2  startup_efm32hg.o [1]
  .rodata            const    0x000010d2     0x0  zero_init3.o [4]
  .rodata            const    0x000010d2     0x0  copy_init3.o [4]
  Initializer bytes  const    0x000010d4   0x464  <for P2 s0>
                            - 0x00001538  0x14a4

"P2":                                      0xf20
  P2 s0                       0x20000000   0x464  <Init block>
    .textrw          inited   0x20000000   0x14c  flash.o [1]
    .textrw          inited   0x2000014c   0x134  xmodem.o [1]
    .textrw          inited   0x20000280    0x32  crc.o [1]
    Veneer           inited   0x200002b4    0x10  - Linker created -
    .textrw          inited   0x200002c4   0x100  aes.o [1]
    .textrw          inited   0x200003c4    0x3c  uart.o [1]
    .textrw          inited   0x20000400    0x1c  debuglock.o [1]
    .data            inited   0x2000041c    0x10  aes_keys.o [1]
    .data            inited   0x2000042c    0x10  aes_keys.o [1]
    .data            inited   0x2000043c    0x10  aes_keys.o [1]
    .data            inited   0x2000044c    0x10  aes_keys.o [1]
    .data            inited   0x2000045c     0x8  system_efm32hg.o [1]
  .bss               zero     0x20000464   0x400  flash.o [1]
  .bss               zero     0x20000864   0x210  xmodem.o [1]
  .bss               zero     0x20000a74    0x20  aes.o [1]
  .bss               zero     0x20000b00    0x10  flash.o [1]
  .bss               zero     0x20000b10     0x4  em_emu.o [1]
  .bss               zero     0x20000b14     0x4  em_int.o [1]
  .bss               zero     0x20000b18     0x4  system_efm32hg.o [1]
  CSTACK                      0x20000b20   0x400  <Block>
    CSTACK           uninit   0x20000b20   0x400  <Block tail>
                            - 0x20000f20   0xf20


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

          Address     Size
          -------     ----
Zero (__iar_zero_init3)
    1 destination range, total size 0x6b8:
          0x20000464  0x6b8

Copy (__iar_copy_init3)
    1 source range, total size 0x464:
          0x000010d4  0x464
    1 destination range, total size 0x464:
          0x20000000  0x464



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

    Module             ro code  rw code  ro data  rw data
    ------             -------  -------  -------  -------
c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj: [1]
    aes.o                           256      256       32
    aes_keys.o                                64       64
    boot.o                  60
    bootloader.o         1 144                84
    crc.o                            50       50
    debuglock.o                      28       28
    em_cmu.o               840
    em_emu.o               252                          4
    em_gpio.o              268
    em_int.o                                            4
    em_usart.o             248
    flash.o                         332      332    1 040
    startup_efm32hg.o      212
    system_efm32hg.o       204                 8       12
    uart.o                 116       60       60
    verify.o               232
    xmodem.o                        308      308      528
    -----------------------------------------------------
    Total:               3 576    1 034    1 190    1 684

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

dl6M_tln.a: [3]
    exit.o                   8
    -----------------------------------------------------
    Total:                   8

rt6M_tl.a: [4]
    ABImemcpy.o             92
    I32DivModFast.o        174
    XXexit.o                12
    cexit.o                 10
    cmain.o                 26
    copy_init3.o            48
    cstartup_M.o            12
    data_init.o             40
    zero_init3.o            60
    -----------------------------------------------------
    Total:                 474

    Gaps                              2               108
    Linker created         128       16       56    1 024
---------------------------------------------------------
    Grand Total:         4 186    1 052    1 246    2 816


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

Entry                      Address   Size  Type      Object
-----                      -------   ----  ----      ------
.iar.init_table$$Base   0x0000102c          --   Gb  - Linker created -
.iar.init_table$$Limit  0x00001050          --   Gb  - Linker created -
?main                   0x00001051         Code  Gb  cmain.o [4]
BLUART_init             0x0000087d   0x50  Code  Gb  uart.o [1]
BLUART_receive          0x200003c5    0xe  Code  Gb  uart.o [1]
BLUART_send             0x200003d3    0xc  Code  Gb  uart.o [1]
BLUART_sendString       0x200003df   0x1c  Code  Gb  uart.o [1]
BOOT_boot               0x00000c45   0x28  Code  Gb  boot.o [1]
BOOT_jump               0x00000c39    0xc  Code  Gb  boot.o [1]
BUS_RegBitWrite         0x000008f1   0x18  Code  Lc  em_cmu.o [1]
BUS_RegBitWrite         0x0000056d   0x18  Code  Lc  em_gpio.o [1]
CMU_ClockEnable         0x00000a29   0x60  Code  Gb  em_cmu.o [1]
CMU_ClockFreqGet        0x00000a89   0xca  Code  Gb  em_cmu.o [1]
CMU_ClockSelectGet      0x00000b55   0xc6  Code  Gb  em_cmu.o [1]
CRC_calc                0x20000281   0x32  Code  Gb  crc.o [1]
CSTACK$$Base            0x20000b20          --   Gb  - Linker created -
CSTACK$$Limit           0x20000f20          --   Gb  - Linker created -
DEBUGLOCK_lock          0x20000401   0x16  Code  Gb  debuglock.o [1]
EMU_EnterEM3            0x00000827   0x34  Code  Gb  em_emu.o [1]
FLASH_erasePage         0x20000063   0x36  Code  Gb  flash.o [1]
FLASH_init              0x20000001   0x22  Code  Gb  flash.o [1]
FLASH_write             0x20000023   0x40  Code  Gb  flash.o [1]
FLASH_writeWord         0x20000099   0x1e  Code  Gb  flash.o [1]
GPIO_EVEN_IRQHandler    0x000002d9    0x2  Code  Gb  bootloader.o [1]
GPIO_ExtIntConfig       0x000005a5   0x54  Code  Gb  em_gpio.o [1]
GPIO_IntConfig          0x00000119   0x12  Code  Lc  bootloader.o [1]
GPIO_ODD_IRQHandler     0x000002db    0x2  Code  Gb  bootloader.o [1]
GPIO_PinInGet           0x00000107   0x12  Code  Lc  bootloader.o [1]
GPIO_PinModeSet         0x000005f9   0x6c  Code  Gb  em_gpio.o [1]
GPIO_PinOutClear        0x00000585   0x10  Code  Lc  em_gpio.o [1]
GPIO_PinOutSet          0x00000595   0x10  Code  Lc  em_gpio.o [1]
INT_LockCnt             0x20000b14    0x4  Data  Gb  em_int.o [1]
NVIC_SystemReset        0x000000f5   0x12  Code  Lc  bootloader.o [1]
Region$$Table$$Base     0x0000102c          --   Gb  - Linker created -
Region$$Table$$Limit    0x00001050          --   Gb  - Linker created -
SystemCoreClock         0x20000b18    0x4  Data  Gb  system_efm32hg.o [1]
SystemCoreClockGet      0x00000cd1   0x16  Code  Gb  system_efm32hg.o [1]
SystemHFClockGet        0x00000ce7   0x80  Code  Gb  system_efm32hg.o [1]
SystemHFXOClock         0x2000045c    0x4  Data  Lc  system_efm32hg.o [1]
SystemInit              0x00000d67    0x2  Code  Gb  system_efm32hg.o [1]
SystemLFXOClock         0x20000460    0x4  Data  Lc  system_efm32hg.o [1]
SystemLFXOClockGet      0x00000d69    0x6  Code  Gb  system_efm32hg.o [1]
USART_BaudrateAsyncSet  0x00000d9d   0x5a  Code  Gb  em_usart.o [1]
USART_InitAsync         0x00000df7   0x4a  Code  Gb  em_usart.o [1]
USART_Reset             0x00000e41   0x34  Code  Gb  em_usart.o [1]
XMODEM_download         0x20000185   0xec  Code  Gb  xmodem.o [1]
XMODEM_verifyPacketChecksum
                        0x2000014d   0x38  Code  Gb  xmodem.o [1]
__Vectors               0x00000000          --   Gb  startup_efm32hg.o [1]
__Vectors_End           0x00000094         Data  Gb  startup_efm32hg.o [1]
__Vectors_Size {Abs}    0x00000094          --   Gb  startup_efm32hg.o [1]
__aeabi_memcpy          0x00000c75         Code  Gb  ABImemcpy.o [4]
__aeabi_memcpy4         0x00000c9d         Code  Wk  ABImemcpy.o [4]
__aeabi_uidiv           0x00000e95         Code  Gb  I32DivModFast.o [4]
__aeabi_uidivmod        0x00000e95         Code  Gb  I32DivModFast.o [4]
__cmain                 0x00001051         Code  Gb  cmain.o [4]
__exit                  0x00001081         Code  Gb  XXexit.o [4]
__iar_copy_init3        0x00000fd5   0x30  Code  Gb  copy_init3.o [4]
__iar_data_init3        0x00001005   0x28  Code  Gb  data_init.o [4]
__iar_program_start     0x0000109d         Code  Gb  cstartup_M.o [4]
__iar_zero_init3        0x00000f99   0x3c  Code  Gb  zero_init3.o [4]
__vector_table          0x00000000         Data  Gb  startup_efm32hg.o [1]
__vector_table_0x1c     0x0000001c         Data  Gb  startup_efm32hg.o [1]
_call_main              0x0000105d         Code  Gb  cmain.o [4]
_exit                   0x00001075         Code  Gb  cexit.o [4]
_main                   0x00001067         Code  Gb  cmain.o [4]
auxClkGet               0x00000909   0x5e  Code  Lc  em_cmu.o [1]
cmuStatus               0x20000b10    0x4  Data  Lc  em_emu.o [1]
commandLoop             0x00000221   0x70  Code  Gb  bootloader.o [1]
copyFirmwareFromTempStorage
                        0x200000b7   0x6e  Code  Gb  flash.o [1]
decryptBlockCBC         0x2000037f   0x22  Code  Gb  aes.o [1]
decryptCBC              0x200002c5   0x3c  Code  Gb  aes.o [1]
decryptionKey           0x20000a84   0x10  Data  Lc  aes.o [1]
descr                   0x20000b00   0x10  Data  Gb  flash.o [1]
emuRestore              0x00000781   0xa6  Code  Lc  em_emu.o [1]
enableDebugLock         0x000001e9   0x18  Code  Gb  bootloader.o [1]
encryptCBC128           0x20000301   0x3c  Code  Gb  aes.o [1]
encryptionKey           0x2000041c   0x10  Data  Gb  aes_keys.o [1]
endDecryptCBC           0x200003a1    0xc  Code  Gb  aes.o [1]
enterBootloaderMode     0x0000032d   0x38  Code  Gb  bootloader.o [1]
enterDownloadMode       0x00000179   0x6e  Code  Gb  bootloader.o [1]
enterLowPowerWait       0x000002e5   0x42  Code  Gb  bootloader.o [1]
exit                    0x0000106b    0x8  Code  Gb  exit.o [3]
hashInitVector          0x2000044c   0x10  Data  Gb  aes_keys.o [1]
hashKey                 0x2000043c   0x10  Data  Gb  aes_keys.o [1]
initVector              0x2000042c   0x10  Data  Gb  aes_keys.o [1]
isFirmwareValid         0x00000727   0x12  Code  Gb  verify.o [1]
isTempStorageValid      0x00000739   0x12  Code  Gb  verify.o [1]
lfClkGet                0x00000967   0x7a  Code  Lc  em_cmu.o [1]
main                    0x00000365   0x6c  Code  Gb  bootloader.o [1]
markFirmwareAsDeleted   0x00000759    0x4  Code  Gb  verify.o [1]
markFirmwareAsVerified  0x0000074b    0x6  Code  Gb  verify.o [1]
markTempAsVerified      0x00000751    0x8  Code  Gb  verify.o [1]
pageBuffer              0x20000464  0x400  Data  Lc  flash.o [1]
prevCipher              0x20000a74   0x10  Data  Lc  aes.o [1]
rawBuffer               0x20000974  0x100  Data  Gb  xmodem.o [1]
rawPacket               0x20000864  0x110  Data  Gb  xmodem.o [1]
sendWelcomeMessage      0x0000012d   0x4c  Code  Gb  bootloader.o [1]
startDecryptCBC         0x2000033d   0x42  Code  Gb  aes.o [1]
syncReg                 0x000009e1   0x10  Code  Lc  em_cmu.o [1]
verifyActiveFirmware    0x0000070f    0xc  Code  Gb  verify.o [1]
verifyFirmware          0x00000699   0x76  Code  Gb  verify.o [1]
verifyTempStorage       0x0000071b    0xc  Code  Gb  verify.o [1]


[1] = c:\dev\git\p011_application_notes\an\an0060_efm32_aes_bootloader\iar\bootloader_hg\Release\Obj
[2] = command line
[3] = dl6M_tln.a
[4] = rt6M_tl.a

  4 186 bytes of readonly  code memory
  1 052 bytes of readwrite code memory
  1 246 bytes of readonly  data memory
  2 816 bytes of readwrite data memory

Errors: none
Warnings: none
