• Menu
  • Product
  • Email
  • PDF
  • Order now
  • Stack Overflow Detection on UCD3138 Devices

    • SLUAAP6 September   2023 UCD3138 , UCD3138064 , UCD3138064A , UCD3138128 , UCD3138128A , UCD3138A , UCD3138A64

       

  • CONTENTS
  • SEARCH
  • Stack Overflow Detection on UCD3138 Devices
  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
    1. 1.1 Check the Size for Each Stack
  5. 2Check if an Overflow Happens
  6. 3Summary
  7. 4References
  8. IMPORTANT NOTICE
search No matches found.
  • Full reading width
    • Full reading width
    • Comfortable reading width
    • Expanded reading width
  • Card for each section
  • Card with all content

 

Application Note

Stack Overflow Detection on UCD3138 Devices

Abstract

It is hard to tell how much size a stack uses statically since the size varies with the code running. There are other things that are stored in RAM as well, for example global variables. If a stack overflow happens, it modifies the others unexpectedly, causing unpredictable problems. Therefore, it is necessary to reserve enough room for STACK. This application note describes two processes to check if a stack overflow happens.

Trademarks

All trademarks are the property of their respective owners.

1 Introduction

 

Texas Instruments

© Copyright 1995-2025 Texas Instruments Incorporated. All rights reserved.
Submit documentation feedback | IMPORTANT NOTICE | Trademarks | Privacy policy | Cookie policy | Terms of use | Terms of sale