(Using DS 3.5, latest RTD and latest lwip)
I have a working lwip project running and now need to also enable data cache with compiler flag D_CACHE_ENABLE.
Solved! Go to Solution.
Hi @ola_gook
You can take a look at this post:
There's step by step guide including demo application which contains these changes.
Regards,
Lukas
I managed to get one step closer to the solution.
I found another similar issue where the proposed solution was to make sure the lwip heap is placed in non_cachable ram. Unfortunately, the detailed solution using S32DS was not possible to see due to bad resolution in attached image.
Instead, I did this temporarily by simply appending in mem.c:
I also made sure that the Gmac_Ip_Cfg.o elements are placed in non_cachable RAM by building without -fdata-sections
Current result is that pinging it (or connecting to port 80 with a browser, same result) works about 60% of the time.
Thus, I get the feeling that there is some more data that needs to put in non_cachable RAM.
Any suggestions?
Regards
hi Ola ,
i'm just wondering where exactly did you append that one ?
i'm stuck with the same issue and couldn't find the exact fix for it
thank you
Hi @ola_gook
You can take a look at this post:
There's step by step guide including demo application which contains these changes.
Regards,
Lukas