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.

AM2434: Program will crash in Pcie_open when adding a PCIe driver in syscfg

Part Number: AM2434

Tool/software:

Hi, 

we are working on FreeRTOS, when adding a PCIe driver, program will crash in Pcie_open().

Platform: AM243xEVM as RC

SDK Version: ind_comms_sdk_am243x_09_00_00_03

Question 1: Is the configuration of Outbound address correct? What do Base Address and Target Address refer to respectively? 

Question 2: Due to Pcie_open() is in SDK and cannot be debugged into. Is there any method to investigate the reason of program crash? 

Question 3: MPU ARMv7 configuration as right picture,  is there any correlation between the configuration of MPU REGION and PCIe?

         

  • Hi ,

    Thanks for your query.

    Platform: AM243xEVM as RC

    What is the use case? You are working on AM243x(RTOS)- RC <=> AM243x(RTOS)-EP or something else ?

    SDK Version: ind_comms_sdk_am243x_09_00_00_03

    Why are you using Industrial com SDK ? 

    You can refer AM64x MCU+ SDK: PCIE EP Enumeration

    Regards

    Ashwani

  • What is the use case? You are working on AM243x(RTOS)- RC <=> AM243x(RTOS)-EP or something else

    AM2434(RTOS) as RC, Cyclone 10 GX FPGA Development kit as EP. And we have successfully tested this combination using SDK example as following:

    C:\ti\ind_comms_sdk_am243x_09_00_00_03\mcu_plus_sdk\examples\drivers\pcie\pcie_buf_transfer\pcie_buf_transfer_rc.

    Why are you using Industrial com SDK ? 

    Because we need EtherCAT , so we have to use ind_comms_sdk

  • Because we need EtherCAT

    On which core EtherCat device ( assuming this is not master ) is running ?

    The same core you are using for pcie-rc ?

    AM2434(RTOS) as RC, Cyclone 10 GX FPGA Development kit as EP. And we have successfully tested this combination using SDK example as following

    This is working out of box example or you made some changes ?

    Regards

    Ashwani

  • On which core EtherCat device ( assuming this is not master ) is running ?

    The same core you are using for pcie-rc ?

    Yes, both EhterCat and PCIe-rc runs in the same core MAIN_Cortex_R5_0. Is there a conflict between EtherCAT and PCIe RC in the same core?

    Question 2: Due to Pcie_open() is in SDK and cannot be debugged into. Is there any method to investigate the reason of program crash? 

    Could you help to answer Question 2? We are blocking here, and looking forward to your reply very much. Thanks!