Freertos LWIP http server without external SDRAM

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

Freertos LWIP http server without external SDRAM

Jump to solution
2,647 Views
stefanardo
Contributor I

I am using iMXRT1021 with a custom board and I am having trouble with the http server example.

My board does not have an external SDRAM and  I am using the freertos sdk example simply changing the memory sequence and and some pins. I can compile and run it but I cannot have any ethernet activity and I never receive a packet,

With the baremetal example all works fine...

Is possible to have this kind of application with a board without external memory?

 

Regards.

Stefano

0 Kudos
Reply
1 Solution
2,616 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @stefanardo ,

If your project is based on the MCUXpresso IDE, you can easily delete the SDRAM space and modify NCACHE_REGION to a piece of space from OCRAM.

Please run your project after making this change and try it again, see these two links:

1. NCACHE_REGION issue on RT1024 - NXP Community

2. 已解决: NCACHE region in internal RAM IMXRT1021 - NXP Community

Best regards,
Gavin

View solution in original post

0 Kudos
Reply
1 Reply
2,617 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @stefanardo ,

If your project is based on the MCUXpresso IDE, you can easily delete the SDRAM space and modify NCACHE_REGION to a piece of space from OCRAM.

Please run your project after making this change and try it again, see these two links:

1. NCACHE_REGION issue on RT1024 - NXP Community

2. 已解决: NCACHE region in internal RAM IMXRT1021 - NXP Community

Best regards,
Gavin

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1865512%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFreertos%20LWIP%20http%20server%20without%20external%20SDRAM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1865512%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20using%20iMXRT1021%20with%20a%20custom%20board%20and%20I%20am%20having%20trouble%20with%20the%20http%20server%20example.%3C%2FP%3E%3CP%3EMy%20board%20does%20not%20have%20an%20external%20SDRAM%20and%26nbsp%3B%20I%20am%20using%20the%20freertos%20sdk%20example%20simply%20changing%20the%20memory%20sequence%20and%20and%20some%20pins.%20I%20can%20compile%20and%20run%20it%20but%20I%20cannot%20have%20any%20ethernet%20activity%20and%20I%20never%20receive%20a%20packet%2C%3C%2FP%3E%3CP%3EWith%20the%20baremetal%20example%20all%20works%20fine...%3C%2FP%3E%3CP%3EIs%20possible%20to%20have%20this%20kind%20of%20application%20with%20a%20board%20without%20external%20memory%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ERegards.%3C%2FP%3E%3CP%3EStefano%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1867800%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%20Freertos%20LWIP%20http%20server%20without%20external%20SDRAM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1867800%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F197065%22%20target%3D%22_blank%22%3E%40stefanardo%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EIf%20your%20project%20is%20based%20on%20the%20MCUXpresso%20IDE%2C%20you%20can%20easily%20delete%20the%20SDRAM%20space%20and%20modify%20NCACHE_REGION%20to%20a%20piece%20of%20space%20from%20OCRAM.%3C%2FP%3E%0A%3CP%3EPlease%20run%20your%20project%20after%20making%20this%20change%20and%20try%20it%20again%2C%20see%20these%20two%20links%3A%3C%2FP%3E%0A%3CP%3E1.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-RT%2FNCACHE-REGION-issue-on-RT1024%2Fm-p%2F1796363%22%20target%3D%22_blank%22%3ENCACHE_REGION%20issue%20on%20RT1024%20-%20NXP%20Community%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E2.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-RT%2FNCACHE-region-in-internal-RAM-IMXRT1021%2Fm-p%2F1317731%22%20target%3D%22_blank%22%3E%E5%B7%B2%E8%A7%A3%E5%86%B3%3A%20NCACHE%20region%20in%20internal%20RAM%20IMXRT1021%20-%20NXP%20Community%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EGavin%3C%2FP%3E%3C%2FLINGO-BODY%3E