Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



Ads

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

Discussion Groups

See Also

DSPFPGAElectronics

BasicX

Discussion forum for the BasicX family of microcontroller chips.

Search Results for "stack"

  

Post a new Thread

Multi-tasking stack size....   [4 Articles]

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... Multi-tasking stack size....

Question about Stack-Size   [9 Articles]

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... Question about Stack-Size

BxDism question re:stack   [16 Articles]

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... BxDism question re:stack

Task stacks

- 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... Task stacks

BxDism & BX01 with external RAM   [2 Articles]

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... BxDism & BX01 with external RAM

Stack, Local and global memory allocation

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... Stack, Local and global memory allocation

Task stack usage?   [13 Articles]

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, ... Task stack usage?

Function stack space

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... Function stack space

Main Stack Overflow

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... Main Stack Overflow

Again: Task Stacks Question   [2 Articles]

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... Again: Task Stacks Question

Measuring Stack usage   [2 Articles]

- 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 , ... Measuring Stack usage

size of task stack   [5 Articles]

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... size of task stack

Re: Serial Port and Tasks   [3 Articles]

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? ... Re:  Serial Port and Tasks

Re: BxDism question re:stack   [2 Articles]

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... Re:  BxDism question re:stack

BX-24 RAM and Stack   [10 Articles]

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 ... BX-24 RAM and Stack

Question on bxDism   [4 Articles]

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 ... Question on bxDism

Further stack question   [5 Articles]

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... Further stack question

Memory map   [2 Articles]

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... Memory map

Call to put time: Stack Usage?

- 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! ... Call to put time: Stack Usage?

Introduction and Questions   [11 Articles]

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 ... Introduction and Questions

Re: RAM overload   [2 Articles]

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... Re: RAM overload

BX01 question   [2 Articles]

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... BX01 question

Variable loading???   [3 Articles]

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 ... Variable loading???

ram checking

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... ram checking

Task stack requirement calculated by Ramalyze   [2 Articles]

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? ... Task stack requirement calculated by Ramalyze

Stack pops?   [2 Articles]

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... Stack pops?

System Library routine stack usage

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 ... System Library routine stack usage

Re: Re: More Info on GetTime problem BX24   [8 Articles]

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... Re:  Re: More Info on GetTime problem BX24

Re: Combining Files Leads to Reset Problem

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 ... Re: Combining Files Leads to Reset Problem

Re: BasicX BUG   [3 Articles]

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... Re:  BasicX BUG

Understanding Memory on BX-24

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... Understanding Memory on BX-24

The quest for RAM   [8 Articles]

- 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... The quest for RAM

Re: Re: running out of ram   [3 Articles]

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... Re:  Re: running out of ram

BX01 Stack   [11 Articles]

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... BX01 Stack

Compiler bug?   [8 Articles]

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... Compiler bug?

Computing stack size   [2 Articles]

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... Computing stack size

Re: Variables That Mysteriously Change Value??

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... Re: Variables That Mysteriously Change Value??

Calls made from within multi-tasks...   [4 Articles]

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 ... Calls made from within multi-tasks...
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | next