public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Is there any ecos port available for C167 micro-controller?
@ 2003-10-06 15:54 Huang, Q.
  2003-10-06 16:25 ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Huang, Q. @ 2003-10-06 15:54 UTC (permalink / raw)
  To: ecos-discuss

Dear all:
    Is is possible to run the eCOS kernel on the C167 device(Infineon C167CS-LM, 16-bit with 256KByte SRAM, 256KByte Flash)? Is there any port available?

Thanks a lot.

qiang

--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Is there any ecos port available for C167 micro-controller?
  2003-10-06 15:54 [ECOS] Is there any ecos port available for C167 micro-controller? Huang, Q.
@ 2003-10-06 16:25 ` Andrew Lunn
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2003-10-06 16:25 UTC (permalink / raw)
  To: Huang, Q.; +Cc: eCos Disuss

On Mon, Oct 06, 2003 at 04:54:42PM +0100, Huang, Q. wrote:
> Dear all:
>     Is is possible to run the eCOS kernel on the C167 device(Infineon C167CS-LM, 16-bit with 256KByte SRAM, 256KByte Flash)? Is there any port available?

There is no port available. Currently eCos only runs on 32-bit
processors. 

            Andrew

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Is there any ecos port available for C167 micro-controller?
  2003-10-07  7:57 Huang, Q.
  2003-10-07 12:48 ` Andrew Lunn
@ 2003-10-07 14:02 ` Grant Edwards
  1 sibling, 0 replies; 5+ messages in thread
From: Grant Edwards @ 2003-10-07 14:02 UTC (permalink / raw)
  To: Huang, Q.; +Cc: Andrew Lunn, 'Ecos-Discuss (E-mail)

On Tue, Oct 07, 2003 at 08:57:00AM +0100, Huang, Q. wrote:


> Is the reason that there is no GNU compiler support for C167

There is a gcc for the C166 architecture, but it's proprietary
Or at least part of it is.  Or so claims the company selling it
(hitec-rt.com).

> (16 bit architecture), which make it no possible to support
> eCOS? BTW what makes eCOS only runs on the 32-bit architecture
> rather than 16-bit?

-- 
Grant Edwards
grante@visi.com

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Is there any ecos port available for C167 micro-controller?
  2003-10-07  7:57 Huang, Q.
@ 2003-10-07 12:48 ` Andrew Lunn
  2003-10-07 14:02 ` Grant Edwards
  1 sibling, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2003-10-07 12:48 UTC (permalink / raw)
  To: Huang, Q.; +Cc: 'Ecos-Discuss (E-mail)

On Tue, Oct 07, 2003 at 08:57:00AM +0100, Huang, Q. wrote:
> Thank you very much Andrew, 
> Is the reason that there is no GNU compiler support for C167 (16 bit architecture), which make it no possible to support eCOS?
>
> BTW what makes eCOS only runs on the 32-bit architecture rather than 16-bit?

Gcc is required for eCos. So the first step for any port is to get a
working gcc for the CPU. It also needs to be a reasonably recent
version of gcc. 

If you have gcc support for a given 16bit processor, you can then do a
port. Since no one has ever done this, i expect you will find some
issues where code assumes 4==sizeof(int). eCos tries to keep this
clean with the use of cyg_int32 etc, but some of the imported code,
like the network stack, may not be so clean. I expect you will spend a
lot of time tracking down problems.

    Andrew




-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [ECOS] Is there any ecos port available for C167 micro-controller?
@ 2003-10-07  7:57 Huang, Q.
  2003-10-07 12:48 ` Andrew Lunn
  2003-10-07 14:02 ` Grant Edwards
  0 siblings, 2 replies; 5+ messages in thread
From: Huang, Q. @ 2003-10-07  7:57 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: 'Ecos-Discuss (E-mail)

Thank you very much Andrew, 
Is the reason that there is no GNU compiler support for C167 (16 bit architecture), which make it no possible to support eCOS?
BTW what makes eCOS only runs on the 32-bit architecture rather than 16-bit?

Thanks a lot.


-----Original Message-----
From: Andrew Lunn [mailto:andrew@lunn.ch]
Sent: 06 October 2003 17:26
To: Huang, Q.
Cc: eCos Disuss
Subject: Re: [ECOS] Is there any ecos port available for C167
micro-controller?


On Mon, Oct 06, 2003 at 04:54:42PM +0100, Huang, Q. wrote:
> Dear all:
>     Is is possible to run the eCOS kernel on the C167 device(Infineon C167CS-LM, 16-bit with 256KByte SRAM, 256KByte Flash)? Is there any port available?

There is no port available. Currently eCos only runs on 32-bit
processors. 

            Andrew

--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-07 14:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-06 15:54 [ECOS] Is there any ecos port available for C167 micro-controller? Huang, Q.
2003-10-06 16:25 ` Andrew Lunn
2003-10-07  7:57 Huang, Q.
2003-10-07 12:48 ` Andrew Lunn
2003-10-07 14:02 ` Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).