1. Decompress the attachment TIDL.rar and copy to the path /ti_fs/vision_apps/ in sdcard.
2. Run the init command of pcie_manager on two SOC.
on -ad ./pcie_manager --root_complex -d 0 -m /memory/ram/sysram -s 746496000 > /dev/null &
on -ad ./pcie_manager --end_point -d 0 -m /memory/ram/sysram -s 746496000 > /dev/null &
3. Run ./run_app_tidl.sh & on one SOC.
4. If the pcie_manager and TIDL work normally, then run the ./bidirectional program in two SOC.
./bidirectional -n 10 -v -p -s 24883200 -l 100000
Exchange the step 2 and 3. Try again.
Summary of test results:
1. When TIDL is started first and then pcie manager is started, TIDL exits abnormally
2. When the pcie manager is started first and then TIDL is started, the two phenomena are as follows:
1) TIDL failed to start
2) TIDL is successfully started. After creating the pcie channel, it runs for about 1 minute, and the pcie manager exits abnormally.
The attachment contains the following compressed packages:
pcie demo : pcie_manager
TIDL demo : TIDL.rar