Reply by David Hawkins May 12, 20062006-05-12
> I am not a C expert but use C for Embedded Application.
> Although I am using ld, make and asm file for LPC, but never understood
> what's inside these files.
> Your document has helped me to understand a little bit of it.
> Thanks again!!

Great to hear.

> BTW, are there any more links, documentation, for ld, make and asm files for
> GCC compiler, and suitable for a layman like me.

I read the GNU manuals, and wrote code. Most of the GNU tools
have verbose modes which can help indicate what they are doing.
Some of the 'features' you just have to look in other code,
eg. look at linker files, look at crt0.s files, there are
plenty of examples in the Linux source, and I'm sure FreeRTOS
and other projects have good examples. Even the free Keil
tools have examples.

Have fun!
Dave

An Engineer's Guide to the LPC2100 Series

Reply by Andrew Berney May 12, 20062006-05-12
Cardiff University has a nice C write up for use with Unix at
http://www.cs.cf.ac.uk/Dave/C/CE.html that may help - although its not
directly aimed at GCC etc.

Andy

-----Original Message-----
From: l... [mailto:l...]On Behalf
Of Mukund Deshmukh
Sent: 12 May 2006 05:54
To: l...
Subject: Re: [lpc2000] GCC, uCOS-II, nested interrupts
> > I just uploaded a project I tinkered on last year for
> > the Philips ARM 2005 contest held by Circuit Cellar. It
> > has a PDF document inside describing the code, along
> > with the code and a port of the uCOS-II RTOS that
> > uses nested interrupts. The document and code show
> > how to use nested interrupts without having to use
> > uCOS-II as well.
> >
> http://www.ovro.caltech.edu/~dwh/ucos/project_AR1803.pdf

Excellent Document !!
I am not a C expert but use C for Embedded Application.
Although I am using ld, make and asm file for LPC, but never understood
what's inside these files.
Your document has helped me to understand a little bit of it.
Thanks again!!

BTW, are there any more links, documentation, for ld, make and asm files for
GCC compiler, and suitable for a layman like me.
Best Regards,

Mukund Deshmukh.
Beta Computronics Pvt Ltd
10/1, IT Park, Parsodi,
Nagpur-440022
Cell - 9422113746

Reply by Mukund Deshmukh May 12, 20062006-05-12
> > I just uploaded a project I tinkered on last year for
> > the Philips ARM 2005 contest held by Circuit Cellar. It
> > has a PDF document inside describing the code, along
> > with the code and a port of the uCOS-II RTOS that
> > uses nested interrupts. The document and code show
> > how to use nested interrupts without having to use
> > uCOS-II as well.
> >
> http://www.ovro.caltech.edu/~dwh/ucos/project_AR1803.pdf

Excellent Document !!
I am not a C expert but use C for Embedded Application.
Although I am using ld, make and asm file for LPC, but never understood
what's inside these files.
Your document has helped me to understand a little bit of it.
Thanks again!!

BTW, are there any more links, documentation, for ld, make and asm files for
GCC compiler, and suitable for a layman like me.
Best Regards,

Mukund Deshmukh.
Beta Computronics Pvt Ltd
10/1, IT Park, Parsodi,
Nagpur-440022
Cell - 9422113746

Reply by Andy May 11, 20062006-05-11
I've just started reading and getting to grips with a few of the concepts.
Thanks David a great help.

Andy
----- Original Message -----
From: "brendanmurphy37"
To:
Sent: Thursday, May 11, 2006 8:18 AM
Subject: [lpc2000] Re: GCC, uCOS-II, nested interrupts

I'll second that. Very highly recommended to anyone using these
parts: clear, simple document with easy-to-understand text and good
examples.

Just the kind of stuff you need to know when coming to these parts
for the first time, and you otherwise have to dig out from multiple
sources or find out for yourself.

I haven't read the uCOS part: the rest is relevant to all systems.

Maybe Philips could look at extracting the non-uCOS stuff and
putting it on their Web site (or linking to it)?

Well done, again, David!

Brendan

--- In l..., "roger_lynx" wrote:
>
> Dave, kudos for the AR1803.pdf!
> Very nicely done.
>
> Roger
>
> --- In l..., David Hawkins wrote:
> >
> >
> > > I just uploaded a project I tinkered on last year for
> > > the Philips ARM 2005 contest held by Circuit Cellar. It
> > > has a PDF document inside describing the code, along
> > > with the code and a port of the uCOS-II RTOS that
> > > uses nested interrupts. The document and code show
> > > how to use nested interrupts without having to use
> > > uCOS-II as well.
> > >



