Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 223157

Forum Post: RTOS: How to find out the cause of the hang-up?

$
0
0
Tool/software: TI-RTOS There are 2 tasks. Each task has a stack of 500 bytes allocated. I intentionally declare an array of 1000 bytes in one task. In the debugger I get in static void loader_exit(void) and there dwell. How to understand without debugger in what task there was a failure and why the program came into static void loader_exit(void)? I have LEDs on my Board. I can flash LEDs. I can blink Morse code. For example, if there is a failure in task 1, then blink 1 long, if there is a failure in task 2, blink 2 short pulses. As from your code to understand what kind of crashing and all I get if I abort? ps CCS6, compiler TI v16.6.0.STS, SYS/BIOS 6.53.2.00, TI-RTOS 2.16.0.08[2.16.1.14], F28M35H52C1, ARM Cortex-M3

Viewing all articles
Browse latest Browse all 223157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>