Hello,
I'm using Keil C51 compiler with c8051f330 MCU. I have a struct that is in xdata space and is not initialized at startup. I initialize struct with this:
memset(&FP, 0, sizeof(FP));
. How to initialize xdata space after reset MCU?
Check out the startup file.
So for that, SiLabs have their Simplicity Studio (it uses Keil C51) - I would check first whether that gives you any help in configuring this.
Otherwise, the Keil documentation is all here: http://www.keil.com/support/man_c51.htm
Specifically: http://www.keil.com/support/man/docs/c51/c51_ap_customfiles.htm