cancel
Showing results for 
Search instead for 
Did you mean: 

LwIP: Nucleo-H743Vitx not displaying webpage after adding more SSI tags

sushma
Associate III

Hello ,

I am working with nucleo-H743Vitx. I have created Shtml pages which has different tags. When I executed the code, it is working fine.

I want to display some more dynamic data . So, I added few more tags to the shtml file and I included these tags in ssi handler function as well as in ssi tags like I did for working ssi tags. 

When I run this code, I can see my project is working fine but the webpage is not loading and it is giving error but my other hardware is working fine. I checked the console window but there is no error related to shtml file.

Then, I commented the another tag  which was working and executed the code, Then the code with new tag  is working fine. Again I tried with all the tag and the webpage is not displayed. 

I found all the tags are working fine indepenedtly but not together.

I checked the tag length and it is fine . I think the issue is with number of tags or memory. 

Do we have any limitations on adding number of tags? if yes, Could you please help me to know where we can set in cubeide or cubemx.

Could you please help me to know what could be the issue? Kindly help me to resolve this issue

 

 

Please find the below attached lwipopts.h file and the mpu config  file for your reference.

 

void MPU_Config(void)
{
MPU_Region_InitTypeDef MPU_InitStruct = {0};

/* Disables the MPU */
HAL_MPU_Disable();

/** Initializes and configures the Region and the memory to be protected
*/
MPU_InitStruct.Enable = MPU_REGION_ENABLE;
MPU_InitStruct.Number = MPU_REGION_NUMBER0;
MPU_InitStruct.BaseAddress = 0x3003C000;
MPU_InitStruct.Size = MPU_REGION_SIZE_256B;
MPU_InitStruct.SubRegionDisable = 0x0;
MPU_InitStruct.TypeExtField = MPU_TEX_LEVEL0;
MPU_InitStruct.AccessPermission = MPU_REGION_FULL_ACCESS;
MPU_InitStruct.DisableExec = MPU_INSTRUCTION_ACCESS_ENABLE;
MPU_InitStruct.IsShareable = MPU_ACCESS_NOT_SHAREABLE;
MPU_InitStruct.IsCacheable = MPU_ACCESS_NOT_CACHEABLE;
MPU_InitStruct.IsBufferable = MPU_ACCESS_BUFFERABLE;

HAL_MPU_ConfigRegion(&MPU_InitStruct);

/** Initializes and configures the Region and the memory to be protected
*/
MPU_InitStruct.Number = MPU_REGION_NUMBER1;
MPU_InitStruct.BaseAddress = 0x30040000;
MPU_InitStruct.Size = MPU_REGION_SIZE_32KB;
MPU_InitStruct.TypeExtField = MPU_TEX_LEVEL1;
MPU_InitStruct.IsShareable = MPU_ACCESS_SHAREABLE;
MPU_InitStruct.IsBufferable = MPU_ACCESS_NOT_BUFFERABLE;

HAL_MPU_ConfigRegion(&MPU_InitStruct);
/* Enables the MPU */
HAL_MPU_Enable(MPU_PRIVILEGED_DEFAULT);

}

 

0 REPLIES 0