ETH_LWIP error in combination with the XMC4800

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi Guys,

I'm trying out some of the new Apps released with Dave 4.2.4.
In fact I'm using a XMC4800 F144-2048 and a XMC4500 F144-1024

I set up the new ETH_LWIP App for both chips in the RAW variant (without any operating system).
With the '45 it works pretty fine. The '48 throws an error during the code generation:

Cannot invoke method toInteger() on null object	ethernetifc.tmpl	/test/Dave/Model/APPS/ETH_LWIP/v4_0_4/Templates	line 498	Groovy Template


The referenced line is the following:
 port_control.clk_rmii = (XMC_ETH_MAC_PORT_CTRL_CLK_RMII_t)${eth_lwip_inst.hwres_eth_mac.getRegValue("con","con_rmii").toInteger()}U;


From the first glance I would guess, that there is an error within the Hardware Describtion File.
But before submitting a ticket, I would like to ask, if anyone is able to reproduce this bug.

If additional informations are needed just ask.

Cheers Tobi
0 Likes
1 Reply
User10215
Level 4
Level 4
First like received
Hi Tobi,

There is a solution to this. See this thread:

http://www.infineonforums.com/threads/3791-LWIP-Generate-Code-error

Regards,
Niclas
0 Likes