Reply by brendanmurphy37 May 11, 20062006-05-11
I'll second that. Very highly recommended to anyone using these
parts: clear, simple document with easy-to-understand text and good
examples.

Just the kind of stuff you need to know when coming to these parts
for the first time, and you otherwise have to dig out from multiple
sources or find out for yourself.

I haven't read the uCOS part: the rest is relevant to all systems.

Maybe Philips could look at extracting the non-uCOS stuff and
putting it on their Web site (or linking to it)?

Well done, again, David!

Brendan

--- In l..., "roger_lynx" wrote:
>
> Dave, kudos for the AR1803.pdf!
> Very nicely done.
>
> Roger
>
> --- In l..., David Hawkins wrote:
> >
> >
> > > I just uploaded a project I tinkered on last year for
> > > the Philips ARM 2005 contest held by Circuit Cellar. It
> > > has a PDF document inside describing the code, along
> > > with the code and a port of the uCOS-II RTOS that
> > > uses nested interrupts. The document and code show
> > > how to use nested interrupts without having to use
> > > uCOS-II as well.
> > >





Reply by roger_lynx May 11, 20062006-05-11
Dave, kudos for the AR1803.pdf!
Very nicely done.

Roger

--- In l..., David Hawkins wrote:
> > I just uploaded a project I tinkered on last year for
> > the Philips ARM 2005 contest held by Circuit Cellar. It
> > has a PDF document inside describing the code, along
> > with the code and a port of the uCOS-II RTOS that
> > uses nested interrupts. The document and code show
> > how to use nested interrupts without having to use
> > uCOS-II as well.
> >
> > Please don't flame me for the poor Makefile style and
> > repeated code, I was going for simplicity :)
> >
> > I hope this document and code will be a useful place
> > to point beginners who keep asking the same standard
> > questions regarding configuring interrupts etc.
> >
> > Send me comments, I'll try and incorporate any fixes
> > into the document. Unfortunately my real job has kept
> > me tinkering with ARMs, so I haven't got time to work
> > on documenting more.
> >
> > Happy reading !
>
> http://www.ovro.caltech.edu/~dwh/ucos/
> http://www.ovro.caltech.edu/~dwh/ucos/project_AR1803.pdf
> http://www.ovro.caltech.edu/~dwh/ucos/gcc_and_ucosii.zip
>
> Here's an alternative link with the PDF broken out of the
> zip file, so people can read it and decide if they
> want to look at the source further.
>
> Dave
>

Reply by David Hawkins May 11, 20062006-05-11
> I just uploaded a project I tinkered on last year for
> the Philips ARM 2005 contest held by Circuit Cellar. It
> has a PDF document inside describing the code, along
> with the code and a port of the uCOS-II RTOS that
> uses nested interrupts. The document and code show
> how to use nested interrupts without having to use
> uCOS-II as well.
>
> Please don't flame me for the poor Makefile style and
> repeated code, I was going for simplicity :)
>
> I hope this document and code will be a useful place
> to point beginners who keep asking the same standard
> questions regarding configuring interrupts etc.
>
> Send me comments, I'll try and incorporate any fixes
> into the document. Unfortunately my real job has kept
> me tinkering with ARMs, so I haven't got time to work
> on documenting more.
>
> Happy reading !

http://www.ovro.caltech.edu/~dwh/ucos/
http://www.ovro.caltech.edu/~dwh/ucos/project_AR1803.pdf
http://www.ovro.caltech.edu/~dwh/ucos/gcc_and_ucosii.zip

Here's an alternative link with the PDF broken out of the
zip file, so people can read it and decide if they
want to look at the source further.

Dave

Reply by David Hawkins May 10, 20062006-05-10
Hi all,

I just uploaded a project I tinkered on last year for
the Philips ARM 2005 contest held by Circuit Cellar. It
has a PDF document inside describing the code, along
with the code and a port of the uCOS-II RTOS that
uses nested interrupts. The document and code show
how to use nested interrupts without having to use
uCOS-II as well.

Please don't flame me for the poor Makefile style and
repeated code, I was going for simplicity :)

I hope this document and code will be a useful place
to point beginners who keep asking the same standard
questions regarding configuring interrupts etc.

Send me comments, I'll try and incorporate any fixes
into the document. Unfortunately my real job has kept
me tinkering with ARMs, so I haven't got time to work
on documenting more.

Happy reading !

Cheers
Dave Hawkins.