public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] RE: eCos with MPC555
@ 2003-05-01 21:06 Eddy Lin
  0 siblings, 0 replies; 3+ messages in thread
From: Eddy Lin @ 2003-05-01 21:06 UTC (permalink / raw)
  To: Bob Koninckx; +Cc: ecos-discuss

Thank you so much for helping. I am going to add some SRAM to my PB555 and try Wiggler with GDB and see if I can debug a simple program with it. I will post my results as soon as I get it working; or questions if not. :) I will probably not use the internal Flash at all once I get to add an external one. According to the mpc500 discussion list, the internal Flash has only about 100 write cycle life and during development it would most likely run out and start failing.

Regards,

Eddy Lin

-----Original Message-----
From: Bob Koninckx [mailto:bob.koninckx@mech.kuleuven.ac.be]
Sent: Thursday, May 01, 2003 12:51 AM
To: Eddy Lin
Subject: Re: eCos with MPC555


FYI

Check the ecos-discuss list. A new thread regarding your question
started there after my reply :)

Bob

On Wed, 2003-04-30 at 21:52, Eddy Lin wrote:
> Hi,
>   I have just started my process of developing for the MPC555. I have read on eCos web site that you have experience in running eCos on the 555. Currently, I have a Axiom PB555 eval board with Wiggler BDM. I also have Cygwin with eCos 2.0b1. I have gotten as far as running 'configtool' for eCos and building it with a CME555 template. I know there is no PB555 template for the CME555 so I am wondering if you can lend me some help? The PB555 is basically a MPC555 with no external memory or peripherals. The eval board only has a BDM interface and a serial interface. The 555 is already loaded with Axiom's own debug monitor which functions through the serial port.
>   My questions are:
> 1. From your experience, is eCos too large to function without any external memory? If so, I would go ahead and add additional SRAM and Flash ROM. Ideally, I would like to add external SRAM and Flash anyway since my project will require much more memory than what's internal. But I just need to get started first.
> 2. Have you ever tried to interface the PB555 through BDM instead of through the serial port? If so, it would help greatly if you can point me to some resources on how to set that up. And if not, what do I need to run it through the serial port? Would I need to load RedBoot or a stub into the internal flash of the chip?
> 3. I noticed that in the eCos 2.0beta documenataion that CME555 documenatation is missing. Do you have a personal web site or information that you have put up that may be helpful?
> 
> Thank you so much for your help!
> 
> Regards,
> 
> Eddy Lin
-- 
----------------------------------------------------------------------
ir. Bob Koninckx
Katholieke Universiteit Leuven
Division Production Engineering,                   tel.  +32 16 322535
Machine Design and Automation                      fax.  +32 16 322987
Celestijnenlaan 300B                  bob.koninckx@mech.kuleuven.ac.be
B-3001 Leuven Belgium               http://www.mech.kuleuven.ac.be/pma
----------------------------------------------------------------------

--
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] 3+ messages in thread

* RE: [ECOS] Re: eCos with MPC555
@ 2003-05-01  6:29 ramanabv
  0 siblings, 0 replies; 3+ messages in thread
From: ramanabv @ 2003-05-01  6:29 UTC (permalink / raw)
  To: ecos-discuss

Hi,
We have been using eCos with MPC 555 for quite some time. Almost 2 years.
a. You definitely need external RAM if you want to do anything significant.
Also you will need it during development.

b. Regarding Flash. The internal flash is definitley sufficient for most
applications. However we ran short when we wanted to put in the networking
code. 

c. We had problems with internal flash on some of the chips. We found one
block defective on a couple of chips. We could not make a work around.

d. We only used BDM to download the initial GDB Stubs. After that it was
mainly Serial port and Insight debugger.

Regards
Ramana B.V
 

-----Original Message-----
From: Rycerz Roman-G11565 [mailto:roman.rycerz@motorola.com]
Sent: Thursday, May 01, 2003 3:11 AM
To: ecos-discuss@sources.redhat.com
Subject: RE: [ECOS] Re: eCos with MPC555


HI...

	I have been using a MPC555 on a internal product and do have redboot
running... I can get redboot to run with only about 25% usage of the
internal flash.  Ram is another story.  A basic redboot will run, but if you
want to program flashes and have some space to download and debug
programs.... Then you will need more ram....

-roman


-----Original Message-----
From: Bob Koninckx [mailto:bob.koninckx@mech.kuleuven.ac.be] 
Sent: Wednesday, April 30, 2003 4:12 PM
To: Eddy Lin
Cc: ecos-discuss@sources.redhat.com
Subject: [ECOS] Re: eCos with MPC555


Eddy,

Please copy the eCos discussion list for this sort of questions. Others
might benefit from this discussion

On Wed, 2003-04-30 at 21:52, Eddy Lin wrote:
> Hi,
>   I have just started my process of developing for the MPC555. I have read
on eCos web site that you have experience in running eCos on the 555.
Currently, I have a Axiom PB555 eval board with Wiggler BDM. I also have
Cygwin with eCos 2.0b1. I have gotten as far as running 'configtool' for
eCos and building it with a CME555 template. I know there is no PB555
template for the CME555 so I am wondering if you can lend me some help? The
PB555 is basically a MPC555 with no external memory or peripherals. The eval
board only has a BDM interface and a serial interface. The 555 is already
loaded with Axiom's own debug monitor which functions through the serial
port.
>   My questions are:
> 1. From your experience, is eCos too large to function without any 
> external memory? If so, I would go ahead and add additional SRAM and 
> Flash ROM. Ideally, I would like to add external SRAM and Flash anyway 
> since my project will require much more memory than what's internal. 
> But I just need to get started first.

