This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

【CC3200 评测】CC3200-LAUNCHXL开发板使用心得分享+GCC编译和调试

Other Parts Discussed in Thread: CC3200

1. 安装了cygwin, gcc, openocd , 可以编译所有例程。

2. 调试NON OS 的blinky例程可以成功运行,但是调试 基于 FreeRTOS的例程都不行,报错如下:

Breakpoint 1, main () at ../main.c:326
326 BoardInit();
(gdb) c
Continuing.
cc3200.cpu -- clearing lockup after double fault

Program received signal SIGINT, Interrupt.
0x20004f8e in prvPortStartFirstTask ()
at ../../third_party/FreeRTOS/source/portable/GCC/ARM_CM4/port.c:271
271 __asm volatile(
(gdb) bt
#0 0x20004f8e in prvPortStartFirstTask ()
at ../../third_party/FreeRTOS/source/portable/GCC/ARM_CM4/port.c:271
#1 0x20004fc2 in xPortStartScheduler ()
at ../../third_party/FreeRTOS/source/portable/GCC/ARM_CM4/port.c:351
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

不知道是例程里面FreeRTOS源码的问题还是GCC编译器的问题,请TI的工程师帮忙解决一下,谢谢!

gcc version:

Thread model: single
gcc version 8.2.1 20181213 (release) [gcc-8-branch revision 267074] (GNU Tools for Arm Embedded Processors 8-2018-q4-major)