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.

ethernetip_adapter example with lots of warnings

Other Parts Discussed in Thread: SYSBIOS, AM3359

Hello,

while waiting for the ICE board to be delivered, I installed AM335x_SYSBIOS_Industrial_SDK 01_01_00_05 and tried to build the enetip_adapter example.
To my surprise there were lots of warnings.
Ok, some of them can be ignored, but the others?

Redefinitions appear in
c:\ti\ccsv6\tools\compiler\arm_5.1.8\include\errno.h
and
C:\ti\ndk_2_24_00_11\packages\ti\ndk\inc\serrno.h
It seems that serrno.h has been included before errno.h somewhere.

Also function "ti_ndk_config_tcp_init" is declared implicitly.
However, the output file  ethernetip_adapter_SPI.bin is built.

Did anybody manage to build the project without important warnings?

Regards,
Martin H.

  • Hi Martin,

    The redefined #defines in errno.h are a known issue.

    SDOCM00108037: macro definitions of serrno.h conflict with compiler/system errno.h macros.

    We are looking into the best way to solve this annoyance.

    Todd

  • Hi Todd,

    thanks for replying.

    How about the pre-built binaries mentioned in the Getting Started Guide?
    I could not find a remark in the 'AM335x SYSBIOS Industrial SDK 01.01.00.05 Release Notes.pdf' where to obtain them.
    However, there is a file ethernetip_adapter.bin at C:\ti\am335x_sysbios_ind_sdk_1.1.0.5\sdk\examples\ethernetip_adapter\Debug. Is that the pre-built binary for evaluation? And does it work? I am keen on evaluating as soon as I get the board.

    What I actually want to do is send large data packets from the AM3359 board (ICE 2.1) to a pc using ICSS, so data transfer cannot interfere with sampling which is done by the A8 processor. I am not sure if Ethernet/IP is the right choice for that but the example uses ICSS and the protocol is said to be usable with a normal pc.

    I also had a look at the NDK Users Guide, but the NDK Support Package does not seem to provide a code example for AM3359. Or did I miss something?

    Is there anybody with more experience who can push me in the right direction?
    Example code, projects, application notes, recommendations?

    Thank you.

    Regards,
    Martin H.
  • Martin,
    It appears that you have received as much advice as you'll get on this issue from the TI-RTOS team. I went head and moved this thread over to device forum in hopes that you'll get a faster response there to your remaining questions.
  • Hi Martin,

    The pre-built binaries for ISDK 1.1.0.5 can be downloaded as a separate package from here http://downloads.ti.com/sitara_indus/esd/AM335x_SYSBIOS_Industrial_SDK/latest/index_FDS.html

    Regards,
    Nijin
  • Martin,

    You can find the pre-built binaries here - http://downloads.ti.com/sitara_indus/esd/AM335x_SYSBIOS_Industrial_SDK/latest/index_FDS.html
    The ethernetip_adapter examples lets you evaluate the protocol(which is close to standard ethernet)

    The NDK driver is provided along with the ISDK(sdk/os_drivers/src/ICSS).

    Regards,
    Vinesh
  • Hi,
    I found the pre-built binaries. That hint in the Getting Started Guide was rather misleading.
    Thank you.

    Martin H.
  • Todd,

    would you please let me know were the bug can be tracked?

    SDOCM00108037 doesn't seem to exist at https://cqweb.ext.ti.com/cqweb/#/SDO-Web/SDOWP&format=HTML&version=cqwj

    Regards,

    Martin H.