Tool/software: TI-RTOS
Hello Everyone and Happy New Year !!!
This post concerns an identical problem that I have mentioned in a previous post (AM3359: EtherCAT issue in ISDK) but with the new installed Texas architecture.
I have updated the new release:
- pdk_am335x_1_0_7
- PRU-ICSS-EtherCAT_Slave_01.00.04.02 patched with the new release from Beckoff 5.12
My application is running on a board with 8 cards.
Each card is equiped with an ARM3359.
All these cards are part of an Ethercat Network which is driven by a master Ethercat.
On each processor, a same software is running. This software was built from the "ethercat slave "project model.
In this project, the EcatStack code use 2 tables to initialize the PRU: HostProc[] and FrameProc[].
These tables are given in the installed directory: C:\ti\PRU-ICSS-EtherCAT_Slave_01.00.04.02\protocols\ethercat_slave\firmware\v1.0.
This is my problem : When I start my board, my Ethercat networt starts, I scan the bus and no slave are seen !!!!
So I tried to make this test: I plug only the first slave, I scan the bus, the salve is well seen, then I connect the 2nd slave, I scan the bus, the 2 slaves are seen, I connect the 2rd slave, I scan the bus, The 3 slaves are seen....
In fact, with all my tests, it seems that there is a problem in the initialization of the second port of my slave !
During all my debug tests, I tried to initialize the PRU with a previous version of HostProc[] and FrameProc[].
These tables are given in the installed directory: C:\ti\sysbios_ind_sdk_02.01.03.02\sdk\protocols\ethercat_slave\firmware\v1.0
And, now, everything is ok !!!!
My 8 slaves are seen at reset and everythin is working.
So it seems that the PRU initialization is different between the 2 versions of the tables: can you tell me what it is and what can I do to have a recent version that works correctly ?
I join you the 2 versions of tables initialization !
Thanks a lot for you help
Laurence