Skip to main content
jai23
Associate II
May 19, 2012
Question

STM32 DISCOVERY BOARD WITH STM32F10x_StdPeriph_Lib_V3.5.0

  • May 19, 2012
  • 4 replies
  • 721 views
Posted on May 19, 2012 at 15:38

I am new to STM32 discovery and using the program  package  STM32F10x_StdPeriph_Lib_V3.5.0. I am trying to run adc module with this package .

But when, I run that code provided into example into STM32 discovery board. Its not working.

I see with debugger that program is stuck at a function Hard_fault_handler();

Please help me in moving to right direction.
    This topic has been closed for replies.

    4 replies

    raptorhal2
    Lead
    May 19, 2012
    Posted on May 19, 2012 at 15:54

    More information will improve the quality of the help you get:

    Which Discovery board ?

    Which IDE ?

    Provide code.

    Cheers, Hal

    Andrew Neil
    Super User
    May 19, 2012
    Posted on May 19, 2012 at 15:54

    Note that there are (at least) four different ''STM32 Discovery'' boards - which one, exactly, are you using?

    Have you tried the unmodified examples specifically for your particular board?

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Andrew Neil
    Super User
    May 19, 2012
    Posted on May 19, 2012 at 15:56

    Snap!

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    jlchoobs
    Associate III
    June 10, 2012
    Posted on June 10, 2012 at 14:32

    Don't bother worrying about N's negative comments.

    He has been doing this all through the forum.

    Some kid who likes crittiquing everybody - without any actually helpful advice.