Flash partition on LPC11c14

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flash partition on LPC11c14

629 Views
HigorSantosPremium
Contributor I

Hello everybody.

 

I need to upgrade my flash storage of my product, because sometimes (i think 1/10 of my microcontrollers) lost the information on flash after same use.

 

So I will create a partition using the SCT file, but I cant find any example on internet, just ARM documentation.

 

My question is: On my SCT file i dont designate areas to specific memorys(.text .rodata .data .stack ...) Its realy it? I dont need to specify memory for this areas? I'm using LPC11C14F/301 and Keil 4 and I don't know why my flashes get corrupted sometimes. If anyone can help me with this I would also appreciate it.

 

My SCT file:

LR_IROM1 0x00000000 0x00007000 { ; load region size_region
ER_IROM1 0x00000000 0x00007000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}
ER_EPROM1 0x00007000 0x00001000
{
*o (.eeprom)
}
RW_IRAM1 0x10000000 0x00002000 { ; RW data
.ANY (+RW +ZI)
}
}

 

Labels (1)
0 Kudos
Reply
1 Reply

605 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @HigorSantosPremium 

 

Thank you for your question. Do you want to save some data at a specific address? Could you please describe your requirement in more detail? Thanks.

 

BR

Alice

0 Kudos
Reply