Собрал под Keil 3.8 для sam7s64
Код
LR_IROM1 0x00100000 0x00010000 { ; load region size_region
ER_IROM1 0x00100000 0x0000C000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}
RW_ 0x0010C000 0x00004000 {
*.o ( flh_data )
}
RW_IRAM1 0x00200000 0x00004000 { ; RW data
.ANY (+RW +ZI)
}
}
ER_IROM1 0x00100000 0x0000C000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}
RW_ 0x0010C000 0x00004000 {
*.o ( flh_data )
}
RW_IRAM1 0x00200000 0x00004000 { ; RW data
.ANY (+RW +ZI)
}
}
вижу в мапе
Код
Inflash_images 0x0010c000 Data 16 test.o(.ARM.__AT_0x0010C000)
image_gear 0x0010c010 Data 546 test.o(flh_data)
image_background_white_bluetitle 0x0010c232 Data 13538 test.o(flh_data)
image_exclamation_diamond 0x0010f714 Data 546 test.o(flh_data)
image_exclamation_red 0x0010f936 Data 546 test.o(flh_data)
image_gear 0x0010c010 Data 546 test.o(flh_data)
image_background_white_bluetitle 0x0010c232 Data 13538 test.o(flh_data)
image_exclamation_diamond 0x0010f714 Data 546 test.o(flh_data)
image_exclamation_red 0x0010f936 Data 546 test.o(flh_data)
Всё вроде бы замечательно, однако после загрузки в целевую платформу MT-Link'ом по адресам 0x0010c000 девственная чистота флэши , тобишь 0xFF.
Что за грабелька ?