Search the Community
Showing results for tags 'stack'.
Found 3 results
Easy way to monitor peak stack usage...
nickds1 posted a topic in Code vaultHi, I needed a way to see how much of my C++ stack was being consumed in my MSP application - the traditional way is to "poison" the stack with a known pattern, and then to see how much of it gets burnt away. So I wrote the following - hope folk find it useful: The following code allows you to simply do this and to check at any point how much of the pre-allocated stack was consumed during peak usage, i.e. how close your app got to the bottom of the stack, or indeed, whether it over-ran. The TI CCS documentation is completely wrong in the names it gives for the global symbols tha
How to prevent and detect stack overflow
chicken posted a topic in Fireside ChatHere's a great webinar on the topic of stack overflow from basics like stack sizing all the way to stack usage estimation and analysis, stack monitoring and stack overflow handling. Recording: Transcript: http://barrgroup.com/Embedded-Systems/How-To/Prevent-Detect-Stack-Overflow Found via the Embedded Muse newsletter.
Hi all, I need to make a display with wireless interface. In this case, i use Anaren AIR CC2530, MSP430 Launchpad Value Line, and BCD Display I have succesfully connected my MSP430 Launchpad with ANAREN AIR. It is less problematic there. The problem is when i try to stack the BCD Display to launchpad (without Anaren AIR). It took me 1 week to notice that i need to remove jumper J5 to make the BCD display work. (The BCD display need P1.6 connector to be connected to the pin, not to the LED). After i make that jumper open, the display is now showing the graphics. Now, i need to stac