Wi-Fi Combo Forum Discussions
What are the options to mitigate flow control error on SDIO bus when the radio is exposed to a large number of AP (>50)?
We have noticed performance issues when a client tries to connect to the softAP running on the module and the module itself is running a scan of the network with a large number of APs.
We are running WICED 6.x and we are hitting the following log:
WPRINT_MACRO(( "WWD Stats.. \n"
"tx_total:%ld, rx_total:%ld, tx_no_mem:%ld, rx_no_mem:%ld\n"
"tx_fail:%ld, no_credit:%ld, flow_control:%ld\n",
wwd_stats.tx_total, wwd_stats.rx_total, wwd_stats.tx_no_mem, wwd_stats.rx_no_mem,
wwd_stats.tx_fail, wwd_stats.no_credit, wwd_stats.flow_control ));
In the condition described the flow control would start to increase drastically via the wwd_stats.flow_control.
Is there a way we can prevent the scan to happen when we are already transmitting data? Can we configure the stack to have a better control over when the scan takes place?
Thank you in advance,
Show LessHi,
I've tried to carefully follow the Amazon FreeRTOS tutorial (https://www.cypress.com/training/using-amazon-freertos-cypress-cyw43907-and-cyw54907 )
When checking out commit dae01094 (dated 2019.07.08) as explained in the tutorial I get the following error message:
MAKEFILE MAKECMDGOALS=demo.aws_demo-CYW943907AEVAL1F-FreeRTOS-LwIP download run OTA2_SUPPORT is disabled
make.exe[1]: *** No rule to make target 'WICED/RTOS/FreeRTOS/../../../../../../vendors/cypress/freertos_thirdparty_port/GCC/Wiced_CY/portmacro.h', needed by 'build/demo.aws_demo-CYW943907AEVAL1F-FreeRTOS-LwIP/Modules/apps/demo/aws_demo/../../../../../../vendors/cypress/boards/CYW943907AEVAL1F/aws_demos/application_code/main.o'. Stop.
make.exe[1]: *** Waiting for unfinished jobs....
Building Bootloader waf.bootloader-NoOS-NoNS-CYW943907AEVAL1F-P103-SoC.43909
When checking out the tag 202002.00 (commit 987d9697 dated 2020.02.19) I get the following error message
(Same for tag 201912.00 (commit 8add5b91dated 2019.12.18))
MAKEFILE MAKECMDGOALS=demo.aws_demo-CYW943907AEVAL1F-FreeRTOS-LwIP download run OTA2_SUPPORT is disabled
make.exe[1]: *** No rule to make target 'apps/demo/aws_demo/../../../../../../freertos_kernel/include/FreeRTOS.h', needed by 'build/demo.aws_demo-CYW943907AEVAL1F-FreeRTOS-LwIP/Modules/apps/demo/aws_demo/../../../../../../vendors/cypress/boards/CYW943907AEVAL1F/aws_demos/application_code/main.o'. Stop.
make.exe[1]: *** Waiting for unfinished jobs....
What's goign on here??
Thanks
Show LessDear Sirs,
I realized that there are many "TODO" descriptions in the source code.
Are there any parts that are not described in official documents such as release notes and are not implemented yet ?
For Example,
libraries\protocols\HTTP_client\http_client.c(528): //TODO : Implement code to handle chunked encoding response.
If any exist, Do I need to check the comment content ?
Best Regards,
Sakagami
Show Less你好我是北京化工大学的一名学生
我在用CY8CKIT-062-WiFi-BT套件在做我的毕业设计
现在我在使用WICED下载例程的过程中遇到了麻烦。
我试图去按照CY8CKIT-062-WiFi-BT_Kit_Guide_Chinese去下载例程“snip.scan-CY8CKIT_062 download_apps download run”
结果出现了以下的error
Building apps lookup table
Downloading Bootloader ...
"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"
Downloading DCT ...
"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"
Downloading resources filesystem ... build/snip.scan-CY8CKIT_062/filesystem.bin at sector 1 size 96...
tools/makefiles/wiced_apps.mk:334: recipe for target 'FILESYSTEM_IMAGE_DOWNLOAD' failed
make.exe[1]: *** [FILESYSTEM_IMAGE_DOWNLOAD] Error 1
Makefile:351: recipe for target 'main_app' failed
make: *** [main_app] Error 2
我在运行make target时候已经更新PDL3.0.4,但是还是会遇到这个问题,这让我不知所措
希望大家能帮帮我这个新手
Show Less
Cypress Support Community:
Does anybody know where to find documentation that explains how WICED works?
For example: where is the API document for WICED_RTOS ?
If WICED_RTOS works well, why do we need to have either ThreadX or FreeRTOS options ?
Where is the document or API for "socket io" functions ?
Where is the document that explains how to perform a TLS handshake ?
Where are the documents that assist with connections to Azure ?
There are many more questions, but let's start with these.
Thanks, Garry Anderson.
Show LessCypress chipset CYW4373 is not associating with WSC 1.0 AP for the WPS-PIN method. Since the chipset is WSC 2.0 version is there any backward compatible issue? Can anyone help how to do WPS-PIN with WSC 1.0 AP. Do we need to do any specific changes in wps source code for this version compatibility
Show LessHello All,
We are using WICED on the 43907, and would like to be able to read the entire stack back trace from within our application (for memory debugging purposes). In other words, every time we call, say, malloc(), we would like to know not just who called it, but who called the caller etc. etc.
backtrace() does not seem to exist in the WICED world, and __builtin_return_address( 1 ) etc. (anything other than level 0) always returns a NULL pointer. Obviously the debugger is able to unwind the stack, but we don't want to set a breakpoint on malloc(). Does anyone have an easy way to do this? Thanks.
Show LessHi all,
We have a few different products based on WICED 6.2 which are in various stages of production. In trying to deliver a seamless wifi experience for the end customer, we're exploring different options, and I came across the function wiced_wifi_set_roam_trigger. My question is, how do we properly use this roaming feature? The info for the function in the header file states that the "device will search for a new AP to connect to once the signal from the AP drops below the roam trigger level". But there are no usage examples -- how does the search for a new AP get kicked off, where does it occur, etc.? We currently have some application level logic which goes through the 5 saved wifi networks in the DCT one by one until a successful connection is established.
.
Right now, we're simply following the apps.demo.temp_control example and setting the roam trigger to -99:
/* Disable roaming to other access points */
wiced_wifi_set_roam_trigger( -99 ); /* -99dBm ie. extremely low signal level */
We would like to enable this feature and are looking for additional information. This same question was asked by a user in this thread https://community.cypress.com/thread/7742?start=0&tstart=0 a few years ago but with no response.
Any guidance in this regard would be greatly appreciated. Thanks!
Show LessHello,
it seems that wiced_tls.c file has a memory leak issue when WICED_TLS_CLI_CACHE_SEEION is defined.
When new connection starts ip address is cached for future use and it is done by calling:
add_ssl_cache_entry
in this function dynamic memory is allocated with:
entry = (wiced_ssl_cache_entry *) calloc ( 1, sizeof(wiced_ssl_cache_entry ) );
This allocation part is fine, however the problem occurs whenever cached entry count reaches max defined entries:
if ( count > wiced_ssl_cache.max_entries )
In this if statement link list removes one entry as it should do, however it does not free previously allocated memory:
linked_list_remove_node_from_rear( &wiced_ssl_cache.cache_list, &removed_node );
Hello.
I want to get the SSID list in order of signal strength by referring to the file(ThreadX_NetX_Duo_Scan.c).
(1) How long does it take to get one list? (time per outer while)
When I tried, it was around 1.0 second.
(2) If there are many access points around, does this time increase?
(3)Will access points with strong signal strength be added to the list preferentially?
Thank you.
Show Less