This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: Request clarification about interrupt in RedBoot and eCos
- From: "Wendell Liu" <wliu at gennum dot com>
- To: "'Andrew Lunn'" <andrew at lunn dot ch>
- Cc: "'eCos discussion'" <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 21 Nov 2006 17:16:12 -0500
- Subject: RE: [ECOS] Request clarification about interrupt in RedBoot and eCos
Hi Andrew,
Thanks a lot for your prompt response.
ROM application is a good idea. Do you know is it possible to make ROM
application less than 32k? And I have to consider in-system programming
features too.
Thanks again,
Wendell
-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Andrew Lunn
Sent: November 21, 2006 5:09 PM
To: Wendell Liu
Cc: 'eCos discussion'
Subject: Re: [ECOS] Request clarification about interrupt in RedBoot and
eCos
On Tue, Nov 21, 2006 at 04:47:39PM -0500, Wendell Liu wrote:
> Hello all,
>
> I'm getting into the eCos world and made the first cut working on the
> SuperH environment. Since I only have 32k rom, I can't use the RedBoot
> (too big), so I have to develop bootrom by myself, at least to get
> interrupt & UART working. I searched the website and got some
> information about RedBoot, but I'm confused too. Someone please clarify
the following questions for me?
> Thank you very much in advance!
>
> - Does RedBoot use interrupt? Some discusses said RedBoot never use
> interrupt.
Correct, Redboot should not use interrupts.
> - I checked my RedBoot.sym, it does include
> cyg_drv_interrupt_create(...) etc. functions. Are these functions used for
UART or Ethernet?
> - I checked my application .sym too, it only contains normal
> cyg_interrupt_create(...) etc. functions. I'm just curious why RedBoot
> uses cyg_drv_interrupt_create(...), while the eCos uses
> cyg_interrupt_create(...)?
The kernel package provides cyg_interrupt_*(), however RedBoot does not use
the kernel package.
Drivers should use the cyg_drv_* functions which will always exist,
independent of if the kernel package is loaded or not.
Do you actually need a bootloader? Why not just use a ROM application and a
JTAG programmer?
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss