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.

RM57L843: Lwip Example for Launchpad TMS570LC43x/RM57Lx

Part Number: RM57L843
Other Parts Discussed in Thread: HALCOGEN

iam trying to get the LwIP example for the XL2-RM57L(B) / (TMS570LC43x /RM57Lx)  to run.
I used the document: "HALCoGen Ethernet Driver With lwIP Integration Demo
and Active Web Server Demo" for this. https://www.ti.com/lit/an/spna239/spna239.pdf

Iam Using CCS Version: 8.3.1.00004
HALCoGen 04.07.01

1.) Iam not sure anymore if the Launchpad i have (TMS570LC43x/ RM57Lx) 337ZWT LAUNCHPAD XL2 -> XL2-RM57L(B) is included in this Document.

I Configured HALCoGen like described in the document spna239 -> 4.4 TMS570LC43 Launchpad (LAUNCHXL2 570LC43x) (4.3)
There are several problems which appear if i try to build and upload the programm.

To build the programm i needed to:

  • add include paths (i guess all outside of the HALCoGen source folder) even tho all folders were linked
  • Add an predefined Symbol (_TMS570LC43x_ or _RM57Lx_)
  • Link the libary "rtsv7R4_T_be_v3D16_eabi.lib" new (adding absolute path)
  • change in "Project Settings->General->Project->Toolchain->Runtime support library to "<automatic>"

To Debug/Flash (Connect with the Target)

  • change in "Project Settings->General->Project->Conenction: to "Texas Instruments XDS110 USB Debug Probe"

also i tried to build and launch the existing CCS Projects:

https://git.ti.com/cgit/hercules_examples/hercules_examples/tree/Application/LwIP/v00.04.00/LAUNCHXL2-TMS570LC43x

and
https://git.ti.com/cgit/hercules_examples/hercules_examples/tree/Application/LwIP/v00.04.00/LAUNCHXL2-RM57/Build-LAUNCHXL2-RM57x

without success.

What am i missing?

Which one should be suitable for my Launchpad?


Best Regards,
Ken

  • Hi Ken,

    RM57 is little endian device 

    And TMS570 is a big-endian device

    Because of this you are getting endian error while modifying and downloading TMS570 project to the RM57.

    You can resolve this error by changing endianness to the little from the project properties window

    But i would suggest you use RM57 LwIP example directly instead of modifying TMS570 example 
    ..\hercules_examples\Application\LwIP\v00.04.00\RM57x

    What exactly error you are facing while using RM57 example directly?

    --

    Thanks & Regards,

    Jagadish.