Hello, I have an stm32 arm MCU from ST. I am using the gcc compiler
  and have gotten the sample firmware to compile. However
nothing I compile, like the "IO toggle" demo seems to run on the MCU.
I am using the serial bootloader to program it and I have the BOOTx
prins pulled low during "operation". The MCU came preprogrammed with a
demo that blinked the onboard LEDs, with my programs -it simply plays
Does anyone have any suggestions as to what could be wrong and how to
get it running ?
> On Mar 3, 2012, at 2:37 PM, Jason White wrote:
>> the "arm-linux-gnueabi-" package in the ubuntu repository
> Isn't that the compiler for running binaries on an ARM linux system? It compiles with unix libraries and startup code and etc.
> For an MCU configuration, you'd need something like "arm-elf", with a set of libraries and definition files for your particular chip (getting these libraries is the tough part.)
> -----Original Message-----
> From: .....piclist-bouncesKILLspam@email@example.com [piclist-bouncesKILLspammit.edu] On Behalf
> Of Jason White
> Sent: 09 March 2012 13:15
> To: Microcontroller discussion list - Public.
> Subject: Re: [TECH] Trouble programming for a STM32 ARM MCU
> As a result of post several places (which is frowned upon) I have
> basically everything to get it running (correct compiler, libraries,
> linker scripts; though it still isn't running). Thanks anyways.
You might have fixed this already, but in the code you posted on google you are not calling SystemInit() from main(). This function not called from the startup_stm32f10x_xx.s module as the comment in the code suggests (unless you have modified the startup code to do this).
Check the example projects that come with the STM32 library - the first function to be called in main is always RCC_Configuration() which calls SystemInit().
This e-mail is intended for the person it is addressed to only. The
information contained in it may be confidential and/or protected by
law. If you are not the intended recipient of this message, you must
not make any use of this information, or copy or show it to any
person. Please contact us immediately to tell us that you have
received this e-mail, and return the original to us. Any use,
forwarding, printing or copying of this message is strictly prohibited.
No part of this message can be considered a request for goods or