Running lwip code in SDRAM for imxrt1176

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Running lwip code in SDRAM for imxrt1176

921 Views
pratiknaphade2
Contributor II

Hi,

We are using the demo exmple code (lwip_dhcp_usb_freertos) from the IAR SDK provided by NXP for imxrt1176 mpu and we are using the flexspi_nor_debug linker script. the project runs successfully when we use default linker script, but when we change the data sections from DTC RAM to either OC1_RAM or external SDRAM memory location, the code doesn't work.

Sometimes it gives the hardfault in the lwip functionality or sometimes it stucks in IDLE task only, not giving the execution time to other tasks and hence not communicating with USB host device.

Can anyone please tell us why lwip functionality is causing different behaviour when running in DTC RAM or SDRAM locations? OR how can we resolve this issue?

0 Kudos
Reply
1 Reply

901 Views
jingpan
NXP TechSupport
NXP TechSupport
0 Kudos
Reply