hi,
i make my own net work project on dm648. i used NDK library and DAT module using edma3 library (C:\dvsdk_1_11_00_00_DM648\edma3_lld_1_05_00\examples\CSL2_DAT_DEMO), but my project can't work correctly.
i used the client project on folder C:\dvsdk_1_11_00_00_DM648\ndk_1_92_00_22_eval\packages\ti\ndk\example\network\client, and add my main() function, while every thing else unchanged, but my app still restart. the main() function is as below:
void main()
{
EDMA3_DRV_Result result = EDMA3_DRV_SOK;
if (!DAT_EDMA3LLD_init(NULL))
{
printf("Error initializing EDMA3 low level driver\n");
exit();
}
else
{
DAT_EDMA3LLD_hEdma = hEdma;
}
if (0 == DAT_open(0,0,0))
{
printf("Video App Failure.\n");
exit(0);
}
}
can you tell me how can i use DAT functio and NDK library?
ps:
i add these three file to my project:
csl2_dat_edma3lld.c,csl2_dat.c,dat_edma3lld_biosadapter.c
these file is in folder :C:\dvsdk_1_11_00_00_DM648\edma3_lld_1_05_00\examples\CSL2_DAT_DEMO\dat_edma3LLD
James