2023-12-22 03:27 AM - last edited on 2023-12-26 06:10 AM by SofLit
As sure many of you know, the actual STM32H747i-disco can with a different display, so dont work with the examples in the 11.0 repository.
But work perfect in the 11.1 if you set in the stm32h747i_discovery_conf.h
/* LCD controllers defines */
#define USE_LCD_CTRL_OTM8009A 0U
#define USE_LCD_CTRL_NT35510 1U
#define USE_LCD_CTRL_ADV7533 0U
But I can not find a smart way to modify the Segger examples from the 11.0 to make it work with the new display.
In other words. how I can replace the repository files from an older version example to work with the new firmware package.
Thanks and sorry if this issue was resolved previously
2023-12-27 05:24 PM
Hi @ManuelOV
The ethernet LwIP examples in the "hotspot" repository are LwIP version of well known iPerf server program. It is used to evaluate performance of network links using TCP.
As to reporting bugs , please see here. You can also post in this forum if you believe there's an error. Someone eventually will notice and reply.
2023-12-27 11:11 PM
I have send this modifications to the place you point me.
Yesterday I did and let use the new display, any how the util library, do no work in both frame buffer, and must be modified to work ok, I dont know if you prefer I did it, or as far as someone is in charge of this repository is enought, to let him, the library do not write in the active frame buffer only in one of them, need take care about what is the active buffer.
Modifications in LCD_DSI_CmdMode_DoubleBuffer file->main.c in LCD_DSI_Cmd_DoubleBuffer_CM7
Line 283
#if (USE_LCD_CTRL_NT35510 > 0) // ADDED
NT35510_IO_t IOCtx; // ADDED
static NT35510_Object_t LCD_Obj; // ADDED and modified variable name
#endif /* USE_LCD_CTRL_NT35510 */ // ADDED
#if (USE_LCD_CTRL_OTM8009A > 0)
OTM8009A_IO_t IOCtx;
static OTM8009A_Object_t LCD_Obj; // Modified variable name
#endif /* USE_LCD_CTRL_OTM8009A */
Line 383
IOCtx.Address = 0;
IOCtx.GetTick = BSP_GetTick;
IOCtx.WriteReg = DSI_IO_Write;
IOCtx.ReadReg = DSI_IO_Read;
OTM8009A_RegisterBusIO(&LCD_Obj, &IOCtx); // MOdified variable name
Lcd_CompObj=(&LCD_Obj); // MOdified variable name
OTM8009A_Init(Lcd_CompObj, OTM8009A_COLMOD_RGB888, LCD_ORIENTATION_LANDSCAPE);
2023-12-27 11:14 PM
about your help with the ethernet example, thanks, I will google about the name iPerf server program to try to understand how to use the example and read the documentation.
anyhow if you know where is, and have the opportunity, would be great if you point mi in the correct direction.
THANKS
2024-01-04 08:06 AM
Hello @ManuelOV
I suggest this workaround as a dynamic solution.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-01-04 08:16 AM
Working with the update.
Thanks and best wishes to all of you for this 20024
2024-01-04 08:45 AM
Dear in my repository there are a small difference with your
in your
Line 778 -- 789 -- configure mode burst
in mine
the mode burst in not configured, at least there, so I will add also this line to my version, please take a look in your repository, because maybe other people have same source than me.
Thanks, and I will continue doing the line by line double check