public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] Redboot with big block flashes and small amounts of ra m
@ 2003-05-01 13:40 Rycerz Roman-G11565
  0 siblings, 0 replies; 3+ messages in thread
From: Rycerz Roman-G11565 @ 2003-05-01 13:40 UTC (permalink / raw)
  To: ecos-discuss (E-Mail)

Thanks... For the suggestions....

I will try changing redboot... And keep you abreast of the progress....
Thanks again
For all your help.... Its invaluable...

Roman


-----Original Message-----
From: Jonathan Larmour [mailto:jifl@eCosCentric.com] 
Sent: Wednesday, April 30, 2003 8:37 PM
To: Rycerz Roman-G11565
Cc: ecos-discuss (E-Mail)
Subject: Re: [ECOS] Redboot with big block flashes and small amounts of ra m


Rycerz Roman-G11565 wrote:
> Thanks for the info..
> 
> We make powertrain control modules for automobiles and trucks.
> What I am trying to do is to use eCos/Redboot to give us some early
software
> so we can begin functional testing of modules.
> And have the ability to port to different platforms easily....
eCos/Redboot
> seems to make that possible. Before the modules ship to customers the code
> is replaced with engine strategy.  

40K of RAM is going to be tricky for RedBoot at the best of times anyway - 
stuff like the GDB stub can use multiple surprisingly large buffers, and 
it all adds up. I suspect you should try and do an eCos only application 
and use the flash drivers directly from that..... even then you will need 
to make changes to the flash drivers to avoid the read/modify/write of 
whole sectors at a time, but instead erasing a sector and then just 
writing multiple small bits.

If you do need RedBoot's loading abilities, you could either copy the code 
from it, or make modifications to it, e.g. how it programs the flash so 
that it does it in small amounts as data arrives. It will be a fair few 
changes though.

Jifl

> -----Original Message-----
> From: Gary D. Thomas [mailto:gary.thomas@mind.be]
> Sent: Friday, April 25, 2003 9:37 AM
> To: Rycerz Roman-G11565
> Cc: ecos-discuss (E-Mail)
> Subject: Re: [ECOS] Redboot with big block flashes and small amounts of
ram
> 
> 
> On Wed, 2003-04-23 at 20:47, Rycerz Roman-G11565 wrote:
> 
>>Hi
>> 
>>    I have a platform with 2.5meg of flash and only 40k of ram.  The
>>external flash has 256k blocks.... Reboot as part of it setting up a 
>>workspace for flashing tries to
>>    allocate enough ram for a block.   Naturally it crashes...  Has anyone
>>had to deal with this situation before ????
>> 
>>
> 
> 
> RedBoot has to perform read/modify/write access to the FLASH, so a
> buffer at least as big as the FLASH erase block is required.  Also, 40KB
of
> RAM would be really challenging to do much of anything with.
> 
> What are you expecting to be able to do/run in this environment?
> 
> 
>> 


-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine

-- 
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] Redboot with big block flashes and small amounts of ra m
  2003-04-25 15:50 Rycerz Roman-G11565
@ 2003-05-01  1:36 ` Jonathan Larmour
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Larmour @ 2003-05-01  1:36 UTC (permalink / raw)
  To: Rycerz Roman-G11565; +Cc: ecos-discuss (E-Mail)

Rycerz Roman-G11565 wrote:
> Thanks for the info..
> 
> We make powertrain control modules for automobiles and trucks.  
> What I am trying to do is to use eCos/Redboot to give us some early software
> so we can begin functional testing of modules.
> And have the ability to port to different platforms easily....  eCos/Redboot
> seems to make that possible. Before the modules ship to customers the code
> is replaced with engine strategy.  

40K of RAM is going to be tricky for RedBoot at the best of times anyway - 
stuff like the GDB stub can use multiple surprisingly large buffers, and 
it all adds up. I suspect you should try and do an eCos only application 
and use the flash drivers directly from that..... even then you will need 
to make changes to the flash drivers to avoid the read/modify/write of 
whole sectors at a time, but instead erasing a sector and then just 
writing multiple small bits.

If you do need RedBoot's loading abilities, you could either copy the code 
from it, or make modifications to it, e.g. how it programs the flash so 
that it does it in small amounts as data arrives. It will be a fair few 
changes though.

Jifl

> -----Original Message-----
> From: Gary D. Thomas [mailto:gary.thomas@mind.be] 
> Sent: Friday, April 25, 2003 9:37 AM
> To: Rycerz Roman-G11565
> Cc: ecos-discuss (E-Mail)
> Subject: Re: [ECOS] Redboot with big block flashes and small amounts of ram
> 
> 
> On Wed, 2003-04-23 at 20:47, Rycerz Roman-G11565 wrote:
> 
>>Hi
>> 
>>    I have a platform with 2.5meg of flash and only 40k of ram.  The 
>>external flash has 256k blocks.... Reboot as part of it setting up a 
>>workspace for flashing tries to
>>    allocate enough ram for a block.   Naturally it crashes...  Has anyone
>>had to deal with this situation before ????
>> 
>>
> 
> 
> RedBoot has to perform read/modify/write access to the FLASH, so a 
> buffer at least as big as the FLASH erase block is required.  Also, 40KB of
> RAM would be really challenging to do much of anything with.
> 
> What are you expecting to be able to do/run in this environment?
> 
> 
>> 


-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- 
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] Redboot with big block flashes and small amounts of ra m
@ 2003-04-25 15:50 Rycerz Roman-G11565
  2003-05-01  1:36 ` Jonathan Larmour
  0 siblings, 1 reply; 3+ messages in thread
From: Rycerz Roman-G11565 @ 2003-04-25 15:50 UTC (permalink / raw)
  To: ecos-discuss (E-Mail)

Thanks for the info..

We make powertrain control modules for automobiles and trucks.  
What I am trying to do is to use eCos/Redboot to give us some early software
so we can begin functional testing of modules.
And have the ability to port to different platforms easily....  eCos/Redboot
seems to make that possible. Before the modules ship to customers the code
is replaced with engine strategy.  


-roman


-----Original Message-----
From: Gary D. Thomas [mailto:gary.thomas@mind.be] 
Sent: Friday, April 25, 2003 9:37 AM
To: Rycerz Roman-G11565
Cc: ecos-discuss (E-Mail)
Subject: Re: [ECOS] Redboot with big block flashes and small amounts of ram


On Wed, 2003-04-23 at 20:47, Rycerz Roman-G11565 wrote:
> Hi
>  
>     I have a platform with 2.5meg of flash and only 40k of ram.  The 
> external flash has 256k blocks.... Reboot as part of it setting up a 
> workspace for flashing tries to
>     allocate enough ram for a block.   Naturally it crashes...  Has anyone
> had to deal with this situation before ????
>  
> 

RedBoot has to perform read/modify/write access to the FLASH, so a 
buffer at least as big as the FLASH erase block is required.  Also, 40KB of
RAM would be really challenging to do much of anything with.

What are you expecting to be able to do/run in this environment?

>  
-- 
Gary D. Thomas <gary.thomas@mind.be>

-- 
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 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-01 13:40 [ECOS] Redboot with big block flashes and small amounts of ra m Rycerz Roman-G11565
  -- strict thread matches above, loose matches on Subject: below --
2003-04-25 15:50 Rycerz Roman-G11565
2003-05-01  1:36 ` Jonathan Larmour

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