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?
br
Guenter
Solved! Go to Solution.
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
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