Tool/software: TI C/C++ Compiler
i want to use the dsp icss_emac example in pdk, with ipc communication for ARM.
the ARM running with linux, DSP running with RTOS, the dsp fireware in arm linux(/lib/fireware/) ,
but in example the ARM was not running with linux, there are many differents form my needs.
how can i do this function? i need the details! i do the steps below but it not works.
1) disable the pru_eth in the device tree for linux
2) modify the cfg flag int the board_init (in TI document of led_blink example with IPC , it do not need board_init)
3) Cache_setMar((xdc_Ptr)0x4b000000U, 0x10000U, 0);
Cache_setMar((xdc_Ptr)0x40000000U, 0x10000U, 0);
4) PRUICSS_create return PRUICSS_Handle
5) CSL_xbarDspIrqConfigure(1, CSL_XBAR_INST_DSP1_IRQ_76, CSL_XBAR_PRUSS2_IRQ_HOST8);
CSL_xbarDspIrqConfigure(1, CSL_XBAR_INST_DSP1_IRQ_77, CSL_XBAR_PRUSS2_IRQ_HOST2);
CSL_xbarDspIrqConfigure(1, CSL_XBAR_INST_DSP1_IRQ_78, CSL_XBAR_PRUSS2_IRQ_HOST4);
6) init ICSS_EmacHandle and ICSS_EmacObject
7) ICSS_EmacInit
8) ICSS_EmacRegisterHwIntRx
9) PRUICSS_pruDisable
10) PRUICSS_pruWriteMemory for DMEM
11) PRUICSS_pruWriteMemory for IMEM
12) PRUICSS_pruEnable
13 ) ICSS_EmacTxPacket to send the ethernet packets
14) ICSS_EmacPollControl to recv the ethernet packets with ICSS_EMAC_POLL_MODE_RX_PKT flag