Forums

Running out of Memory on Heap using DM642 Simulator

Started by Jay January 24, 2007
Hello,
I've been using Code Composer 3.1 for about 2 weeks now porting Video
Analytics Code from Visual Studio to C using a DM642 simulator.  I am
finding that I am running out of memory on the heap. ( I require about
10 mbs ).  Can you tell me what the memory limit for this board is?
When I load the program using File->Load Program it gives me errors
saying "Data Verification Failed at 0xF0020, Please verify target
memory and memory map".  I've been adjusting the GEL file, but this
does not seem to work.  I've also set the HEAP value in the linker to
0xF000.  Any help would be greatly appreciated! Thanks,
Jay

Nevermind, discovered CMD files....

On Jan 24, 9:16 pm, "Jay" <jay_silverst...@hotmail.com> wrote:
> Hello, > I've been using Code Composer 3.1 for about 2 weeks now porting Video > Analytics Code from Visual Studio to C using a DM642 simulator. I am > finding that I am running out of memory on the heap. ( I require about > 10 mbs ). Can you tell me what the memory limit for this board is? > When I load the program using File->Load Program it gives me errors > saying "Data Verification Failed at 0xF0020, Please verify target > memory and memory map". I've been adjusting the GEL file, but this > does not seem to work. I've also set the HEAP value in the linker to > 0xF000. Any help would be greatly appreciated! Thanks, > Jay
Nevermind, discovered CMD files....

On Jan 24, 9:16 pm, "Jay" <jay_silverst...@hotmail.com> wrote:
> Hello, > I've been using Code Composer 3.1 for about 2 weeks now porting Video > Analytics Code from Visual Studio to C using a DM642 simulator. I am > finding that I am running out of memory on the heap. ( I require about > 10 mbs ). Can you tell me what the memory limit for this board is? > When I load the program using File->Load Program it gives me errors > saying "Data Verification Failed at 0xF0020, Please verify target > memory and memory map". I've been adjusting the GEL file, but this > does not seem to work. I've also set the HEAP value in the linker to > 0xF000. Any help would be greatly appreciated! Thanks, > Jay
jay,

On the DM642 you will have to allocate more memmory for your heap. I know
two ways
1. you will have to make a new DSP/BIOS configuraiton(.cdb) file. there
you will have to add a new memmory in system->MEM memmory section manager.
the new memmory will take 0x8000000 as starting address. refer to DM642
data sheet-> memmory map for further details on memmoty on DM642. you will
have to make a few more changes in the confuguraion file to accomodate this
new memmory.

2. write a new .cmd file(you can find a .cmd file in the volume.pjt
example in the CCS tutorial. IT is the first example in the tutorial) But
i would not reccommmend, as it is difficult to make it work. the first
method is easier.

do post a message here if this helps you, or for other queires

APS





>Hello, >I've been using Code Composer 3.1 for about 2 weeks now porting Video >Analytics Code from Visual Studio to C using a DM642 simulator. I am >finding that I am running out of memory on the heap. ( I require about >10 mbs ). Can you tell me what the memory limit for this board is? >When I load the program using File->Load Program it gives me errors >saying "Data Verification Failed at 0xF0020, Please verify target >memory and memory map". I've been adjusting the GEL file, but this >does not seem to work. I've also set the HEAP value in the linker to >0xF000. Any help would be greatly appreciated! Thanks, >Jay > >