EmbeddedRelated.com
Forums

ARM Cortex M3 assembly language example

Started by Frank Sergeant January 17, 2011
David Smead writes:

> I don't use ST processors yet, but am considering it.  Could you share
> your OpenOCD config file?

The OpenOCD config file is listed in the note

http://pygmy.utoh.org/riscy/cortex/led-stm32.html
--
Frank

An Engineer's Guide to the LPC2100 Series

Daniel Widyanto writes:

> For LPC17xx ARM Cortex-M3 assembly language example, try:
> http://embeddedfreak.wordpress.com/2009/08/09/cortex-m3-blinky-in-assembly/

Thanks for posting that. It looks like adding the ".thumb_func"
directive before a function would eliminate the need for the "... + 1"
in my vector table.
--
Frank

"Donald H" writes:

>> Most example programs for the ARM Cortex M3 appear to be fairly "heavy",
>> perhaps requiring C and Eclipse

> If I use TECO, will my programs be smaller ?

Somehow, I think your programs would feel *larger* if you used TECO,
while actually remaining the same size. ;)
--
Frank

Thanks, but I don't know how to interpret your source and find statements.

On Tue, Jan 18, 2011 at 6:28 PM, Frank Sergeant wrote:

> David Smead > writes:
>
> > I don't use ST processors yet, but am considering it. Could you share
> > your OpenOCD config file?
>
> The OpenOCD config file is listed in the note
> http://pygmy.utoh.org/riscy/cortex/led-stm32.html
>
> --
> Frank
>
>
>
The cfg file syntax is explained at
http://openocd.berlios.de/doc/html/Config-File-Guidelines.html

----- Original Nachricht ----
Von: David Smead
An: l...
Datum: 19.01.2011 05:10
Betreff: Re: [lpc2000] Re: ARM Cortex M3 assembly language example

> Thanks, but I don't know how to interpret your source and find statements.
>
> On Tue, Jan 18, 2011 at 6:28 PM, Frank Sergeant
> wrote:
>
> >
> >
> > David Smead > writes:
> >
> > > I don't use ST processors yet, but am considering it. Could you share
> > > your OpenOCD config file?
> >
> > The OpenOCD config file is listed in the note
> >
> >
> > http://pygmy.utoh.org/riscy/cortex/led-stm32.html
> >
> > --
> > Frank
> >
> >
>
Nicholas Lusty
Mead House
High Street
Box
CORSHAM
SN13 8NN
UK
Tel: 01225 742619
--- In l..., David Smead wrote:
>
> What's the source of that claim?
>
> > ... in the safety critical world, you're lucky to get two lines a day (once
> > documentation and testing is taken into account).

Probably painful experience ;) Carrying on from above, if a "high level language" is a time multiplier, safety certified code is a time divider. We have a "moderate" safety piece of code whose executable file is 22K bytes and the corresponding documentation, test procedures/reports, etc is probably pushing 1000 pages ...