Exact match. Not showing close matches.
'[TECH] Trouble programming for a STM32 ARM MCU'
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 ?
Source code and binary is at (Its .zip uploaded to google docs, If you
have trouble with it let me know !):
 the "arm-linux-gnueabi-" package in the ubuntu repository
 being compiled for cortex-m3 , thumb instruction set
-- Jason Whit
William \Chops\ Westfield
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.)
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.
On Thu, Mar 8, 2012 at 1:04 AM, William "Chops" Westfield
<mac.com> wrote: westfw
> -----Original Message-----
> From: mit.edu [ piclist-bouncesmit.edu] On Behalf piclist-bounces
> 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
More... (looser matching)
- Last day of these posts
- In 2012
, 2013 only
- New search...