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.

File Load error when some portion of code placed in external memory



In a DSP/BIOS RAM based project, I get an error "Trouble Writing Memory Block at 0x22a033 on Page 0 of Length 0x5c7: Error 0x00000002/-1143 Error during: Memory,  The memory at 0x0022A036 continually indicated it was 'not ready' " when some portion of  code is to be placed into external memory using CODE_SECTION pragma.I have modified the gel file to initialize the external memory interface as intended in(OnPreLoad())and verified that all the registers related to external memory interface (GPMUX and TIMING) are getting updated as expected.

Does anybody have any idea what could the issue?

 

 

  • I had problem like this. Reason of bug was in jumpers in my PCB, whitch used in boot up and that pull-down external adress line XA12-XA15.

    Another possible reasons:

    • wrong memory map;
    • bug in programmer device (unlikely);

  • Mona,

    It is possible that one of the GPIOs is not configured for the XINTF or the external memory itself could have been damaged somehow. Is this the only portion of the external memory that demonstrates the issue? There is a run_from_xintf example provided with the C/C++ Header Files and Peripheral Examples (SPRC530). What happens if you load this program?

    Regards,

    Tim Love