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

Compiling a structure bigger than 4096 bytes

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

Parents

  • 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)
    {
    }
    

    Are you using the evaluation tools, perhaps?

    Keil Support

Reply

  • 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)
    {
    }
    

    Are you using the evaluation tools, perhaps?

    Keil Support

Children