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.

Internal RAM Test

Hello All,

H/W: TM4C129x based custom board

S/W: TI-RTOS 2.12.1.33

Tools: CCS 6,1

 We have to test the Internal RAM and internal Flash as part of power on self test in our project.  The Vector Table is at 0x2000 0000-  0x2000 03FF.  What are precautions needed to take and RAM areas that need to be skipped during the  test of the internal RAM. Do we need to write the test in Assembly or can we write it in C. My take on it is, these tests need to be called first in the main function. 

Any ideas or pointers otherwise is welcome

Thanks in Advance

Thanks

Narendra

  • Narendra,
    Are you using TI-RTOS to write these tests?

    Regards,
    Moses
  • Moses,

    I think so, as I need to run these tests on power on before the application starts. So either it has to be called in from main() function before my application starts or we need to modify the boot.asm file to run these tests before all the initialization takes place. I could not find the boot.asm for the TI-RTOS. Can you help me find the boot.asm file .

    Thanks
    Narendra
  • Hi Narendra,

        TI-RTOS kernel allows you to create reset functions that run at power up before your application runs. You can do your power-up tests in there. You'll need to add something like this to your config script:

    var Startup = xdc.useModule('xdc.runtime.Startup');
    
     // install "reset function"
    
    Startup.resetFxn = '&myReset';

    The "myReset" function is the startup function where you implement your self tests.

    Regarding precautions about what areas of RAM to avoid and how to actually do the test, I recommend you make a post on the device forum page here. Someone there will know more about it.

    Let me know if this helps,

    Moses