Differences between SDM and LDM in CW10.7 for target 56F8xxx

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

Differences between SDM and LDM in CW10.7 for target 56F8xxx

ソリューションへジャンプ
3,002件の閲覧回数
guenter_loettrich
NXP Employee
NXP Employee

Dear all,

is there a document available which explains the differences between memory models SDM and LDM?

It's for target 56F8xxxx.

When increasing the size of code in SDM >64KB then errors show up during build time of the project. (see attachment)

Is it necessary to switch to LDM mode if code size is bigger than 64KB?

LDM.jpg

br

Guenter

0 件の賞賛
返信
1 解決策
2,678件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Guenter,

I think we have not the documentation to address the LDM/SDM subject. In SDM mode, the code size is limited to 64K words, and data size is limited to 64K words, the pointer of data structure in C language is 16 bits. In LDM mode, the code size should be limited to 2**(21) or 2M words, the data size is limited to 2**(23) or 8M words.

Hope it can help you

BR

Xiangjun Rong

元の投稿で解決策を見る

1 返信
2,679件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Guenter,

I think we have not the documentation to address the LDM/SDM subject. In SDM mode, the code size is limited to 64K words, and data size is limited to 64K words, the pointer of data structure in C language is 16 bits. In LDM mode, the code size should be limited to 2**(21) or 2M words, the data size is limited to 2**(23) or 8M words.

Hope it can help you

BR

Xiangjun Rong