Hi Cris. I build codec_engine_2_10 example video_copy. I add only dsp power controll in dualcpu app (in file examples/ti/sdo/ce/examples/apps/video_copy/dualcpu/evmDM6446/ceapp.cfg): myEngine.armDspLinkConfig.doPowerControl = true;
It`s work fine. But I have other memory map, so I change it in server (examples/ti/sdo/ce/examples/servers/all_codecs/all.tcf). Here map that I put in tcf file: var mem_ext = [ { comment: "DDRALGHEAP: off-chip memory for dynamic algmem allocation", name: "DDRALGHEAP", base: 0x84e00000, // 78MB len: 0x02c00000, // 44MB space: "code/data" }, { comment: "DDR2: off-chip memory for application code and data", name: "DDR2", base: 0x87A00000, // 122MB len: 0x00400000, // 4MB space: "code/data" }, { comment: "DSPLINK: off-chip memory reserved for DSPLINK code and data", name: "DSPLINKMEM", base: 0x87E00000, // 126MB len: 0x00100000, // 1MB space: "code/data" }, { comment: "RESET_VECTOR: off-chip memory for the reset vector table", name: "RESET_VECTOR", base: 0x87F00000, len: 0x00000080, space: "code/data" }, ]; I build it, and it fail. It show the same message : Error: DSP-side memory map does not match configuration. Compare DSP-side TCF/MAP file with /dsplink/config/all/CFG_<PLATFORM>.c @0x0003387f:[T:0x40946b60] OP - Processor_create_d> Loading and starting DSP server 'video_copy.x64P' FAILED, status=[0x80008013] (look for error code 'DSP_E BASE + 0x13' in dsplink*/packages/dsplink/gpp/inc/errbase.h) This error code typically indicates a problem with the DSP memory map, i.e. it is different from what the Arm side specified; check the DSP server's memory map in your Arm application .cfg script, and make sure you have set 'armDspLinkConfig' configurat ion variable correctly (for details, refer to the documentation for ti.sdo.ce.Engine.xdc). Also, verify that the DSPLINKMEM segment on the DSP is large enoug h. @0x00033ce9:[T:0x40946b60] OP - Processor_delete_d> Closing remote transport FAILED, status=0x80008000. I cant find mistake? On Fri, 2008-06-06 at 11:24 -0500, Ring, Chris wrote: > Looks like you're a Codec Engine user. If you need to update to Link > 1.50, you should ensure you use a Codec Engine release that's compatible > with it. > > [ Unfortunately, Link 1.40 and 1.50 are not binary compatible, so you > can't just swap it in underneath Codec Engine - CE will get confused. ] > > This article shows some details on what CE releases work with which > underlying components: > http://wiki.davincidsp.com/index.php?title=Codec_Engine_Roadmap > > >From that article, you can see that you must update to CE 2.10 if you > want to use Link 1.50. > > Chris > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > > ] On Behalf Of SergA > > Sent: Friday, June 06, 2008 6:25 AM > > To: davinci-linux-open-source@linux.davincidsp.com > > Subject: problem with memory map in dsplink_1_50 > > > > Hi. > > Early I worked with dsplink_1_40, my app work fine. Now I try pass to > > dsplink_1_50. > > And now I get the following error: > > Error: DSP-side memory map does not match configuration. > > Compare DSP-side TCF/MAP file with > > /dsplink/config/all/CFG_<PLATFORM>.c > > > > > > There is a pice of my DSP servers TCF file: > > > > { > > comment: "DDRALGHEAP: off-chip memory for dynamic algmem > > allocation", > > name: "DDRALGHEAP", > > base: 0x84e00000, // 78MB > > len: 0x02c00000, // 44MB > > space: "code/data" > > }, > > { > > comment: "DDR: off-chip memory for application code and data", > > name: "DDR", > > base: 0x87A00000, // 122MB > > len: 0x00200000, // 2MB > > space: "code/data" > > }, > > { > > comment: "DDRCode: off-chip memory for application code", > > name: "DDRCode", > > base: 0x87C00000, // 124MB > > len: 0x001ff000, // 2MB - 4KB > > space: "code/data" > > }, > > { > > comment: "DDRSeqCode", > > name: "DDRSeqCode", > > base: 0x87DFF000, // 126MB - 4KB > > len: 0x00001000, // 4KB > > space: "code/data" > > }, > > { > > comment: "DSPLINK: off-chip memory reserved for > > DSPLINK code and > > data", > > name: "DSPLINKMEM", > > base: 0x87E00000, // 126MB > > len: 0x00100000, // 1MB > > space: "code/data" > > }, > > { > > comment: "RESET_VECTOR: off-chip memory for the reset vector > > table", > > name: "RESET_VECTOR", > > base: 0x87F00000, // 127MB > > len: 0x00000080, // 128B > > space: "code/data" > > } > > > > > > I pass memory map to dsplink in my application: > > osalGlobal.armDspLinkConfig = { > > memTable: [ > > ["DDRALGHEAP", {addr: 0x84e00000, size: > > 0x02c00000, type: "other"}], > > ["DDR", {addr: 0x87A00000, > > size: 0x00400000, type: "main" }], > > > > ["DSPLINKMEM", {addr: 0x87E00000, size: > > 0x00100000, type: "link" }], > > ["RESETCTRL", {addr: 0x87F00000, size: > > 0x00000080, type: "reset"}], > > ], > > doPowerControl: true, > > }; > > > > > > I try to correct /dsplink/config/all/CFG_Davinci_DM6446.c, > > and recompile > > dsplink and my app. But this error still appear. > > Help me please, what is incorrect? > > Best regards. > > > > _______________________________________________ > > Davinci-linux-open-source mailing list > > Davinci-linux-open-source@linux.davincidsp.com > > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > > _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source