Part Number: AM2434
Other Parts Discussed in Thread: SYSCONFIG, DP83826E
Tool/software:
Hi Ti Expert,
My CCS version is CCS 20.2.0, and SDK is ind_comms_sdk_am243x_11_00_00_08.
Our design is AM243x + Altera FPGA using PCIE to communicate. MCU is RC and FPGA is EP.
Following the demo from SDK, pcie_buf_transfer_rc(C:\ti\ind_comms_sdk_am243x_11_00_00_08\mcu_plus_sdk\examples\drivers\pcie\pcie_buf_transfer\pcie_buf_transfer_rc\am243x-evm), we developed our own PCIE project.
In the old version of CCS 12.4 and SDK 9.2 our project work well, both reading and writing.
But when I updated to the new version CCS and SDK, our project cannot work for reading and always stuck here,

The following are the major code of our projects and the screen shot of the old and new projects.
int main(void)
{
uint32_t * test = (uint32_t *)(0x68000000U + 0x01000000U);
uint32_t read_test = 0;
System_init();
Board_init();
Drivers_open();
HAL_PCIE_fpgaInit(gPcieHandle[CONFIG_PCIE0]);
*(test+0) = 0x1f; // writing
*(test+0) = 0x0; // writing
*(test+0) = 0x1; // writing
read_test = *(test+0x140/4); //reading, Isse is here
Board_deinit();
System_deinit();
return 0;
}
//This is my init function for fpga-PCIE.
int32_t HAL_PCIE_fpgaInit(Pcie_Handle handle)
{
int32_t status = SystemP_SUCCESS;
pcieHandle = handle; //gPcieHandle[CONFIG_PCIE0]
//Drivers_open(); // if this driver is the only one in this project, need this line
//Board_driversOpen(); // if this driver is the only one in this project, need this line
status = Pcie_getVendorId(pcieHandle, PCIE_LOCATION_REMOTE, &vndId, &devId);
if (SystemP_SUCCESS != status)
{
return status;
}
status = pcieFpgaSetStatusCmd(pcieHandle);
if (SystemP_SUCCESS != status)
{
return status;
}
status = pcieFpgaEpBar1Cfg(pcieHandle);
if (SystemP_SUCCESS != status)
{
return status;
}
status = pcieWriteDevStatCtrlReg(pcieHandle);
if (SystemP_SUCCESS != status)
{
return status;
}
pcie_initialized_indicating = 1;
return status;
}

sysconfig for old project

sysconfig for new project
Please help me with this,
BR,
Chunyang
