cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
1,334 Views
Registered: ‎03-26-2018

Is it possible to achieve lwip with flash memory?

Jump to solution
Hi everyone,

In xapp1026 they achieve the Lwip with sdram, but I only have a flash on my board. So is it possible to store the code in flash or has anyone achieved Lwip only with on-chip-memory?

Thanks
Tags (1)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Scholar
Scholar
1,569 Views
Registered: ‎04-13-2015

hi @kaho_123

 

if the code footprint of lwIP remains too big, you should look at uIP:

https://en.wikipedia.org/wiki/UIP_(micro_IP)

It was designed by Adam Dunkels who created lwIP.

https://github.com/adamdunkels/uip

 

View solution in original post

0 Kudos
5 Replies
Highlighted
Moderator
Moderator
1,316 Views
Registered: ‎10-30-2017

Hi @kaho_123,

 

Xilinx has not tried to reduce lwIP enough to fit into internal bram alone and specific reduction techniques are left up to the designer.

In looking online there are some lwIP reduction techniques that can be found in some simple web searches. However, these suggestions may involve manual editing of the lwIP source code unless the parameters are available in the exisiting options for the Xilinx adaptation for lwIP.

In looking at the Xilinx lwIP documentation it does not appear that the mbox attribute is available at this time as the Xilinx lwIP options are all listed in the OS and Libraries Document Collection (oslib_rm.pdf).

 

Best Regards,
Srikanth
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.

 

0 Kudos
Highlighted
Visitor
Visitor
1,299 Views
Registered: ‎03-26-2018

Hi savula,

 

Thanks for your suggestion. As a noob of microblaze, do you mean that I can reduce the part of lwip lib i dont used to make it fit with my internal bram?

0 Kudos
Highlighted
Scholar
Scholar
1,570 Views
Registered: ‎04-13-2015

hi @kaho_123

 

if the code footprint of lwIP remains too big, you should look at uIP:

https://en.wikipedia.org/wiki/UIP_(micro_IP)

It was designed by Adam Dunkels who created lwIP.

https://github.com/adamdunkels/uip

 

View solution in original post

0 Kudos
Highlighted
Visitor
Visitor
1,257 Views
Registered: ‎03-26-2018

hi @ericv

 

is the u-ip suit for xilinx sdk?

0 Kudos
Highlighted
Scholar
Scholar
1,253 Views
Registered: ‎04-13-2015

@kaho_123

 

uIP is not processor nor tool specific.

 

 

 

.

 

0 Kudos