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

Program size in keil

I want compile a large code in keil. In uvision3 in "Flash" menu in option "Configure Flash Tools" in "Target" tab, I set "Memory Model" to large and
"Code Rom Size" to large: 64k program. I compiled my program without any problem.
In second time, I decide to compile my program for "SLE66CX360PE" INFINEON chip.
In uvision3 in "Flash" menu in option "Configure Flash Tools" in "Device" tab, I select "SLE66CX360PE" and in "Target" tab, I select "Use On-chip ROM (0x0-0x30FFF)" and "Use On-chip XRAM (0x40000-0x417FF)".
But when the program compiled, there is error like this: "ADDRESS SPACE OVERFLOW" and "CONTENT BELONGS TO ERRONEOUS SEGMENT".
Then I decrease my program until code size was 4k, then my program compiled.
What is couse of this problem? What is the solution?
What is the setting need in keil?
I need first program not decreased program.
The "SLE66CX360PE" has 196k ROM , 36k EEPROM and 6k XRAM.
whether need "CODE BANKING"?

0