SDK example lwip_hhtpsrv_bm as XIP will not load page

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SDK example lwip_hhtpsrv_bm as XIP will not load page

跳至解决方案
1,276 次查看
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

标签 (1)
0 项奖励
回复
1 解答
1,247 次查看
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 项奖励
回复
2 回复数
1,241 次查看
ronwal
Contributor III

Thanks Alice, that solved my problem.

0 项奖励
回复
1,248 次查看
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 项奖励
回复