AnsweredAssumed Answered

FillMemoryFromBinaryFile Method

Question asked by Khadar on Jun 11, 2012
Latest reply on Jun 13, 2012 by CesarLu

Hi,

 

I am calling FillMemoryFromBinaryFile Method from my application. But, this function is not supporting for 0xFF800000 (StartAddress)

 

See the code below:

 

memory_type_list = processor.MemoryTypeList;

memory_type = memory_type_list[0];

ADspValue value = new ADspValue();

 

memory_type.FillMemoryFromBinaryFile(

@"D:\SPI_1A.dnl", 0xFF800000, 8717, 1, VisualDSP.adspEndianFormat.endianFormatLittle);

 

Start Address: 0xFF800000

Count: 8717

 

 

#1

The FillMemoryFromBinaryFile Method accepts Long int as per VisualDSP++ Automation API Reference. But, actual implementation supports only for int type.

void FillMemoryFromBinaryFile(string FileName, int StartAddress, int Count, int Stride, adspEndianFormat EndianFormat);

 

#2

We can fill the memory with IDDE manual option (Visual DSP++ 5.0 IDDE -> Memory->Fill). But, I want to use some API instead of manual method.

 

#3

Is there any API that I can use to pass 0xFF800000 value as StartAddress?

 

Thanks!

 

Regards,

Khadar

Attachments

Outcomes