I am developing on the STM3240G-EVAL and am using the 3.2" TFT color LCD. I am trying to change the display that is on the LCD to a logo for the company that I am working at so when you turn it on, the LCD displays it by default. We purchased the development board pre-programmed with an example on it so that when I turn on the board their logo shows up on the LCD.
I have been attempting to reverse engineer the board to find how I could simply replace their picture with mine. I read through main.cpp and stepped through the program line by line and believe this is whats happening;
the LCD is initialized with STM324xG_LCD_Init()
LCD_WriteBMP((uint32_t)imgMtkSplash320x240) Displays a bitmap picture loaded in the internal Flash.
And when I check the declaration of ImgMtkSplash320x240 I am directed to the following c array hex file;
I downloaded a GUI (graphical user interface) editor from here;
STM32 embedded graphic object/touchscreen library
and tried to output the logo into a c hex array.
I then took the C hex array and replaced ImgMtkSplash320x240 with the one I created. I cleaned the project and re built it to find that when I launched it the old logo was still there that the previous developer had implemented.
Even deleting the entire c hex array doesn't affect the old logo. Its still there.
I've tried to find examples of people using the LCD for the STM3240G to no avail.
Has anyone had any experience with LCD's launching from flash memory? I could really use some wisdom. I am digging through the manual in the meantime. Thanks for reading.