This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Memory corruption

 

Environament: Processor - 6747 , CCS  - 3.3 ,   Simulator 

 

 

My program memory is in L2 RAM .  

from manual : 256 K memory in L2 from 0x0080 0000  to 0x0083 FFFF ( 256 K) 

from cmd file PROG : o= 0x0080 0800     l=0x1F000  ( length 1F000) 

so my program can have start address = 0x0080 0800     end address =0X0081F800

My code works fine,  till code size increased  to address 0x0080FFFF,   when it crosses 0x00810000 then code crashes due to some corruption at boot c_int00 . 

can you please suggest me ? 

Is there any memory protection registers i need to configure so that this corruption can be avoided. 

 

 

  • Mangal said:
    My code works fine,  till code size increased  to address 0x0080FFFF,   when it crosses 0x00810000 then code crashes due to some corruption at boot c_int00 . 

    can you please suggest me ?

    Without a test case, it's going to be extremely difficult to guess what's going wrong.  Can you provide more detail about the symptoms of the crash?  Does it crash immediately upon reaching _c_int00?  Does it crash somewhere else?  How long does it run before it crashes.  How do you know that _c_int00 is corrupted?   Are you using a custom _c_int00 or a custom autoinit?

    Mangal said:
    Is there any memory protection registers i need to configure so that this corruption can be avoided.

    That's probably a question for a C64x hardware forum.