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.

AM335x PRU Programming

Other Parts Discussed in Thread: AM3357, TLK110

We would like to use the AM3357 in an EtherCAT application. Once we impliment EtherCAT in the PRU, is there room and capability for the PRU to still take on other functions? Can we impliment EtherCat and add in our own code?

I see that tools are being rolled out for customer PRU programming. Are they released? I found another thread that refers us to gethub for tools, is this everything we need?

http://e2e.ti.com/support/dsp/sitara_arm174_microprocessors/f/791/t/186195.aspx

 

Thanks,

 

Bryan Busacco

  • Bryan,

    if you plan to use the TI EtherCAT slave controller as provided with the IA-SDK both PRUs will be fully used and there is no way you can change that. We are not providing any of the source for the PRU firmware in that case. What other functions do you need?

    PRU assembler and PRU-ICSS docs can now be found on the git hub. Start from there and let us know if you think something is missing and what you like to achieve. Then we might be of more help...

    Regards.

  • Frank,

    I'm developing an ethercat slave device with one ethercat port; this device well be hard-wired  at the end of the ethercat chain, so there is no need of port through connection.

    In this case, I assume the second PRU will be idle forever. Any chance to flush the firmware and make room for other tasks?

  • Eugenio,

    sorry, no. The software architecture on the PRU-ICSS for EtherCAT slave always requires both PRUs.

    Regards,

  • Ok.

    Is it mandatory to wire the ethernet pyh to the unused port? In the pcb board there are some space constraints, so only one pyh will be placed. Referring to ICE rev a2 schematic, U14 and subsequent components will be missing. 

    Will this cause problmes to PRUm firmware (i.e hanging somewere waiting for TLK110 handshake...)?

  • there is a issue when i am building the ethercat_slave.  the project works well  if i do nothing modify in the tiescappl.c . but if do any modify, for example, add a blank line,  the tiescappl.c will have errors. the errors are as following:

    "#"not expectedd here      line1

    expected a ":"             line1

    this declaration has no storage class or type specifier    line1

    unrecognized token           line1

    can you tell me what is wrong about the errors?

    thanks very much

  • Seems like an issue with your tools or OS. I suggest you post a new entry to the relevant forum (e.g. CCS if this what you are using).

    Don't use old threads with new issues.

    Regards.