Isolating FLASH area for data use

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

Isolating FLASH area for data use

597 Views
Mastella
Contributor I

Hi all,

I´m using LPC1768 (512kB). Flash sectors from 0 to 15 are of 4kB and sectors from 16 to 32 are of 32kB.

As I want to save a low quantity of data in flash I want to use 2 blocks of 4kB for this purpose. But these sectors are in the middle of the flash area.

So, my doubt is how can I config the compiler/linker to isolate 2 of these 4kB blocks in order that I can use them for my data?

Any help is wellcome.

Thank you in advance.

Andre

0 Kudos
1 Reply

577 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Mastella,

Do you use MCUXpresso IDE? If yes, you can refer to 

17.13 Placement of specific code/data Items of "MCUXpresso IDE User Guide".

I also attached it for you .

 

BR

Alice

0 Kudos