Menu

#102 Question about plugin and STM32F3 Discovery Board.

Version 1.x
closed
None
5
2015-02-28
2015-01-17
Martin.B
No

Hi.
I have an STM32F3 discovery board, and my question is where in the plugin template project that I created for the F3 is the clock setup done. Looking through the code I found the following comment.

“ // At this stage the system clock should have already been configured
// at high speed.”

Where is this setup code?

Also how do observe the output from the trace trace_printf(), and trace_puts(), also fprintf(), and puts() functions? Are they visible in a trace window within Eclipse?

Obviously without a crystal on board nothing will work as yet.

Cheers
mb

Discussion

  • Liviu Ionescu (ilg)

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     Hi.
     I have an STM32F3 discovery board, and my question is where in the plugin template project that I created for the F3 is the clock setup done. Looking through the code I found the following comment.
    
    • status: open --> accepted
    • assigned_to: Liviu Ionescu (ilg)
     
  • Liviu Ionescu (ilg)

    Where is this setup code?

    mostly in src/system

    how do observe the output from the trace trace_printf()

    in the debugger output console for openocd sau in the dedicated semihosting swv console for segger

    p.s. sorry for the delay :-(

     
  • Liviu Ionescu (ilg)

    did you figure out where the setup code is?

     
  • Liviu Ionescu (ilg)

    • status: accepted --> closed