Skip to main content
sen
Associate III
September 21, 2013
Question

STemWin on stm32f4 discovery problem

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. 

    This topic has been closed for replies.

    29 replies

    sen
    senAuthor
    Associate III
    October 2, 2013
    Posted on October 02, 2013 at 07:09

    Thanks a lot. Let me see what comes up with this. Will let you know
    sen
    senAuthor
    Associate III
    October 2, 2013
    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
    senAuthor
    Associate III
    October 4, 2013
    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
    senAuthor
    Associate III
    October 4, 2013
    m239955_stm1_stmicro
    Visitor II
    October 9, 2013
    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
    senAuthor
    Associate III
    October 11, 2013
    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
    Visitor II
    October 17, 2013
    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
    Visitor II
    December 5, 2013
    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.

    Tesla DeLorean
    Guru
    December 5, 2013
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    kqian
    Associate III
    January 23, 2014
    Posted on January 23, 2014 at 05:18

    I am also trying to use emWin demo  with keil on stm32f4dis-BB. Is there anyone can share the working demo to me, my email is: kqian@atcinc.net. Very thankful for that.