Tool/software: TI-RTOS
Champs,
Customer develops application on K2G utilizing NDK. it has been observed that when there are packets sent to DSP before NDK finished initialization it will subsequently fail to come up at all. Below are steps to reproduce the issue. I will greatly appreciate your feedback as to where exactly the problem lies and what are the best ways to correct or work around it.
Thanks,
Michael
following are our testing procedures using the NDK example "NIMU_BasicExample_evmK2G_c66xExampleProject". The NDK version we use is 2.26.00.08, which is the one comes with TI-RTOS 05.00.00.15.
1. open command prompt
cd /D "C:/ti/pdk_k2g_1_0_10/packages/"
pdkProjectCreate.bat K2G evmK2G little nimu all dsp C:/ti/pdk_k2g_1_0_10/packages
2. import `C:/ti/pdk_k2g_1_0_10/packages/MyExampleProjects/NIMU_BasicExample_evmK2G_c66xExampleProject` into CCS workspace (Version: 8.1.0.00011).
3. edit C:\ti\pdk_k2g_1_0_10\packages\ti\transport\ndk\nimu\example\helloWorld\src\udpHello.c
add any debugging message before and after recvncfrom()
4. download packet sender https://packetsender.com/download
set any packet content you want (e.g. asdf)
set Address using LocalIPAddr in helloWorld_k2g.c
set Port to 7
set UDP
5. build and run the NDK example on DSP
6. after K2GEVM.ccxml:CIO displays "Network Added: If-1:<LocalIPAddr in helloWorld_k2g.c>", click "Send" in Packet Sender, then you should be able to see an echo packet in Packet Sender, and the debugging messages added in step 3.
7. now rerun the same example, but this time before K2GEVM.ccxml:CIO displays "Network Added: If-1:<LocalIPAddr in helloWorld_k2g.c>", continuously click "Send" in Packet Sender at 0.5 seconds interval. You won't see any echo message or debugging messages even after the "Network Added: ..." message displays.