Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

Stack overflow checking on MSP430

Posted by aamir mahmood on August 27, 2010
Hi,

Is it possible to perform stack overflow detection on MSP430 architecture? I am just not sure what does "these options are only available on architectures where the memory map is not segmented" mean as mentioned in the FreeRTOS documentation for stack overflow detection.

Aamir

RE: Stack overflow checking on MSP430

Posted by Dave on August 27, 2010
To my knowledge the MSP430 does not have a segmented memory space. Is this different for the MSP430X parts?

Even if it does, you can still use the second method that just relies on a memcmp() and not an address comparison. It would require a very minor change to the code to prevent the first method from executing before the memcmp().

Why not just try it?


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS