SDK example lwip_hhtpsrv_bm as XIP will not load page

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

SDK example lwip_hhtpsrv_bm as XIP will not load page

Jump to solution
527 Views
ronwal
Contributor III

Hello

Using the SDK example lwip_httpsrv_bm works just fine with "plain load image" activated.

Because RAM is very limited I need to switch to XIP mode and execute my code in the external SPIFI Flash.

But when I am deselecting "plain mode image", recompile and start, the website is not loading anymore inside the browser.

Any ideas?

Logging the http comunication, shows, that the data is sent out correctly...

 

My setup is:

LPC54018, MCUXPRESSO V11.7.1, SDK_2.x_LPCXpresso54018 2.8.2

 

Thanks in advance

Ron

Labels (1)
0 Kudos
1 Solution
498 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @ronwal 

 

Please replace the NON_DMA_MEMORY_ARRAY definition with:

/* Memory not usable by ENET DMA. */
#define NON_DMA_MEMORY_ARRAY \
    {                        \
        {0x0U, 0xFFFFFFFFU},    \
        {                    \
            0x0U, 0x0U       \
        }                    \
    }
 
(In the file of hwip_httpsrv_bm.c   71 line)
 
 
BR
Alice

View solution in original post

0 Kudos
2 Replies
492 Views
ronwal
Contributor III

Thanks Alice, that solved my problem.

0 Kudos
499 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @ronwal 

 

Please replace the NON_DMA_MEMORY_ARRAY definition with:

/* Memory not usable by ENET DMA. */
#define NON_DMA_MEMORY_ARRAY \
    {                        \
        {0x0U, 0xFFFFFFFFU},    \
        {                    \
            0x0U, 0x0U       \
        }                    \
    }
 
(In the file of hwip_httpsrv_bm.c   71 line)
 
 
BR
Alice
0 Kudos