Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | BasicX | multitasking problem


Advertise Here

Discussion forum for the BasicX family of microcontroller chips.

multitasking problem - cameleon_x - Aug 5 23:36:00 2002

Hello everybody,

First, excuse my english. I'm a french people from Montreal,
Québec,
Canada.

I have many task to do in my application. Some of those task need 70
Byte of RAM and more...My task is not realy big, just few action,
and if I go under 70 byte, the bx-24 reset non stop ! For sure, this
is a stak problem...Ok, for this, but, I will use all my RAM
capacity very quickly if I continue like this...and I don't realy
start to code my application ????????? So, my question is : am I
realy limitate by this RAM for multitasking ? If yes, there is
somebody to explain me how Netmedia do 1000 tasks, like I can read
in the specification...

Here, the text I read in the BX24_documentation,
operation_system_reference """""With good planning, programs with literally hundreds of tasks
can be handled by the BasicX chip. The only limitations are total
processing power and memory for variables and stacks. As a test,
NetMedia created a program with 1000 tasks to test the multitasking
engine. The program worked -- not fast, but it worked."""""" I will apreciate any explication ? Thank you

Cameleon






(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: multitasking problem - Tony Brenke - Aug 6 3:19:00 2002

1000 tasks are posable with a bx-01 AND rampack.
NOT a bx-24

combine some of your small tasks with others.

2 large and 4 small, make 2 large and one more large (4 small combined) --- cameleon_x <> wrote:
> Hello everybody,
>
> First, excuse my english. I'm a french people from Montreal,
> Québec,
> Canada.
>
> I have many task to do in my application. Some of those task need 70
> Byte of RAM and more...My task is not realy big, just few action,
> and if I go under 70 byte, the bx-24 reset non stop ! For sure, this
> is a stak problem...Ok, for this, but, I will use all my RAM
> capacity very quickly if I continue like this...and I don't realy
> start to code my application ????????? So, my question is : am I
> realy limitate by this RAM for multitasking ? If yes, there is
> somebody to explain me how Netmedia do 1000 tasks, like I can read
> in the specification...
>
> Here, the text I read in the BX24_documentation,
> operation_system_reference > """""With good planning, programs with literally hundreds of tasks
> can be handled by the BasicX chip. The only limitations are total
> processing power and memory for variables and stacks. As a test,
> NetMedia created a program with 1000 tasks to test the multitasking
> engine. The program worked -- not fast, but it worked."""""" > I will apreciate any explication ? > Thank you
>
> Cameleon >
>
>

__________________________________________________






