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.
Tool/software: CCS v6.0.1
Hello,
Following contents are available in my .cfg file
====================================================
var EMAC = xdc.useModule('ti.drivers.EMAC');
EMAC.libType = EMAC.LibType_NonInstrumented;
var Global = xdc.useModule('ti.ndk.config.Global');
Global.IPv6 = false;
Global.networkIPAddrHook = "&mynetworkIPAddrHook";
Global.networkOpenHook = "&functionNetworkOpenHook";
Global.stackInitHook = "&AddWebFiles";
Global.stackDeleteHook = "&RemoveWebFiles";
Global.lowTaskPriLevel = 3;
Global.netSchedulerPri = Global.NC_PRIORITY_HIGH;
Global.ndkThreadStackSize = 3072;
Global.lowTaskStackSize = 3072;
Global.normTaskStackSize = 3072;
Global.highTaskStackSize = 3072;
var Ip = xdc.useModule('ti.ndk.config.Ip');
Ip.autoIp = true;
Ip.domainName = "cellcommsolutions.com";
var Http = xdc.useModule('ti.ndk.config.Http');
var http0Params = new Http.Params();
var http0 = Http.create(http0Params);
var Dns = xdc.useModule('ti.ndk.config.Dns');
Dns.externDnsServIp = "192.168.1.5";
================================================
mynetworkIPAddrHook(), functionNetworkOpenHook(), AddWebFiles(), RemoveWebFiles()
Above functions are implemented in application code to create http server, there is no compile time error, warning, memory leak etc
But when I loaded .bin file to controller, it keeps on restarting
(After implementing above in .cfg and .c file, I am facing restarting issue)
To implement the same,
-> We aren't relying on any external storage device
-> MAC ID is also loaded
Please let me know, what modification should I do ...?
Any other info required related to this issue, feel free to ask
Thanks
Hi,
Please refer to this post where Todd provided a TI-RTOS HTTP server example and a ppt presentation.