Hi Sir :
I work on TI AM335x IDK platform, the tools's version are as below.
CCS V6
am335x_sysbios_ind_sdk_1.1.0.8
bios_6_41_04_54
ndk_2_24_01_18
xdctools_3_30_06_67_core
I use enetLwip_sysbios example as my basis project and I can compile successfully and run it on IDK platform.
I can ping 192.168.1.2 successfully and see the web page.
Since we work with third party and the third party's application is written by C++, so I add cpp file to enetLwip_sysbios project.
I can compile successfully, but when I load program and execute, the messages show like below.
[CortxA8] enter taskFxn()
ti.sysbios.knl.Semaphore: line 289: assertion failure: A_badContext: bad calling context. Must be called from a Task.
xdc.runtime.Error.raise: terminating execution
I compare the size of two executable file, the first is about 2 MB, however the fail one is about 14 MB.
I think if it is the memory map issue or the stack issue.
Please give me your suggestion!
Best regards,
Marcus