BasicX
Discussion forum for the BasicX family of microcontroller chips.
Search Results for "stack"
Post a new Thread
airmaledfw - May 26 2003
Thanks to a posting I came across by dan bielecki (msg 7510), I
quickly shaved 100 bytes off my ram useage by not submitting Sub Main
() to just sleeping while run... 
itisnt - Apr 10 2004
Hi
Does anybody know if the amount of Bytes used by a
given Task is always the same ?
Or can it change from Run to Run ?
My Test-Prog initializes the Task... 
arhodes19044 - Aug 7 2005
I used BxDism, and confirmed that I was running out of stack space in
a major way. I deleted wasted space/variables and fised it up and
have just enough by 5 bytes, accord... 
- Feb 13 2001
Hello BXers,
I am looking for some insight on how tasks use the stack arrays
allocated to them. I have tried to run the taskexample on a BX24 - no
succes. I rai... 
vic_gates - Jan 11 2006
I was experimenting with bxdism on a couple of my projects and ran
into a problem. When using it with a program for the BX-01
configured for XI/O and external ram (similar... 
Brad Watts AMT Inc. - Sep 23 2002
Hi;
Here's a question to see who really understands memory location on the
BX-24...
When setting up a queue for communications on Com1, I can declare them
ei... 
arhodes19044 - Apr 8 2005
When a task calls a subroutine, do all the subroutine's local
variables get placed on the Task's stack, or the main stack?
I am sure I will find this out shortly, ... 
Ian Casey - Mar 8 2002
I'm getting alot of trouble with stack problems with the
BX-24,overwriting different variables (both static and local) and lock-ups.
The biggest culprits seem to b... 
Kirk Lovewell - Jun 28 2000
Is there a way to determine if the main stack is overflowing? I have a
program that is experiencing strange failures, program halts at various
(random?) points in t... 
George Chamilothoris - Feb 20 2001
Dear Netmedia people (Jack, Chris et al.)
A week ago i posted a call for help and information. It has failed to catch
your attention, for some reason. So i am repea... 
- May 14 2001
How do I measure the usage of the stack allocated for a task (in a
multitasking situation)?
What commands should I use?
Maybe you already discussed the matter , ... 
Tom Stutsman - Jul 9 2004
I was wondering how you figure out how much task space to use for a
program running in the background. For instance if I am running some
servo's in the background... 
Frank Manning - Aug 3 2003
From: Joseph Obernberger <>
> If I do not call the SerialTask, everything works OK,
> but with the SerialTask started (see below), the stamp
The what?
... 
Mike Perks - Aug 7 2005
arhodes19044 wrote:
> I used BxDism, and confirmed that I was running out of stack space in
> a major way. I deleted wasted space/variables and fised it up and
> have j... 
Emil E. Hrivnak - Apr 6 2003
I'm having a problem with a BX-24 project. It's about 10K of instructions
and 270 to 275 bytes of RAM. If the RAM size gets to 275 to 280 bytes, the
program will ... 
gui_dpcs - Aug 26 2005
Hi,
I just downloaded the bxDism program from Mike Perks' website and have
been trying it out. We've been looking for a good way to do stack
analysis.
I ran it on ... 
Paul J. Csonka - Feb 14 2000
Good evening,
I am pleased to successfully multitask within a few minutes of
trying, this system is very straightforward and simple!
However, I lack underst... 
Brad Watts - Apr 3 2001
Jack:
I'm still a little confused about what effect local variables have on stack
space. It would seem that locals live between static variables and the stack
but... 
- Sep 18 2000
Hi all:
I'm seeing a whoppin' 60 bytes of stack usage whenever calling
PutTime from one of my threads. Is this normal???
Thanks!
... 
Steve Stover - Feb 7 2000
Hello All,
Thought I'd introduce myself, then ask a couple questions.
My name is Steve Stover. I'm working on a project using the BX-01 chip and
code as an ... 
Don Kinzer - Dec 2 2004
--- In , "basicxbubba" wrote:
> [...] At the end of a few successful runs the BasicX stalls. [...]
Perhaps the I/O bearings need to be g... 
wayne2000_7 - Jan 28 2002
I have ran out of memory and stack space
on a BX24 and want to know if switching
to a BX01 w/ram sandwich will help.
It appears that I can add more eeprom b... 
Ted Maczulat - Jun 26 2003
I am working on a project using a BX24. The main module does nothing but
call 2 tasks.
I have a third module that I am working on. I am wondering is it would be ... 
Paul J. Csonka - Feb 17 2000
Good morning,
I am having much fun with the bx-24.
And I have another question for you:
There were a few mentions of checking the stack used by a task,
af... 
Bob Dengler - Sep 22 2004
Is the stack requirement for tasks reported by Ramalyze the total number of
elements needed in the stack byte array, or should I be adding 15 for the
task frame? ... 
Tom Becker - Aug 10 2004
If, while deep into a nest of Calls, I need to abend and return to
several levels up - skipping the intermediary Calls - can I, in essence,
pop the BasicX stack mys... 
Don Kinzer - Dec 22 2003
Is there any data available on the amount of stack space consumed by
calls to the various System Library routines. I am particularly
interested in the space used ... 
Frank Manning - May 3 2004
From: Bob Roos <>
> [...]
> Also the more nested you are the more RAM is active
> at one time due to subroutines.
True. At the same time it does not follo... 
Don Kinzer - Nov 9 2004
--- In , Vidya Rangasayee
wrote:
> How big is your executable. It might be a problem with
> program length.
It is more likely to be a ... 
Mike Linnen - Dec 2 2000
Just a thought but I have not tried this yet.
There are some special purpose registers that give you the stack pointer.
register.spl 'Stack pointer low
register.s... 
Art Church - Feb 21 2005
Help ! Is there info somewhere to help me better understand how memory works on the BX-24 ?
My understanding
- 400 for RAM
- 32k EEPROM for program and I th... 
- Oct 25 2000
I have built a device on the BX-24 and wish to expand its
capabilities, but I find myself out of RAM. It appears as though I
need about 125 bytes of RAM for stack... 
Tony Brenke - Sep 13 2002
I would not do this.
there is a program stack also.
sub programs help in reusing code. but is you go too deep you can overflow the stack.
a sub calling a su... 
Stevens, Kurt - Dec 2 1999
Hi,
I wrote a small program that has one task. I Preinitialize that
task's stack to a known value (dec 177) that did not appear in that stack
output previously. W... 
stan_eye_am - Jan 3 2002
I have run up against a wierd problem. I am still investigating but
wondered if anyone has seen something similar - or if I am just doing
something stupid.
S... 
Joe Whalley - Mar 21 2003
Hi, I'm new to the BasicX and am having trouble creating stacks for
tasks. I have 2 tasks which I gave 100 bytes each. Is there a general
indicator of stack overf... 
kerrywilkinson2002 - Apr 8 2002
This also may be due to a thread overflowing its stack. Is the
variable declaration next to a task stack declaration? If you are
running more than a single thr... 
airmaledfw - Apr 10 2003
I am curious about calls made from within multi-tasks. Say I have
three modules that are tasks. In the first task module, a call is
made, perhaps...
Call ... 
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
next