Hi all,
I'm trying to enable the code read protection an an LPC2292. Therefore I followed the article http://www.keil.com/support/docs/3237.htm
I get the error message: "L6291E: Base address 0x000001fc lies in the previous exec region or before the start of the load region"
Has anybody experienced the same? Marco
"scatter file":
LR_IROM1 0x00000000 0x00040000 { ; load region size_region ER_IROM1 0x00000000 0x00040000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (*) } CRP 0x1FC FIXED 4 { crp.o (*) } RW_RAM1 0x81000000 0x00100000 { ; RW data .ANY (+RW +ZI) } RW_IRAM1 0x40000000 0x00004000 { ExtFlash.o (+RO +ZI +RW) FlashBoot.o (+RO +ZI +RW) IHex.o (+RO +ZI +RW) Flash_LPC2.o (+RO +ZI +RW) .ANY (+RW +ZI) } }
Module "Crp.c":
#pragma push #pragma Ono_remove_unused_constdata unsigned int const Security_Value = 0x87654321; #pragma pop
Undef_Handler B Undef_Handler ;SWI_Handler B SWI_Handler PAbt_Handler B PAbt_Handler DAbt_Handler B DAbt_Handler IRQ_Handler B IRQ_Handler FIQ_Handler B FIQ_Handler AREA |.ARM.__at_0x01FC|, CODE, READONLY CRP_Key DCD 0x87654321 AREA |.text|, CODE, READONLY
Thanks Tamir,
works fine .....
Marco
You're welcome.