Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Clean lwIP HalCoGen starting point

$
0
0

Hi,

I'm trying to build a clean HalCoGen project for TMS570 including the lwIP stack. When will work this example would be useful to all the users asking some easy startup on using the ethernet.

In attachment there's my second try (the first used the last version of lwIP with no success).

This where the main steps:

- Started the project in halcogen as illustrated in your video tutorial (mainly enabling EMAC and SCI2 and enabling MUX for EMAC)

- open the HalCoGen project in CCS5

- imported your lwIP-1.3.2 sources from the "Halcogen emac driver and lwIP demonstration"

- excluded from direct compilation all the sources inside the lwIP folder (they are compiled indirectly with the lwiplib.c file)

- imported a couple of required file again from the example

- added the minimum code in the sys_main to setup the lwIP

With a little work the project compiles and load flawless in the device but is not able to gain the network functionality (no ping) both with DHCP or static address. I've dig a lot in the sources but with no success.

Can you please give it a try?

Thank you.

ciao,

Matteo


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>