cancel
Showing results for 
Search instead for 
Did you mean: 

STemWin on stm32f4 discovery problem

sen
Associate II
Posted on September 21, 2013 at 08:30

     I'm using stm32f4discovery-BB board andTFT LCD (SSD2119 LCD driver) from Embest technology, I've ported all themodules on the Discovery with the help of the STemWin example on stm324xG-Evalboard as far as I understood. But now the display goes on blinking continuouslywhenever I run my program. Can someone suggest me what could be the problems Ineed to look back again???

  Also I couldn't make out why in the givenexample FSMC Bank 1 NOR/SRAM2 in initialised in SRAM_Init() while in actualparrarel interface for the LCD occurs in FSMC Bank 1 NOR/SRAM3...Please someonegive some clue. I'm trying out all sorts of modifications but unable figure outthe root of the problem. Something I must be missing. 

29 REPLIES 29
totti001
Associate II
Posted on October 01, 2013 at 15:54

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6dE&d=%2Fa%2F0X0000000bs6%2FJotN_ktAHCoflGLuzf8JJaB6k2K38E3ADa0TQKfjQcw&asPdf=false
sen
Associate II
Posted on October 02, 2013 at 07:09

Thanks a lot. Let me see what comes up with this. Will let you know
sen
Associate II
Posted on October 02, 2013 at 09:30

It's working , working absolutely fine... Thanks again, thanks a lot for your unconditional help. God bless you.

By the way have you tried running all these emWin demos with Keil RL-RTX??? Available examples for freertos and Segger's embos kernel, but nothing's there for doing it with Keil RTX except the GUI_X_RTX.C file in keil uvision. Have you tried out this one? Can't take freertos or embos example as reference for the required modification, as they are so different.

Thanking in advance.
sen
Associate II
Posted on October 04, 2013 at 21:43

At this point my emWin with Keil RTX, the LCD gets initialised but doesn't run the demo. I've made slight changes in bsp.c and stm32xxx_it.c files. I've attached the four files where I have done some changes or added my code. I've put the initialisation part up to GUI_Init() in main(). Rest of the files are same as those available for GUI and LCD configuration. I should again mention here I'm using stm32f4-discovery kit with baseboard and 3.5'' TFT-LCD from Embest on keil toolchain. If somebody works on this and provide me some support it would be extremely helpful.

________________

Attachments :

GUI_X_RTX.c : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0xF&d=%2Fa%2F0X0000000bg9%2FUbtOSW7x8xBjL7qOPfW1AXkqfn21bCQejdSU.sygon4&asPdf=false

main2.c : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0vA&d=%2Fa%2F0X0000000bgA%2FmZdX.HC28nvV9qTcznZVS64TqA.k2WFwy2fy6Y3Ha3k&asPdf=false
sen
Associate II
Posted on October 09, 2013 at 14:32

I'm also looking for a working emWin demo. Mr Janos or Mr Tapabrata, please would you also share your demo with me. My email ist

mailto:MichaelAberle@web.de

. I would be pleased...

sen
Associate II
Posted on October 11, 2013 at 06:09

Yes why not. Codes are given above this post by Mr. toth janos for the GUIConf.c and LCDConf.c. Use them in stm324xg_eval emWin program and LCD configuration is given in Embest example for stm32f4 discovery.

Best Wishes

fethibensa
Associate
Posted on October 17, 2013 at 12:21

I would like to try emWin demo  with keil on stm32f4dis-BB. Mr Janos or Mr Tapabrata, please would you also share your demo with me. My email is: fethibensa@gmail.com .

I would be pleased.

thanks and best regards.

fethibensa
Associate
Posted on December 05, 2013 at 22:17

hello,

please

 

is

there anyone

who can help me

. i use 

STM32F4DISCOVERY

-BB

board

and

I try to

adapt

STemWin

example

on

stm324xG

-

Evalboard

I brought

the

modification

described

by

Mr.

Toth.Jonas

to

GUI_Conf.c

files and

lcd_conf.c

but

it does not work

.

the system

hangs

in the boot

.

Please

does someyone

can share

 

a stemwin working

 

version  

 

on

 

Diskovery

 Thanking in advance...Expecting a reply.

Posted on December 05, 2013 at 22:38

Perhaps if it is hanging there is something else going on, try using a debugger to understand where it is hanging, and why.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..