Isolating FLASH area for data use

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Isolating FLASH area for data use

1,813 次查看
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 项奖励
回复
1 回复

1,793 次查看
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 项奖励
回复