This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to determine the actual usage for XDATA?

Hello,

I have a project with 512K flash for code and 64K SRAM for XDATA. After compiling with PK51, I got following infos about program size:
"data=188.0 xdata=51140 const=166971 code=203033".

My question is: does this mean the MAXIMUM usage for xdata is 51140? Or the actual space for xdata will increase when the code is up and running if there are pointer? How can I calculate the maximum/worst space requirement for xdata?

Any help is appreciated!

Thanks a lot
Henry

Parents Reply Children
No data