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.

TSW1400EVM: Some doubts about the 'Read_DDR_Memory' function in the HSDCPro Automation DLL

Part Number: TSW1400EVM

Dear 

We want to use  'Read_DDR_Memory' function to read the data in DDR and  assign the data to an array.

we can see from the user guide about the function:

and we use the code as follows:

Datareadfromddr= calllib('HSDCProAutomation_64Bit','Read_DDR_Memory',WaitToCheckTrigger,TimeoutInMs);

the output shows: [Error_Status]=0

Please tell me why and how to  assign the data in the DDR to an array without save it as a csv.file and reread it.

Thanks

  • Yanlin,

    We are looking into this.

    Regards,

    Jim

  • Yanlin,

    The “Read DDR Memory” automation function doesn’t capture data to an array. It is used for reading the data, available in DDR as a result of hardware trigger, to a file.

     

    Regards,

     

    Jim

  • Dear Jim

    we know that  “Read DDR Memory” automation function  is used for reading the data in DDR,so we use the follow code ,in order to assign the data that we read in DDR with the  “Read DDR Memory” automation function to an array

    Datareadfromddr= calllib('HSDCProAutomation_64Bit','Read_DDR_Memory',WaitToCheckTrigger,TimeoutInMs);

    the question is the array Datareadfromddr is wrong(without any data).

    could you tell me why we cannot Assign the data in DDR to an array or you can teach me a new way to realize this.

    best wishes

    Xu

  • Xu,

    As mentioned in your previous reply in this forum issue, “Read DDR Memory” function is used to read the DDR data (In Hardware trigger mode) to a ‘file’ and it doesn’t return any data that can be assigned to array. When using the  TSW1400EVM board, the data will be present in ADC Temp.bin file available at the following location.

     

    In HSDC Pro v4.90 - C:\Users\Public\Documents\Texas Instruments\High Speed Data Converter Pro

    In other lower HSDC Pro versions - C:\Program Files (x86)\Texas Instruments\High Speed Data Converter Pro

     

    Regards,

     

    Jim