Hi, I've asked this same question a couple of times before and haven't got a single answer. I'm surprised if nobody has ever done this. So, here it is again: I have the 8k internal RAM of the EZ-USB FX chip to use. I debug with the monitor which takes up half the RAM. I want to have every byte that remains. There are gaps in the monitor memory usage, so how do I link to use them? Thanks, Harri
Is there a way to simulate eg. DON'T_USE(0x11c0-0x11df)? Since the monitor is separately linked (I assume) you can use the following trick:
// Put this in your globals.c file // and add to your project (g_ denotes a global var). const unsigned char g_dontUse[0x11DF -0x11C0] _at_ 0x11C0;
WHOOPS! Don't for get the memory space qualifier like I did:
const unsigned char xdata g_dontUse[0x11DF -0x11C0] _at_ 0x11C0;