- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
WICED 6.6, ThreadX+NetX_Duo debug build. Platform: ISM4343_WBM_L151.
I am getting ThreadX stack overflow in NetX DHCP Client thread after some time. It looks like this time depends on DHCP lease time setting on my router.
Anyone knows how to increase DHCP client thread stack size ?
I tried to change NX_DHCP_THREAD_STACK_SIZE to 4096 in WICED/network/NetX_Duo/ver5.12/nx_user.h but actual stack size does not change.
- Labels:
-
Wifi+Bluetooth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Which sample application are you using? If you have written your own application, then please attach the code to reproduce the same issue on our side.
Thanks
Aditi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using my own app, but I cannot attach its code here. Basically it does the following:
wiced_init();
wiced_network_up(WICED_STA_INTERFACE, WICED_USE_EXTERNAL_DHCP_SERVER, NULL);
Anyway - how to change DHCP Client thread stack size ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I see that the stack overflow is happening in the bring up of the network. Bringing up of the network is a common step.
First of all, before increasing the DHCP stack size, I would like you to do a simple test and update us with the results-->
Can you write a new application with just two APIs wiced_init() and wiced_network_up() and then can check whether stack overflow happens or not?
I have attached the snapshot of the terminal and the code for your reference.
Thanks
Aditi