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.

enetEcho example stops working after rebuild with no changes to anything

Hi,

loading the enetEcho.out from the beaglebone examples works fine, but after I perform a rebuild without changing any settings or code, it will now not respond to a ping or allow a connect, but DOES get an IP using DHCP. Is there something else I need to build / change from the example code to have this work on the beaglebone?

thanks!

here's the console output from the rebuild:

**** Build of configuration Debug for project enetEcho ****

C:\ti\ccsv5\utils\bin\gmake -k -j 2 -s all
'Building file: C:/ti/AM335X_StarterWare_02_00_00_06/third_party/lwip-1.3.2/apps/echoserver_raw/echod.c'
'Building file: C:/ti/AM335X_StarterWare_02_00_00_06/examples/beaglebone/enet_echo/enetEcho.c'
'Invoking: TMS470 Compiler'
'Invoking: TMS470 Compiler'
'Finished building: C:/ti/AM335X_StarterWare_02_00_00_06/third_party/lwip-1.3.2/apps/echoserver_raw/echod.c'
' '
'Finished building: C:/ti/AM335X_StarterWare_02_00_00_06/examples/beaglebone/enet_echo/enetEcho.c'
'Building file: C:/ti/AM335X_StarterWare_02_00_00_06/third_party/lwip-1.3.2/ports/am335x/lwiplib.c'
' '
'Invoking: TMS470 Compiler'
'Finished building: C:/ti/AM335X_StarterWare_02_00_00_06/third_party/lwip-1.3.2/ports/am335x/lwiplib.c'
' '
'Building target: ../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/enet_echo/enetEcho.out'
'Invoking: TMS470 Linker'
<Linking>
'Finished building target: ../../../../../../../binary/armv7a/cgt_ccs/am335x/beaglebone/enet_echo/enetEcho.out'
' '

' '

**** Build Finished ****

  • Hi Edward,

    Rebuilding should not cause any problem if you had not changed any settings. I hope you are using CCS version 5.1.0.09000. This is the version suggested for StarterWare.

    Btw, the latest StarterWare 02.00.00.07 is available, which has a lot of changes related to ethernet like cache support, dual port support etc. I suggest you to try the latest version.

    Regards,

    Sujith.

  • Hi Sujith,

    SDOCM00080255 was a known issue in release 01.20.03.03. However, I do not find a fix for this in the later release notes nor do I see it in the known issues section.

    I presume this is fixed due to TI tools version change. Can you please confirm?

  • Hi Sriram,

    Thanks for pointing it out.

    But, for C674X,   release 01.20.03.03 itself is the latest one. However, SDOCM00080255 is not applicable as we dont use TMS470 toolchain. This is an error in the release notes, and will be fixed in the next version.

    And this TMS470 issue is not applicable for AM335x  which is based on Cortex A8 core ( which supports unaligned access).

    Regards,

    Sujith.

  • Thanks for clarifying Sujith

  • Hi,

    I updated to 2.0.0.7 and am now able to rebuild and it works.  I'm not certain why 2.0.0.6 did not yet, but I'll stick with .7.

    I am using 5.2 CC, if that matters.

    I appreciate the input on this, I'm just starting and rather frustrated.  :-)  I'm sure I'll be back....

    It is interesting to note that the original enetEcho.out is 470K and the rebuilt one is 600k.

    cheers,

    -ed