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.

  • Resolved

RTOS/PROCESSOR-SDK-AM437X: IO LINK Master Example in sdk 05.03.00.07 howto get started?

Intellectual 565 points

Replies: 23

Views: 1331

Part Number: PROCESSOR-SDK-AM437X

Tool/software: TI-RTOS

Hello,

we are trying to re-engineer your design of the

8 Port IO-Link Master Reference Design TIDA-010016

now i installed sdk 05.03.00.07 and compiled the IO link master examples 

following this guide http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_pru_icss_fw.html#pru-icss-iolink

now i wonder where i can find the document mentioned there?

IOLINK FIRMWARE Design Guide<PDK>/packages/ti/drv/iolink/docs/IOLINK_FW_DESIGN_GUIDE.pdf 

i coulndt find this file.

I also wonder if there is a CCS importable project instead of application .bin file available for the IO Link-Example ?

thx in advance  

  • Hi, let me find out with our IO link expert and come back to you. Please be patience and he is OOO this week.

    thank you,

    Paula

  • In reply to Paula Carrillo:

    Hi, I got a response that FW design document is located here:

    git.ti.com/.../docs

    Also, there is no CCS project to build the application, please refer to the README of the IO-Link stack test application and SDG on how to build the application.

    thank you
    Paula
  • In reply to Paula Carrillo:

    Hello i tried to build the example but came to a point where im stuck now. 

    I have the IQ2 Development Master Stack for evaluation installed also corrected the IOLINK_STACK_INSTALL_PATH_but 

    when i gmake the example i get multiple errors.

     ioLink_AppDataFlags is not defined in ioLink_printTask.c

    any help ?

    thx

  • In reply to Haxor:

    Hi Haxor, let me take a look and come back to you
    Paula
  • In reply to Paula Carrillo:

    Hi Haxor, I did a sanity check and it builds OK for me. Let me share what I did.

    I downloaded IQ2 master stack (for our internal use)

    I have a windows machine, so I added "export IOLINK_STACK_INSTALL_PATH" inside C:\TI\pdk_am437x_1_0_14\packages\ti\build\makefile (attached)

    2480.makefile

    In a command line a source PSDK env variables

    > cd C:\TI\pdk_am437x_1_0_14\packages

    > pdksetupenv.bat 

    And then build IO link

    > cd C:\TI\pdk_am437x_1_0_14\packages\ti\drv\iolink

    > gmake apps LIMIT_SOCS=am437x LIMIT_BOARDS=idkAM437x

    Now I see in binary folde some stack files created

    C:\TI\pdk_am437x_1_0_14\packages\ti\binary\IOLINK_Stack_TestApp\bin\idkAM437x

    Note: I didn't rebuild PRU FW

    Hope this helps,

    Paula

  • In reply to Paula Carrillo:

    Hi Paula,

    I think the problem is that the pathes of my IQ2 Master stack Version are different to yours i have the IQ2Master Stack Version 1.1.3.0

    can you recheck with the actual Version of IQ2 Master Stack ? Or do i have to get the older Version ?

    thx in advance

  • In reply to Haxor:

    Hi Haxor, we don't have IQ2Master Stack Version 1.1.3.0.  If you can get 1.1.2.2. it would be easier to help you debug..

    thank you,

    Paula

  • In reply to Paula Carrillo:

    Hi Paula,

    i got the IQ2 Master Stack Version 1.1.2.2 but still have the same problem. 

    i can see that the path structure is still different from the one you showed before. 

    i also get it to build(by correcting Path structure and adding some includes) till the point of IOLink_AppDataFlags wich are unknown. 

    a text search for IOLink_AppDataFlags from my whole C:\ti folder has no results than the files with missing definitions 

    ioLink_autosenTask.c

    ioLink_printTask.c

    can you tell me where IOLink_AppDataFlags and IOLink_AppData is defined in your Code ?

    thx 

    thx

  • In reply to Haxor:

    Hi Haxor, IOLink_AppDataFlags and IOLink_AppData are defined in the stack:

    <iolink-iq2-stack-path>\iq_stack_master_v1_1_2_2\mst_appl.h
    <iolink-iq2-stack-path>\iq_stack_master_v1_1_2_2\mst_appl.c

    thank you,
    Paula
  • In reply to Paula Carrillo:

    Hi Paula,

    I can see that this is missing in my mst_appl.c and mst_appl.h

    i also realise that my files have smaller size than yours. Do you made changes on your own to these files ? 

    is it possible for you to send me those mst_appl files of yours ?

    if not how can we get along ?

    thx

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.