Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hello,
Following this Link http://processors.wiki.ti.com/index.php/PRU_ICSS_EtherCAT. I was able to to make a Slave Project ethercat_slave_full_AM572x_arm for ARM Subsystem which works.
Code Composer Studio Version: 7.2.0.00013, XDC Tools Revision 3.32.1.22, SYS/BIOS 6.46.5.55, am57xx PDK, 1.08PRU-ICSS-EtherCAT_Slave_01.00.05.00
I have started to make a Project for C66xx_DSP, which I can compile now after some changes in Cfg-File and in
tiesbsb.h
#ifndef DSP_ETHERCAT_COMPATIBILITY
#define ASSERT_DMB() __asm(" dmb")
#define ASSERT_DSB() __asm(" dsb")
#else
#define ASSERT_DMB() __asm(" mfence")
#define ASSERT_DSB() __asm(" mfence")
#endif
I am not sure about if the dmb and dsb (arm) can be translated.
After Debug the demo I have mentioned that the Example is made for the Arm. so that
PRUICSS_registerIrqHandler(pruIcssHandle,evtOutNum,pruIsrNum, ....) Fails. The Reason ist that evtOutNum and pruIsrNum are mapped for the ARM
Cause I am not really firm with the EtherCat and the PRU I Need more Information about the Interface to the PRU-EtherCat Firmware
Here my Question:
Is it possible to run the demo on DSP Subsystem in principle?
Which changes I have to make or the Points i have to Change (ARM <-> DSP) in General.
Uemit.