Hello all,
I tried to write data from the Linux Host-computer to MDSEVM6678L
and read data drom EVM to Host using modified
project "Hello world" from1234.pcie_test_v0_3_13_w_local_reset.zip
mcsdk_2_01_02_06\tools\boot_loader\examples\pcie\
I used these functions:
writeDSPMemory(9, 0x8000FB80, inputArray, 4);
writeDSPMemory(9, 0x8000FB80, &inputTMP, 4);
writeDSPMemory(9, 0x8000FBC0, &inputArrayFull, 4);
to wtite data into DSP's DDR with the phisical addresses.
And I used the function
readDSPMemory(9, 0x8000FBC4, &outputArrayFull, 4);
to read data from DSP's DDR. Programm indicates that this function
read data from DSP's DDR.
Functions
writeDSPMemory(9, 0x8000FB80, inputArray, 4);
writeDSPMemory(9, 0x8000FB80, &inputTMP, 4);
don't write data into DSP's DDR (tested from CCS with the emulator).
The function
writeDSPMemory(9, 0x8000FBC0, &inputArrayFull, 4);
don't writes data to DSP's DDR when it was set before cycle While.
But the same function succesfully writes data to the DDR's address "0x8000FBC0"
when one was set whithin cycle While.
Apparently it is not correct using of these funtions.
Please help me to revise the code for writing data from Linux Host into DSP's DDR/MSM/L2 correctly.
I used:
Code Composer Studio 5.2.1.00018
mcsdk_2_01_02_06
OS - Debian7
Sourse codes of the modified example is in the attachment.
Sourse code for pcieDdrInit_6678 and pcieLocalReset_6678 was not modified.
Best regards,