Hi, I'm trying to compile a structure that is bigger than 4096 bytes, and the compiler (c51.exe V6.02d) answers : GENOMF FATAL-ERROR: TYPE-RECORD TOO LARGE (4096). Is there a solution different that the one consisting in splitting the structure ? THX Jose
I'm trying to compile a structure that is bigger than 4096 bytes, and the compiler (c51.exe V6.02d) answers: GENOMF FATAL-ERROR: TYPE-RECORD TOO LARGE (4096). Is there a solution different that the one consisting in splitting the structure ? I just tried the following simple program and it compiled and linked with no errors or warnings.
struct junk_st { unsigned char big_array [64000]; }; struct junk_st xdata junk_var; void main (void) { }
Is it possible he is using the small model and not explicitly putting the struct in XDATA?
I think this would result in an error because the internal DATA memory is 128 bytes MAX. Keil Support
Indeed. Could this, in fact, be his error? OP, where are you? Is this your problem?
View all questions in Keil forum