Jon Titus
User Rank
Re: Part IV: Fundamentals of Digital Debugging
Jon Titus   1/19/2012 5:42:06 PM
Q:  How do you decide he stack value initially?


A:  Make an educated guess. based on the number of nested functions called.  The MCUs will need to push register values onto the stack, too, but I don't know how to guess at the amount of stack that would use.   The compiler will set up a stack for you and you can watch stack use in the debugger watch windows.  That will also help when you need to determine stack size.

Partner Zone
Latest Analysis
Siemens and Georgia Institute of Technology are partnering to address limitations in the current additive manufacturing design-to-production chain in an applied research project as part of the federally backed America Makes program.
Most of the new 3D printers and 3D printing technologies in this crop are breaking some boundaries, whether it's build volume-per-dollar ratios, multimaterials printing techniques, or new materials types.
Check out these gifts that will make you the hero of your Secret Santa party.
Voting has closed on our 2015 Gadget Freak of the Year contest, but it is not game over yet for two competing projects.
Independent science safety company Underwriters Laboratories is providing new guidance for manufacturers about how to follow the latest IEC standards for implementing safety features in programmable logic controllers.
Design News Webinar Series
11/10/2015 11:00 a.m. California / 2:00 p.m. New York
10/29/2015 11:00 a.m. California / 2:00 p.m. New York
10/20/2015 8:00 a.m. California / 11:00 a.m. New York
12/2/2015 11:00 a.m. California / 2:00 p.m. New York
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Jul 6 - 10, Building Raspberry Pi Controllers with Python
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7

Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2015 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service