LPC1830 lpcopen flashiap sample code

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

LPC1830 lpcopen flashiap sample code

跳至解决方案
980 次查看
kensu
Contributor V

Hi 

I have a question about flashiap.c

/* Start signature address of the last sector*/
#define START_ADDR_LAST_SECTOR 0x1A070000

Why does the last sector is 0x1A070000, how to calculate this address?

In my understanding, flash base is 0x14000000, I don't know hwy the sector 14 is 0x1A070000

 

Please teach me.

 

Regards

Ken

 

0 项奖励
1 解答
973 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello kensu,

This address is for LPC18xx with on-chip flash, for LPC1830, this space is reserved.

For on-chip flash, yes, the start address of last sector is 0x10A70000:

444.jpg

 

Regards,

Alice

在原帖中查看解决方案

0 项奖励
2 回复数
974 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello kensu,

This address is for LPC18xx with on-chip flash, for LPC1830, this space is reserved.

For on-chip flash, yes, the start address of last sector is 0x10A70000:

444.jpg

 

Regards,

Alice

0 项奖励
946 次查看
kensu
Contributor V

Hello Alice

 

I understood now.

Thanks for your reply.

 

Regards

Ken

0 项奖励