cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f407 use emwin problem

jimmjimmshen
Associate III
Posted on October 16, 2013 at 09:30

Hi

I just want change to MCU from f103 to f407 and change my ucgui code into emwin style, so there is problem i want to create a window to show i created it then call 

GUI_Exec();

 in while (1) loop

i found lcd init is fine, but nothing displayed

i added write pixel in _SetPixelIndex function

read pixel in _GetPixelIndex function

so what should i do? 

Attach file is my code

WindowDLG is window which i created

Template is LCD driver which i use

LCD_9320 is the LCD basic function all this functions works fine which i used old  mcu and ucgui

LCDConf is conf file

Private.h in my understand is head file to public LCD funtion likes draw pixel or get pixel something

btw i used emwin lib which keil provide

#32f4 #emwin
3 REPLIES 3
jimmjimmshen
Associate III
Posted on October 21, 2013 at 02:51

anyone?

Posted on October 21, 2013 at 16:09

The forum has negligible traffic with regard to emWin at this point, and even less with people with answers. Suggest you go to a forum that is likely to have a higher volume of posts and expertise, ie Segger's. There may also be consultants/contractors with such experience.

Consider if reading/writing pixels into a frame buffer really tests if the code to transport that image to the display is actually working.

Also when posting code, consider how you construct the project/attachment so as to maximize the interest level in wading through it. Random pieces of an incomplete project are not interesting as they require far too much effort from the casual observer.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
ken239955_st
Associate II
Posted on April 14, 2016 at 11:10

I see that its 2 years since you said this, so perhaps things have changed. emWin appears to have been used for the demo that ships with the F7 Discovery board, so I've been trying it out. I have HelloWorld working on the display there, having converted an automatically generated GPIO HAL LEDs project in VisualGDB.

Segger say that first line emWin support on STM32 should be from ST, as the emWin trial version is FOC with the STM32 Cube firmware packages. There doesn't appear to be an emWin support forum per se here, so are you able to answer some simple ''get you started'' questions about emWin please?