AnsweredAssumed Answered

There is an error about memory overlay on SC589

Question asked by alan on Apr 3, 2017
Latest reply on Jun 13, 2017 by Kader.M

Hi all,

I found there is an error about memory overlay on SC589,

 

MEMORY MAP are as follows:

mem_block0_bw { TYPE(BW RAM) START(0x002403f0) END(0x0025ffff) WIDTH(8) }

mem_block1_bw   { TYPE(BW RAM) START(0x002c0000) END(0x002ebfff) WIDTH(8) }
mem_block0_sw1 { TYPE(SW RAM) START(0x00130000) END(0x00133000) WIDTH(16) }
mem_block0_sw2 { TYPE(SW RAM) START(0x00133001) END(0x00137fff) WIDTH(16) }

 

The following SECTION is OK:

OVERLAY_CODE1
{
         OVERLAY_INPUT
         {
            ALGORITHM(ALL_FIT)
            OVERLAY_OUTPUT($COMMAND_LINE_OUTPUT_DIRECTORY\1.ovl)
         } > mem_block0_bw
} >mem_block1_bw

 

But when I used the following SECTION,  

OVERLAY_CODE2 
{
         OVERLAY_INPUT
         {
            ALGORITHM(ALL_FIT)
            OVERLAY_OUTPUT($COMMAND_LINE_OUTPUT_DIRECTORY\2.ovl)
         } > mem_block0_sw1
} >mem_block0_sw2

 

the following error occurred in launching debug:

[TpsdkServer] Failed to load file: E:\ADI\SC589\overlay_test_Core1\Debug\overlay_test_Core1.dxe [Error: Failed to find the mem id because of an illegal permutation of memory parameters, Code=0x80047370]

 

Please help to see what is the reason, annex is the project.

 

Tks

Alan 

Attachments

Outcomes