LPC1830 lpcopen flashiap sample code

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC1830 lpcopen flashiap sample code

ソリューションへジャンプ
1,000件の閲覧回数
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 解決策
993件の閲覧回数
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 返答(返信)
994件の閲覧回数
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 件の賞賛
返信
966件の閲覧回数
kensu
Contributor V

Hello Alice

 

I understood now.

Thanks for your reply.

 

Regards

Ken

0 件の賞賛
返信