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 ICE V2 Starterware in Sysbios IND SDK 2.1.1.2 Pinmux modification

Other Parts Discussed in Thread: AM3359, SYSBIOS

My setup:

AM3359 ICE V2

CCS V 6.1.3

SYSBIOS IND SDK 2.1.1.2

Hi,

i am using the ICE v2 with the Profinet_RT example from sysbios ind sdk 2.1.1.2. I modified this example for SPI master communication using SPI1. Now i need two  slaves on the SPI1. Because of only having one chip select pin on connector J3 i want to change the pinmux. I used the pinmux tool v4 and opened the pinmux configuration in C:\ti\sysbios_ind_sdk_2.1.1.2\sdk\starterware\tools\pinmux_config\am335x\icev2_config which seems for me to be the standard configuration used in the sdk examples. I read about it here:

"e2e.ti.com/.../478585"

I changed SPI1 pinmux to a new valid configuration and downloaded the starterware files created by the pinmux tool (am335x_gpevm_pinmux_data.c and am335x_pinmux.h) I renamed the first one to "am335x_icev2_pinmux_data.c according to the following post and changed the "gpevm" at the end of the file to "...gIceV2...", also according to the following instruction file:

/cfs-file/__key/communityserver-discussions-components-files/791/8103.UART1_5F00_custom_5F00_modification_5F00_steps_5F00_AM335x.pdf

Then i replaced the original two files in C:\ti\sysbios_ind_sdk_2.1.1.2\sdk\starterware\board\am335x.

Now the next step would be to rebuild/recompile those starterware library/source files i guess? But how to do this ? In the instructions for pinmux modifications in the .pdf above it is described for the pdk and not for the starterware within the sysbios ind sdk. Would you please help me how to do this ?

Thanks in advance

Michael

  • Hello Michael

    There are some instructions in Board_and_ChipDB_Details.pdf that is contained in C:\ti\sysbios_ind_sdk_2.1.1.2\sdk\starterware\docs that will help.

    When rebuilding the starterware board lib - the resulting lib will be stored in a different location from the prebuilt libraries. If you build a release version it will be C:\ti\sysbios_ind_sdk_2.1.1.2\sdk\starterware\binary\board\lib\am335x-evm\a8\ccs\am335x_release. It will be necessary to update the library reference for board library in the application link configuration.

    David

  • Hello David,

    i allready read the instructions in the starterware docs before, sorry for not telling you that. My problem is/was that i didn't know how to rebuild the board library. Now i found out that there is a CCS project in the starterware board folder C:\ti\sysbios_ind_sdk_2.1.1.2\sdk\starterware\board\ccs and that this seems to be the way to rebuild the board libraries. Unfortunatelly i got an error when trying to compile it. Something about "nullpointerexception" and "CDT Builder". There were some threads in the forum about this issue and i finally decided to install an older CCS version (5.4). With the older version i now was able to compile the board library. Then i found the library in the path you mentioned. Then the step with the library reference also got clear to me. So thanks again for your help with this.

    But now i am facing another issue. Just like in this forum thread https://e2e.ti.com/support/embedded/starterware/f/790/t/478585 i found out that the file for the pinmux tool 

    C:\ti\sysbios_ind_sdk_2.1.1.2\sdk\starterware\tools\pinmux_config\am335x\icev2_config

    seems not to be the source for the pinmux configuration which is used in the profinet_slave_rt_mrt example in the sdk.

    So my question is: Where is the pinmuxtool-file which contains the mux configuration which is used in the profinet slave example ?

    Thanks in advance

    Michael

  • Hi Michael

    Each Industrial SDK release has specific version requirements for CCS, XDCToools, SysBIOS, and NDC.
    ISDK 2.1.1.2 requires the following versions
    Code Composer Studio version CCS 6.1.1.00022 with Compiler GNU v4.8.4 (Linaro)
    SYS/BIOS 6.42.2.29 Real Time Operating System
    XDC Tool 3.31.2.38_core
    NDK 2.24.3.35

    The SYS/BIOS and XDCTool downloads are available at
    software-dl.ti.com/.../index.html

    The NDK can be downloaded at
    software-dl.ti.com/.../

    The pinmux is configured for board type rather than by application. For the ICE V2 the pin mux definition that is used is (when the default directory installation settings are used) :
    C:\ti\sysbios_ind_sdk_2.1.1.2\sdk\starterware\board\am335x\am335x_icev2_pinmux_data.c

    There is a ICEv2 pinmux config file that is stored at:
    C:\ti\sysbios_ind_sdk_2.1.1.2\sdk\starterware\tools\pinmux_config\am335x\icev2_config
    However this configuration file does not appear to contain icss-industrial ethernet pin configuration settings selected.

    I will inquire to see if there is an updated configuration file.

    David
  • Michael

    I should mention that I have successfully used CCS 6.1.2 for ISDK 2.1.1.2.

    David