Depends on what you want to do with it. I use redboot with only the internal
resources of the mpc555 all the time and still have plenty of internal flash
left. And since redboot is a minimal eCos app...One of the big advantages of
eCos is its extreme configurability. If your app can run out of ROM, i'd say
that with 500kb of flash and 26k of ram it is certainly doable.Use a ROM
version of redboot for cme555 as a starting base for porting to pb555.  

> 2. Have you ever tried to interface the PB555 through BDM instead of 
> through the serial port? If so, it would help greatly if you can point 
> me to some resources on how to set that up. And if not, what do I need 
> to run it through the serial port? Would I need to load RedBoot or a 
> stub into the internal flash of the chip?

Yep, works like a charm. Never tried it on windows. Notice that gdb
continuously modifies running code in order to insert breakpoints etc. (this
is true with bdm and serial connections) If you want to debug, code should
therefore be running out of ram. Only 26k the mpc555 has can be fairly
limited in this case.

Axiom provides wiggler initialisation files for their products. Check their
website.

> 3. I noticed that in the eCos 2.0beta documenataion that CME555 
> documenatation is missing. Do you have a personal web site or 
> information that you have put up that may be helpful?

Nope, no website, there's only 24hours in a day :-(

Search the ecos-patches mailing list. I posted a patch that makes serial
debugging 100% operational and that adds some documentation. If there is
interest, I can make this patch again against the latest sources in CVS (in
unified format this time :-)

> 
> Thank you so much for your help!
> 
> Regards,
> 
> Eddy Lin

-- 
----------------------------------------------------------------------
ir. Bob Koninckx
Katholieke Universiteit Leuven
Division Production Engineering,                   tel.  +32 16 322535
Machine Design and Automation                      fax.  +32 16 322987
Celestijnenlaan 300B                  bob.koninckx@mech.kuleuven.ac.be
B-3001 Leuven Belgium               http://www.mech.kuleuven.ac.be/pma
----------------------------------------------------------------------


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

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

-- 
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] 3+ messages in thread

* [ECOS] Re: eCos with MPC555
       [not found] <F8AF118419615C48B373F789C51A0AF248BD@linserver1.lin6166.org>
@ 2003-04-30 21:41 ` Bob Koninckx
  0 siblings, 0 replies; 3+ messages in thread
From: Bob Koninckx @ 2003-04-30 21:41 UTC (permalink / raw)
  To: Eddy Lin; +Cc: ecos-discuss

Eddy,

Please copy the eCos discussion list for this sort of questions. Others
might benefit from this discussion

On Wed, 2003-04-30 at 21:52, Eddy Lin wrote:
> Hi,
>   I have just started my process of developing for the MPC555. I have read on eCos web site that you have experience in running eCos on the 555. Currently, I have a Axiom PB555 eval board with Wiggler BDM. I also have Cygwin with eCos 2.0b1. I have gotten as far as running 'configtool' for eCos and building it with a CME555 template. I know there is no PB555 template for the CME555 so I am wondering if you can lend me some help? The PB555 is basically a MPC555 with no external memory or peripherals. The eval board only has a BDM interface and a serial interface. The 555 is already loaded with Axiom's own debug monitor which functions through the serial port.
>   My questions are:
> 1. From your experience, is eCos too large to function without any external memory? If so, I would go ahead and add additional SRAM and Flash ROM. Ideally, I would like to add external SRAM and Flash anyway since my project will require much more memory than what's internal. But I just need to get started first.

Depends on what you want to do with it. I use redboot with only the
internal resources of the mpc555 all the time and still have plenty of
internal flash left. And since redboot is a minimal eCos app...One of
the big advantages of eCos is its extreme configurability. If your app
can run out of ROM, i'd say that with 500kb of flash and 26k of ram it
is certainly doable.Use a ROM version of redboot for cme555 as a
starting base for porting to pb555.  

> 2. Have you ever tried to interface the PB555 through BDM instead of through the serial port? If so, it would help greatly if you can point me to some resources on how to set that up. And if not, what do I need to run it through the serial port? Would I need to load RedBoot or a stub into the internal flash of the chip?

Yep, works like a charm. Never tried it on windows. Notice that gdb
continuously modifies running code in order to insert breakpoints etc.
(this is true with bdm and serial connections) If you want to debug,
code should therefore be running out of ram. Only 26k the mpc555 has can
be fairly limited in this case.

Axiom provides wiggler initialisation files for their products. Check
their website.

> 3. I noticed that in the eCos 2.0beta documenataion that CME555 documenatation is missing. Do you have a personal web site or information that you have put up that may be helpful?

Nope, no website, there's only 24hours in a day :-(

Search the ecos-patches mailing list. I posted a patch that makes serial
debugging 100% operational and that adds some documentation. If there is
interest, I can make this patch again against the latest sources in CVS
(in unified format this time :-)

> 
> Thank you so much for your help!
> 
> Regards,
> 
> Eddy Lin

-- 
----------------------------------------------------------------------
ir. Bob Koninckx
Katholieke Universiteit Leuven
Division Production Engineering,                   tel.  +32 16 322535
Machine Design and Automation                      fax.  +32 16 322987
Celestijnenlaan 300B                  bob.koninckx@mech.kuleuven.ac.be
B-3001 Leuven Belgium               http://www.mech.kuleuven.ac.be/pma
----------------------------------------------------------------------


-- 
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] 3+ messages in thread

end of thread, other threads:[~2003-05-01 21:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-01 21:06 [ECOS] RE: eCos with MPC555 Eddy Lin
  -- strict thread matches above, loose matches on Subject: below --
2003-05-01  6:29 [ECOS] " ramanabv
     [not found] <F8AF118419615C48B373F789C51A0AF248BD@linserver1.lin6166.org>
2003-04-30 21:41 ` Bob Koninckx

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).