element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
STM32F4DISCOVERY Expansion Boards
  • Products
  • Dev Tools
  • STM32F4DISCOVERY Expansion Boards
  • More
  • Cancel
STM32F4DISCOVERY Expansion Boards
Forum Problem with "official" LCD software example on STM32F4 Discovery Expansion Board
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join STM32F4DISCOVERY Expansion Boards to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 15 replies
  • Subscribers 8 subscribers
  • Views 3724 views
  • Users 0 members are here
  • discovery
  • stm32f4-lcd
  • stm32
  • stm32f4dis-bb
  • stm32f4dis_software_examples
  • stm32f4discovery
Related

Problem with "official" LCD software example on STM32F4 Discovery Expansion Board

Former Member
Former Member over 12 years ago

Hi,

 

I've just started to use my STM32F4 discovery expansion board (discovery board, base board, LCD and camera) and as a first shot I want to try out the software examples found here:

 

http://www.element14.com/community/docs/DOC-51670/l/stm32f4dis-bb-discover-more-software-examples

 

I've tried to run the LCD example called "LCD_35T" located in the folder "STM32F4xx_LCD_Example" but ran into some problems...

 

I'm using IAR Embedded Workbench for ARM as my IDE and have performed the following steps:

 

  • Open the project file located in "LCD_35T/EWARM" folder
  • Rebuild all --> Results in a successful build without errors/warnings
  • Download and debug --> Code is flashed and debugger started (using ST-LINK)
  • Running program (Go) --> Expecting LCD to show color bars according to the example but the screen is just white...


Does anyone have an idea what I'm doing wrong?

 

Thanks in advance for all response!

  • Sign in to reply
  • Cancel

Top Replies

  • Kilohercas
    Kilohercas over 12 years ago +1
    do you have LCD with same controller/pinout ? Right code with wrong init ( set registers for refresh rate, color type, bus type and so on) will produce white screen Check if RESET is high. Disable opt…
  • Kilohercas
    Kilohercas over 12 years ago in reply to Former Member +1
    IF LCD reset Line is LOW, you never get LCD working. some one mentioned bad contacts, also make RESET High after power up at if not by default code, than yourself. #define LCD_RST_PIN (GPIO_Pin_3) #define…
  • ChuckMcM
    ChuckMcM over 12 years ago +1
    So I too was having issues with the code provided by Embest so I wrote some of my own. You can pull a copy from Github here: https://github.com/ChuckM/bb-lcd This puts up a simple display on the LCD with…
Parents
  • Former Member
    0 Former Member over 11 years ago

    I would like to try the examples but do not have the usual IDE's.  I'm currently downloading one now, a massive, 274MB that is going to take ~ 4 hours!  Could some kind soul post a working hex file to test the display so I know it is working before returning it to Farnell when really it is my software at fault. image

     

    Thanks Chuck for your link, I git cloned your repro ... but it is incomplete, Where is make.include, the readme mentions uart.c etc.

     

    A hex file would be great.  Farnell your people must have tested this stuff for suitability before selling it, surely you have some test files.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 11 years ago

    I would like to try the examples but do not have the usual IDE's.  I'm currently downloading one now, a massive, 274MB that is going to take ~ 4 hours!  Could some kind soul post a working hex file to test the display so I know it is working before returning it to Farnell when really it is my software at fault. image

     

    Thanks Chuck for your link, I git cloned your repro ... but it is incomplete, Where is make.include, the readme mentions uart.c etc.

     

    A hex file would be great.  Farnell your people must have tested this stuff for suitability before selling it, surely you have some test files.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    After the looooooooong download it worked o.k.

    Tried the LAN demo but it is > 32k the code limit!  This is where providing a demo preloaded or hex file on the net would be useful to customers.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube