The target device of my program is Winbond W78E516B with 64k Flash ROM and my program size is just 29k, I want to know why there is a error of "CLOCKCAL V1.C(1221): error C249: 'DATA': SEGMENT TOO LARGE" after compiling with Keil C.
what does 64k Flash ROM and my program size is just 29k have to do with DATA???
I think it's "bible time"
here are the links to "the bible" Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer’s Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf
Erik
Easy bug to fix.
Just select the LARGE memory model and the problem will disappear.
-------
Zeusti
Senior Software Archietect
correction:
Senior Software Archietect that loves his ass being kicked by Erik...
Zeusti,
It's not a bug!
Using the large model comes with a price (not least might be fending off the tongue of Erik).
I would suggest you take time to read 'the bible' before you give yourself further promotion.
View all questions in Keil forum