hello excuse me, I can't speak english very good, but my hardware is Microcontroller ST10F276 with a 512 Kbyte on chip internal Flash(IFLASH), a 320 Kbyte on chip extended Flash(XFLASH), a 2 Kbyte 16 bit wide IRAM, a 66 Kbyte 16 bit wide on chip XRAM and Frequency 64 Nhz My project is needed 500 kbyte IFLASH (internal memory for code definition) and 6 or 8 kbyte IRAM (internal memory for variable definition). Microcontroller ST10F276 have enough memory for code and variable but Keil Compiler prepare a error (main.c(25746): error C8: code size exceeds 64K). Please see here , Options for Target 'Taret 1' in keil compiler STMicroeletronic ST10F276 Clock (MHz): 64.0 Use On_chip ROM (832KB): select (ticked ) Use On chip CAN+XRAM(0xE000-0xE7FF) : select (ticked ) Use On chip XRAM(0xF0000-0xFFFFF) : select (ticked ) Memory Model : Medium "nea ' data. 'far' funcs Operating System : None Data Threshold : near 6 Near Memory : 16 KB RAM, 16 KB ROM External Memory : Start Size #1 : ROM 0x00 0x8000 #2 : RAM <b/> <pre/>