(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: multitasking problem - einavha - Aug 6 9:05:00 2002

How does the rampack can help with Ram problems (Can I Dim an array
on the Ram?) ???
Can you please give some examples ? --- In basicx@y..., Tony Brenke <trbrenke@y...> wrote:
> 1000 tasks are posable with a bx-01 AND rampack.
> NOT a bx-24
>
> combine some of your small tasks with others.
>
> 2 large and 4 small, make 2 large and one more large (4 small
combined) > --- cameleon_x <cameleon_X@y...> wrote:
> > Hello everybody,
> >
> > First, excuse my english. I'm a french people from Montreal,
> > Québec,
> > Canada.
> >
> > I have many task to do in my application. Some of those task need
70
> > Byte of RAM and more...My task is not realy big, just few action,
> > and if I go under 70 byte, the bx-24 reset non stop ! For sure,
this
> > is a stak problem...Ok, for this, but, I will use all my RAM
> > capacity very quickly if I continue like this...and I don't realy
> > start to code my application ????????? So, my question is : am I
> > realy limitate by this RAM for multitasking ? If yes, there is
> > somebody to explain me how Netmedia do 1000 tasks, like I can
read
> > in the specification...
> >
> > Here, the text I read in the BX24_documentation,
> > operation_system_reference
> >
> >
> > """""With good planning, programs with literally hundreds of
tasks
> > can be handled by the BasicX chip. The only limitations are total
> > processing power and memory for variables and stacks. As a test,
> > NetMedia created a program with 1000 tasks to test the
multitasking
> > engine. The program worked -- not fast, but it worked.""""""
> >
> >
> > I will apreciate any explication ?
> >
> >
> > Thank you
> >
> > Cameleon
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > __________________________________________________





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: multitasking problem - cameleon_x - Aug 6 10:17:00 2002

Many of my tasks can't be combined.... This action need to run
independatly. Please, I need some informations for this too? Can I use a rampack
whit the Bx24 to increase my stak space ? Where can I found this
rampack ? How much it's cost ? This is easy to integrate ? How I do
to swap between my old ram an this new ram ?

Thank you for the time you give to me.

Cameleon --- In basicx@y..., "einavha" <einavha@y...> wrote:
> How does the rampack can help with Ram problems (Can I Dim an
array
> on the Ram?) ???
> Can you please give some examples ? > --- In basicx@y..., Tony Brenke <trbrenke@y...> wrote:
> > 1000 tasks are posable with a bx-01 AND rampack.
> > NOT a bx-24
> >
> > combine some of your small tasks with others.
> >
> > 2 large and 4 small, make 2 large and one more large (4 small
> combined)
> >
> >
> > --- cameleon_x <cameleon_X@y...> wrote:
> > > Hello everybody,
> > >
> > > First, excuse my english. I'm a french people from Montreal,
> > > Québec,
> > > Canada.
> > >
> > > I have many task to do in my application. Some of those task
need
> 70
> > > Byte of RAM and more...My task is not realy big, just few
action,
> > > and if I go under 70 byte, the bx-24 reset non stop ! For
sure,
> this
> > > is a stak problem...Ok, for this, but, I will use all my RAM
> > > capacity very quickly if I continue like this...and I don't
realy
> > > start to code my application ????????? So, my question is :
am I
> > > realy limitate by this RAM for multitasking ? If yes, there is
> > > somebody to explain me how Netmedia do 1000 tasks, like I can
> read
> > > in the specification...
> > >
> > > Here, the text I read in the BX24_documentation,
> > > operation_system_reference
> > >
> > >
> > > """""With good planning, programs with literally hundreds of
> tasks
> > > can be handled by the BasicX chip. The only limitations are
total
> > > processing power and memory for variables and stacks. As a
test,
> > > NetMedia created a program with 1000 tasks to test the
> multitasking
> > > engine. The program worked -- not fast, but it worked.""""""
> > >
> > >
> > > I will apreciate any explication ?
> > >
> > >
> > > Thank you
> > >
> > > Cameleon
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> > __________________________________________________
> >






(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: multitasking problem - Frank Manning - Aug 6 13:09:00 2002

From: "einavha" <>

> Tony Brenke <trbrenke@y...> wrote:
>
>> 1000 tasks are posable with a bx-01 AND rampack.
>> NOT a bx-24
>
> How does the rampack can help with Ram problems (Can I Dim
> an array on the Ram?) ??? Can you please give some examples?

I think Tony means the RamSandwich:

http://www.basicx.com/Products/BX-01/RamSandwich/RamSandwich.htm

This works only for BX-01 systems. It provides 64 KB of RAM, plus
another 64 KB of extended RAM.

-- Frank Manning
-- NetMedia, Inc.




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: multitasking problem - Tony Brenke - Aug 6 13:42:00 2002

the ramsandwitch works only for the bx-01.
AND when you install one on a BX-01 you only have 4 i/o lines left.
BUT you can network bx-01's easly.
this is what I do.

1 bx-01 with ramsandwitch and LCD is the master.
2 bx-01's as slave prossesors.

this makes 64K of ram and 62 i/o lines. --- cameleon_x <> wrote:
> Many of my tasks can't be combined.... This action need to run
> independatly. > Please, I need some informations for this too? Can I use a rampack
> whit the Bx24 to increase my stak space ? Where can I found this
> rampack ? How much it's cost ? This is easy to integrate ? How I do
> to swap between my old ram an this new ram ?
>
> Thank you for the time you give to me.
>
> Cameleon > --- In basicx@y..., "einavha" <einavha@y...> wrote:
> > How does the rampack can help with Ram problems (Can I Dim an
> array
> > on the Ram?) ???
> > Can you please give some examples ?
> >
> >
> > --- In basicx@y..., Tony Brenke <trbrenke@y...> wrote:
> > > 1000 tasks are posable with a bx-01 AND rampack.
> > > NOT a bx-24
> > >
> > > combine some of your small tasks with others.
> > >
> > > 2 large and 4 small, make 2 large and one more large (4 small
> > combined)
> > >
> > >
> > > --- cameleon_x <cameleon_X@y...> wrote:
> > > > Hello everybody,
> > > >
> > > > First, excuse my english. I'm a french people from Montreal,
> > > > Québec,
> > > > Canada.
> > > >
> > > > I have many task to do in my application. Some of those task
> need
> > 70
> > > > Byte of RAM and more...My task is not realy big, just few
> action,
> > > > and if I go under 70 byte, the bx-24 reset non stop ! For
> sure,
> > this
> > > > is a stak problem...Ok, for this, but, I will use all my RAM
> > > > capacity very quickly if I continue like this...and I don't
> realy
> > > > start to code my application ????????? So, my question is :
> am I
> > > > realy limitate by this RAM for multitasking ? If yes, there is
> > > > somebody to explain me how Netmedia do 1000 tasks, like I can
> > read
> > > > in the specification...
> > > >
> > > > Here, the text I read in the BX24_documentation,
> > > > operation_system_reference
> > > >
> > > >
> > > > """""With good planning, programs with literally hundreds of
> > tasks
> > > > can be handled by the BasicX chip. The only limitations are
> total
> > > > processing power and memory for variables and stacks. As a
> test,
> > > > NetMedia created a program with 1000 tasks to test the
> > multitasking
> > > > engine. The program worked -- not fast, but it worked.""""""
> > > >
> > > >
> > > > I will apreciate any explication ?
> > > >
> > > >
> > > > Thank you
> > > >
> > > > Cameleon
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > __________________________________________________
> > >
>
>

__________________________________________________






(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: multitasking problem - einavha - Aug 7 2:01:00 2002

Yes, but still I don't see how does the BX01 run 1000 Task parallel

--- In basicx@y..., Tony Brenke <trbrenke@y...> wrote:
> the ramsandwitch works only for the bx-01.
> AND when you install one on a BX-01 you only have 4 i/o lines left.
> BUT you can network bx-01's easly.
> this is what I do.
>
> 1 bx-01 with ramsandwitch and LCD is the master.
> 2 bx-01's as slave prossesors.
>
> this makes 64K of ram and 62 i/o lines. > --- cameleon_x <cameleon_X@y...> wrote:
> > Many of my tasks can't be combined.... This action need to run
> > independatly.
> >
> >
> > Please, I need some informations for this too? Can I use a
rampack
> > whit the Bx24 to increase my stak space ? Where can I found this
> > rampack ? How much it's cost ? This is easy to integrate ? How I
do
> > to swap between my old ram an this new ram ?
> >
> > Thank you for the time you give to me.
> >
> > Cameleon
> >
> >
> > --- In basicx@y..., "einavha" <einavha@y...> wrote:
> > > How does the rampack can help with Ram problems (Can I Dim an
> > array
> > > on the Ram?) ???
> > > Can you please give some examples ?
> > >
> > >
> > > --- In basicx@y..., Tony Brenke <trbrenke@y...> wrote:
> > > > 1000 tasks are posable with a bx-01 AND rampack.
> > > > NOT a bx-24
> > > >
> > > > combine some of your small tasks with others.
> > > >
> > > > 2 large and 4 small, make 2 large and one more large (4 small
> > > combined)
> > > >
> > > >
> > > > --- cameleon_x <cameleon_X@y...> wrote:
> > > > > Hello everybody,
> > > > >
> > > > > First, excuse my english. I'm a french people from Montreal,
> > > > > Québec,
> > > > > Canada.
> > > > >
> > > > > I have many task to do in my application. Some of those
task
> > need
> > > 70
> > > > > Byte of RAM and more...My task is not realy big, just few
> > action,
> > > > > and if I go under 70 byte, the bx-24 reset non stop ! For
> > sure,
> > > this
> > > > > is a stak problem...Ok, for this, but, I will use all my
RAM
> > > > > capacity very quickly if I continue like this...and I don't
> > realy
> > > > > start to code my application ????????? So, my question
is :
> > am I
> > > > > realy limitate by this RAM for multitasking ? If yes, there
is
> > > > > somebody to explain me how Netmedia do 1000 tasks, like I
can
> > > read
> > > > > in the specification...
> > > > >
> > > > > Here, the text I read in the BX24_documentation,
> > > > > operation_system_reference
> > > > >
> > > > >
> > > > > """""With good planning, programs with literally hundreds
of
> > > tasks
> > > > > can be handled by the BasicX chip. The only limitations are
> > total
> > > > > processing power and memory for variables and stacks. As a
> > test,
> > > > > NetMedia created a program with 1000 tasks to test the
> > > multitasking
> > > > > engine. The program worked -- not fast, but it worked.""""""
> > > > >
> > > > >
> > > > > I will apreciate any explication ?
> > > > >
> > > > >
> > > > > Thank you
> > > > >
> > > > > Cameleon
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > __________________________________________________
> > > >
> >
> >
> >
> >
> >
> >
> > __________________________________________________



______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: multitasking problem - Tony Brenke - Aug 7 2:18:00 2002

when you have 64K of ram to play with this is posable.
64 bytes stack per task. --- einavha <> wrote:
> Yes, but still I don't see how does the BX01 run 1000 Task parallel
>
> --- In basicx@y..., Tony Brenke <trbrenke@y...> wrote:
> > the ramsandwitch works only for the bx-01.
> > AND when you install one on a BX-01 you only have 4 i/o lines left.
> > BUT you can network bx-01's easly.
> > this is what I do.
> >
> > 1 bx-01 with ramsandwitch and LCD is the master.
> > 2 bx-01's as slave prossesors.
> >
> > this makes 64K of ram and 62 i/o lines.
> >
> >
> > --- cameleon_x <cameleon_X@y...> wrote:
> > > Many of my tasks can't be combined.... This action need to run
> > > independatly.
> > >
> > >
> > > Please, I need some informations for this too? Can I use a
> rampack
> > > whit the Bx24 to increase my stak space ? Where can I found this
> > > rampack ? How much it's cost ? This is easy to integrate ? How I
> do
> > > to swap between my old ram an this new ram ?
> > >
> > > Thank you for the time you give to me.
> > >
> > > Cameleon
> > >
> > >
> > > --- In basicx@y..., "einavha" <einavha@y...> wrote:
> > > > How does the rampack can help with Ram problems (Can I Dim an
> > > array
> > > > on the Ram?) ???
> > > > Can you please give some examples ?
> > > >
> > > >
> > > > --- In basicx@y..., Tony Brenke <trbrenke@y...> wrote:
> > > > > 1000 tasks are posable with a bx-01 AND rampack.
> > > > > NOT a bx-24
> > > > >
> > > > > combine some of your small tasks with others.
> > > > >
> > > > > 2 large and 4 small, make 2 large and one more large (4 small
> > > > combined)
> > > > >
> > > > >
> > > > > --- cameleon_x <cameleon_X@y...> wrote:
> > > > > > Hello everybody,
> > > > > >
> > > > > > First, excuse my english. I'm a french people from Montreal,
> > > > > > Québec,
> > > > > > Canada.
> > > > > >
> > > > > > I have many task to do in my application. Some of those
> task
> > > need
> > > > 70
> > > > > > Byte of RAM and more...My task is not realy big, just few
> > > action,
> > > > > > and if I go under 70 byte, the bx-24 reset non stop ! For
> > > sure,
> > > > this
> > > > > > is a stak problem...Ok, for this, but, I will use all my
> RAM
> > > > > > capacity very quickly if I continue like this...and I don't
> > > realy
> > > > > > start to code my application ????????? So, my question
> is :
> > > am I
> > > > > > realy limitate by this RAM for multitasking ? If yes, there
> is
> > > > > > somebody to explain me how Netmedia do 1000 tasks, like I
> can
> > > > read
> > > > > > in the specification...
> > > > > >
> > > > > > Here, the text I read in the BX24_documentation,
> > > > > > operation_system_reference
> > > > > >
> > > > > >
> > > > > > """""With good planning, programs with literally hundreds
> of
> > > > tasks
> > > > > > can be handled by the BasicX chip. The only limitations are
> > > total
> > > > > > processing power and memory for variables and stacks. As a
> > > test,
> > > > > > NetMedia created a program with 1000 tasks to test the
> > > > multitasking
> > > > > > engine. The program worked -- not fast, but it worked.""""""
> > > > > >
> > > > > >
> > > > > > I will apreciate any explication ?
> > > > > >
> > > > > >
> > > > > > Thank you
> > > > > >
> > > > > > Cameleon
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > __________________________________________________
> > > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> > __________________________________________________
> >
>
>

__________________________________________________





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )