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.

Powerlink PRU code and documentation

Other Parts Discussed in Thread: AM3359, SYSBIOS

Hello all,

I am very new with TI Sitara devices and I am currently evaluating the possibilties for using a AM3359 device as a Ethernet Powerlink slave.

My starting point would be a ICE evaluation board. I downloaded the SYS/BIOS SDK 1.0.0.6, because within there is an example for a Powerlink slave.

Diving more into it, I spotted that there is a C array of PRU code that is loaded at system startup into the PRUs code RAM. What I didn't find was

the PASM code for the PRUs. I think this would be quite helpful for understanding, what part of the Powerlink communictaion is handled by the PRUs.

Can anybody help me with that?

Thanks in advance

Georg

  • Georg,

    we usually do not provide the source code for the low level protocol implementations on PRU. In the case of Powerlink it is supposed to implement an openMAC function. However this code is currently in demo state only. Please contact me or your TI sales contact directly for further details on Powerlink support.

    Regards.

  • Frank,

    I am working on Powerlink stack on AM3359 ICE. I used PRUSS Linux Application Loader to download openMAC function code which is offered by sysbios sdk to PRU. Now I am still thinking about how to  test if the function code was downloaded successfully. Do you think this implementation is resonable? I run Powerlink on the Board and there's nothing but basic ethernet state and no packages captured by wireshark.

    Thx!
    Simon 

  • Simon,

    as mentioned earlier our Powerlink slave implementation was only meant to demonstrate the capability to do Powerlink using AM335x. It is not intended for real products in that stage. However we are working with third parties to get an actual stack working on a newer version of the openMAC PRU firmware. 

    In case you want to try the firmware available with IA-SDK you would obviously also need to re-write the driver code to Linux level. I assume this to be a major task. Our third parties will also be able to offer support for porting to different operating systems.

    Regards.

  • Hello there, Hope you're doing great.

    Our laboratory is working on ICE board to integrate POWERLINK into our robot manipulator project. I've read this thread, and I learned that the ICE board is for demonstration purposes only. WIll the ICE board be suitable for our project?

    We are having difficulties on configuring the slave's input and output (LED). We tried to send data to the slave (address:6200/1) but that specific LED did not blink (it must blink right?), however the state LED blinked. Now, we think that the slave configuration is the problem (we just downloaded this APP configuration file form Port). The APP file is not configurable?

    What do you we need to do to solve this problem? 

    • will we need to change board for slave?
    • Can we configure APP file using a specific firmware? If there is please recommend.
    • What are the limitations and capabilities of this ICE board.

    Thanks!!! Hope you can help us.

    Abs

  • Hi Abs,

    you picked up an old thread. Usually it is better to start a new one...
    Anyway it is not clear what you like to do. What ICE board are you using? Lately we only support ICEv2.
    Also these boards are meant for evaluation and development purposes but not for production use cases.
    The Powerlink demo on Port web is a fixed demo. This can only be used for a quick eval of the technology. If you need to change something in the data exchanged you need full sources from Port for their commercial stack. They can also support customers on integration.

    Best regards,