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.

RTOS/EVMK2H: EVMK2H NIMU Example Application: ti.sysbios.knl.Task: line 414: E_stackOverflow: Task 0x80145fb0 stack overflow.

Part Number: EVMK2H
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hi ,

I have recently bought EVMK2H platform and i have tried basic example applications like sys/bios hello world, GPIO  and UART. Now, I am trying to run the NIMU_emacExample_EVMK2H_armBiosExampleProject. i have followed the following link to run this project.

http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_NDK

1) I have increased  NS_BootTask stack from 2048 to 4096

2) Rebuilding the NDK:- After increasing the stack size i built the NDK by running the following command: http://processors.wiki.ti.com/index.php/Rebuilding_The_NDK_Core_Using_Gmake

0|$ make -f ndk.mak XDC_INSTALL_DIR=~/ti/rtos-sdk/xdctools_3_32_01_22_core ti.targets.c674=~/ti/ccs7.1/ccsv7/tools/compiler/ti-cgt-c6000_8.1.0

Build log:
making all: Thu Apr 13 08:48:53 IST 2017 ...
======== .interfaces [./packages/ti/ndk] ========
======== .interfaces [./packages/ti/ndk/config] ========
======== .interfaces [./packages/ti/ndk/hal/eth_stub] ========
======== .interfaces [./packages/ti/ndk/hal/ser_stub] ========
======== .interfaces [./packages/ti/ndk/hal/timer_bios] ========
======== .interfaces [./packages/ti/ndk/hal/userled_stub] ========
======== .interfaces [./packages/ti/ndk/netctrl] ========
======== .interfaces [./packages/ti/ndk/nettools] ========
======== .interfaces [./packages/ti/ndk/os] ========
======== .interfaces [./packages/ti/ndk/productview] ========
======== .interfaces [./packages/ti/ndk/rov] ========
======== .interfaces [./packages/ti/ndk/stack] ========
======== .interfaces [./packages/ti/ndk/tools/cgi] ========
======== .interfaces [./packages/ti/ndk/tools/console] ========
======== .interfaces [./packages/ti/ndk/tools/hdlc] ========
======== .interfaces [./packages/ti/ndk/tools/servers] ========
.interfaces files complete: Thu Apr 13 08:48:54 IST 2017.
======== .libraries [./packages/ti/ndk] ========
======== .libraries [./packages/ti/ndk/config] ========
======== .libraries [./packages/ti/ndk/hal/eth_stub] ========
======== .libraries [./packages/ti/ndk/hal/ser_stub] ========
======== .libraries [./packages/ti/ndk/hal/timer_bios] ========
======== .libraries [./packages/ti/ndk/hal/userled_stub] ========
======== .libraries [./packages/ti/ndk/netctrl] ========
======== .libraries [./packages/ti/ndk/nettools] ========
======== .libraries [./packages/ti/ndk/os] ========
======== .libraries [./packages/ti/ndk/productview] ========
======== .libraries [./packages/ti/ndk/rov] ========
======== .libraries [./packages/ti/ndk/stack] ========
======== .libraries [./packages/ti/ndk/tools/cgi] ========
======== .libraries [./packages/ti/ndk/tools/console] ========
======== .libraries [./packages/ti/ndk/tools/hdlc] ========
======== .libraries [./packages/ti/ndk/tools/servers] ========
.libraries files complete: Thu Apr 13 08:48:54 IST 2017.
======== .dlls [./packages/ti/ndk] ========
======== .dlls [./packages/ti/ndk/config] ========
======== .dlls [./packages/ti/ndk/hal/eth_stub] ========
======== .dlls [./packages/ti/ndk/hal/ser_stub] ========
======== .dlls [./packages/ti/ndk/hal/timer_bios] ========
======== .dlls [./packages/ti/ndk/hal/userled_stub] ========
======== .dlls [./packages/ti/ndk/netctrl] ========
======== .dlls [./packages/ti/ndk/nettools] ========
======== .dlls [./packages/ti/ndk/os] ========
======== .dlls [./packages/ti/ndk/productview] ========
======== .dlls [./packages/ti/ndk/rov] ========
======== .dlls [./packages/ti/ndk/stack] ========
======== .dlls [./packages/ti/ndk/tools/cgi] ========
======== .dlls [./packages/ti/ndk/tools/console] ========
======== .dlls [./packages/ti/ndk/tools/hdlc] ========
======== .dlls [./packages/ti/ndk/tools/servers] ========
.dlls files complete: Thu Apr 13 08:48:54 IST 2017.
======== .executables [./packages/ti/ndk] ========
======== .executables [./packages/ti/ndk/config] ========
======== .executables [./packages/ti/ndk/hal/eth_stub] ========
======== .executables [./packages/ti/ndk/hal/ser_stub] ========
======== .executables [./packages/ti/ndk/hal/timer_bios] ========
======== .executables [./packages/ti/ndk/hal/userled_stub] ========
======== .executables [./packages/ti/ndk/netctrl] ========
======== .executables [./packages/ti/ndk/nettools] ========
======== .executables [./packages/ti/ndk/os] ========
======== .executables [./packages/ti/ndk/productview] ========
======== .executables [./packages/ti/ndk/rov] ========
======== .executables [./packages/ti/ndk/stack] ========
======== .executables [./packages/ti/ndk/tools/cgi] ========
======== .executables [./packages/ti/ndk/tools/console] ========
======== .executables [./packages/ti/ndk/tools/hdlc] ========
======== .executables [./packages/ti/ndk/tools/servers] ========
.executables files complete: Thu Apr 13 08:48:54 IST 2017.
======== all [./packages/ti/ndk] ========
all files complete.
======== all [./packages/ti/ndk/config] ========
all files complete.
======== all [./packages/ti/ndk/hal/eth_stub] ========
all files complete.
======== all [./packages/ti/ndk/hal/ser_stub] ========
all files complete.
======== all [./packages/ti/ndk/hal/timer_bios] ========
all files complete.
======== all [./packages/ti/ndk/hal/userled_stub] ========
all files complete.
======== all [./packages/ti/ndk/netctrl] ========
all files complete.
======== all [./packages/ti/ndk/nettools] ========
all files complete.
======== all [./packages/ti/ndk/os] ========
all files complete.
======== all [./packages/ti/ndk/productview] ========
all files complete.
======== all [./packages/ti/ndk/rov] ========
all files complete.
======== all [./packages/ti/ndk/stack] ========
all files complete.
======== all [./packages/ti/ndk/tools/cgi] ========
all files complete.
======== all [./packages/ti/ndk/tools/console] ========
all files complete.
======== all [./packages/ti/ndk/tools/hdlc] ========
all files complete.
======== all [./packages/ti/ndk/tools/servers] ========
all files complete.
all files complete: Thu Apr 13 08:48:54 IST 2017.

(NDK was built properly i suppose)

4) Rebuilding NIMU driver: Rebuilding NIMU driver: I tried to build the NIMU driver by running make command in /pdk/packages/ti/transport/ndk/nimu folder

But it says 'Nothing to be done for all'

5) Now when i try to run the NIMU_emacExample project in CCS the stack overflow error still remains.

Console o/p:

[arm_A15_0] QMSS successfully initialized
CPPI successfully initialized
PA successfully initialized

TCP/IP Stack 'Hello World!' Application

StackTest: using localIp
Network Added: If-1:192.168.1.4
ti.sysbios.knl.Task: line 414: E_stackOverflow: Task 0x80145fb0 stack overflow.
xdc.runtime.Error.raise: terminating execution

Can anyone help me resolve this issue?