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.

Looking for External Memory Test code in assembly

Hi all.

I want to check all external memory region after power-on.

So I should develop in assembly language because it is run before codes are copied to external memory.

Can I guide it for me?

And I also find simple c code for test the DSP for Power-on self test.

 

  • Wonbo Jeon,

    There are open-source memory tests available on the web, and there might be some shown in the E2E forum and TI Wiki Pages. Please search those for ideas on what you want your memory test to do.

    Whether your test program is written in C or assembly, it will have to be loaded and you will have to initialize the external memory interface. I strongly recommend writing your test in C and use optimization to get it as efficient as possible.

    If you only want assembly, then you can have the compiler keep the assembly output (-k compiler switch) and you can use that. Or you can use that assembly output as a starting point and then remove the portions that may be related to the C run-time system.

    The memory test and POST will be much easier to write and to work with if they are written in C.

    Regards,
    RandyP