Wi-Fi Combo Forum Discussions
Hi,
I am working with a CYW4343W and WICED Version: Wiced_006.004.000.0061
My Central application is behving as expected for most of the time, scanning for and connecting to a BLE Server, performing Service and Characteristic discovery, writing to the Server's CCCD, pairing and bonding etc. However, if I leave it to run for a few hours it will intermittently receive the BLE management callback event BTM_ENABLED_EVT with a value of WICED_TIMEOUT for p_event_data->enabled.status.
I have found that ignoring these WICED_TIMEOUT events ultimately results in one the of subsequent calles to a WICED BLE API function such as wiced_bt_gatt_send_discover() etc not returning, after which my application will hang awaiting the API call to return.
My short-term solution is to reset my device whenever the application receives BTM_ENABLED_EVT with a value of WICED_TIMEOUT. However, I would like to know what is the recommended procedure for handling such errors, please?
Also, what are the most likely causes of the BTM_ENABLED_EVT with a value of WICED_TIMEOUT, please?
Regards,
R
Show LessHello,
in a previous post
Solved: Re: Production programmer for CYW943907A - Cypress Developer Community
I ask if there is a cheaper production programmer for CYW943907A processor.
I bought ARM-USB-TINY-H but I have some difficulties to setup this programmer.
The README.txt file has some instructions :
1. I have to install drivers using Zadig ----> OK I installed drivers.
2. launch "openocd.exe -f ./interface/ftdi/olimex-arm-usb-tiny-h.cfg -f ./target/board_name.cfg"
I don't find my board in /scripts/target/ *.cfg files. Where I can find this ?
Show Less
Hello,
I've noticed that, when trying to send data continuously as fast as possible for several minutes, I end up hitting the following assertion "No chained buffers".
static err_t low_level_output( struct netif *netif, /*@only@*/ struct pbuf *p )
{
/*@-noeffect@*/
UNUSED_PARAMETER( netif );
/*@+noeffect@*/
if ( ( (wiced_interface_t) netif->state == WICED_ETHERNET_INTERFACE ) ||
( wwd_wifi_is_ready_to_transceive( (wwd_interface_t) netif->state ) == WWD_SUCCESS ) )
{
/* Take a reference to this packet */
pbuf_ref( p );
LWIP_ASSERT( "No chained buffers", ( ( p->next == NULL ) && ( ( p->tot_len == p->len ) ) ) );
wwd_network_send_ethernet_data( p, (wwd_interface_t) netif->state );
LINK_STATS_INC( link.xmit );
return (err_t) ERR_OK;
}
else
{
/* Stop lint warning about packet not being freed - it is not being referenced */ /*@-mustfree@*/
return (err_t) ERR_INPROGRESS; /* Note that signalling ERR_CLSD or ERR_CONN causes loss of connectivity on a roam */
/*@+mustfree@*/
}
}
Do you know what sort of problem would lead to that?
Thanks for your help,
Ben
Show LessHi,
We have problems setting up debugging.
We use WICED 6.4.0.61, and our debug target is STM32F427II on custom HW platform. We use WLAN CYW43362 chip next to STM.
We can program target with both Olimex ARM-USB-TINY-H and Segger J-link Ultra+ via Segger driver. RTOS is ThreadX.
Now we need to be able to debug the application. We are to single step until rtos is startet, then we stop at
Program received signal SIGTRAP, Trace/breakpoint trap.
0x08046356 in mbedtls_pem_read_buffer (ctx=0x0, header=<optimized out>, footer=<optimized out>, data=<optimized out>, pwd=0xc1 "\004", pwdlen=1414025796, use_len=0x0) at WICED/security/BESL/mbedtls_open/library/pem.c:330
330 return( MBEDTLS_ERR_PEM_ALLOC_FAILED );
Note, when not debugging, the application continue running.
Yours sincerely,
Anton
Show LessHi everyone,
I encountered the same problem as written in
https://community.cypress.com/t5/WICED-Studio-Wi-Fi-Combo/how-to-add-ST-link-support-in-WICED/m-p/72316
I am trying to program an Inventek ISM4343-WMB-L54 module (mounted on a custom PCB) with ST-link/v2 programmer from Wiced 6.2. I downloaded the Wiced patch from the Inventek website, walked through the solution here:
https://broadcomwiced-v8.hosted.jivesoftware.com/community/software-forums/wiced-wifi/wiced-wifi-forums/blog/2018/10/10/adding-st-link-support-in-wiced
I also added these rows to my platform.mk file as suggested on the forums
HOST_OPENOCD := scripts/target/stm32f4x_stlink
JTAG := scripts/interface/stlink-v2
and still geting the same OpenOCD errors as in the first link.
(the ST-link/V2 is recognised as a libusbK device - driver updated with Zadig)
The last entry form openocd_log.txt is the following:
Open On-Chip Debugger 0.10.0+dev-00227-g0d15c62 (2018-03-27-15:19)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
./tools/OpenOCD/stm32f4x.cfg:1: Error: Can't find swj-dp.tcl
in procedure 'script'
at file "embedded:startup.tcl", line 60
at file "./tools/OpenOCD/stm32f4x.cfg", line 1
Open On-Chip Debugger 0.10.0+dev-00227-g0d15c62 (2018-03-27-15:19)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Error: An adapter speed is not selected in the init script. Insert a call to adapter_khz or jtag_rclk to proceed.
Open On-Chip Debugger 0.10.0+dev-00227-g0d15c62 (2018-03-27-15:19)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Error: An adapter speed is not selected in the init script. Insert a call to adapter_khz or jtag_rclk to proceed.
I am really stuck with this problem, your help would be much appreciated.
Best regards,
nmate1988
Show Less
Hello, I am currently working on a project that will be using OTA2. I was starting by just trying to build and test via the provided `ota2_example`.
From following the guide provided in the documentation, I have built the ota2_extract application via
- `snip.ota2_extract-CYW954907AEVAL1F`
This is successful, however upon building the ota2_example with
- `snip.ota2_example-CYW954907AEVAL1F ota2_image download run`
The build fails with the following error
---------------------------------------------------------------------------------------------------------------------------------------
Creating Filesystem BCM94390x_targets.mk ...
Downloading DCT ... build/snip.ota2_example-CYW954907AEVAL1F/DCT.bin @ SFLASH_DCT_LOC=0x0020d000
./tools/common/Win32/mk_wicedfs32 build/snip.ota2_example-CYW954907AEVAL1F/filesystem.bin build/snip.ota2_example-CYW954907AEVAL1F/resources/Staging/
Creating Filesystem Done
Illegal division by zero at ./tools/text_to_c/sector_count.pl line 49.
Finished Building OTA2 Failsafe
Building apps lookup table
tools/makefiles/wiced_apps.mk:455: *** OTA2 Factory Reset Image Info File Not built!. Stop.
make.exe[1]: *** Waiting for unfinished jobs....
Makefile:351: recipe for target 'main_app' failed
make: *** [main_app] Error 2
---------------------------------------------------------------------------------------------------------------------------------------
This is with an unmodified example, so I'm not sure exactly what is going wrong here, but would appreciate any ideas.
Show Less
Hi,
After few researches on how to compile Fast Roaming for my CYW43455, i only found few informations on this post https://community.cypress.com/t5/WICED-Studio-Wi-Fi-Combo/11R-Fast-Roaming-support-on-CYW43455/m-p/121621 but it is not matching a lot with my case.
To summarize my case, we use the CYW43455 chip on a custom embedded system and for now, we are simply using the chip with the default given firmwares which are:
cyfmac43455-sdio.bin
cyfmac43455-sdio.clm_blob
The problem is that with the default firmwares, it seems that we can't use roaming natively. So my question is how can we rebuild a custom firmware for this chip for our particular case which is activating Fast Roaming feature?
Thanks you
Raphael
Show LessSince the following error occurred when the program was started, the problem has been resolved by taking the action described in [1].
************************************************** **
** ERROR: WLAN: could not download clm_blob file
** FATAL ERROR: system unusable, CLM blob file not found or corrupted.
************************************************** **
[1]Details of support
When the Wi-Fi FW was updated, an error occurred due to an inconsistency between the placement of memory sectors managed by the application and the placement of external Flash.
"RESOURCES_LOCATION ? = RESOURCES_IN_WICEDFS", the external Flash could not be updated, which resulted in the inconsistency.
Changed the setting to "RESOURCES_LOCATION ? = By changing the configuration to "RESOURCES_IN_DIRECT_RESOURCES", the error will not occur.
Because the build error occurred when the above settings were changed, added the following settings so that the LUT can be written to the external Flash.
-----
/tools/makefiles/standard_platform_targets.mk
#ifeq ($(RESOURCES_LOCATION),RESOURCES_IN_WICEDFS)
download: $(STRIPPED_LINK_OUTPUT_FILE) display_map_summary download_bootloader $(if $(findstring no_dct,$(MAKECMDGOALS)),,download_dct) APPS_LUT_DOWNLOAD
#else
#download: $(STRIPPED_LINK_OUTPUT_FILE) display_map_summary download_bootloader $(if $(findstring no_dct,$(MAKECMDGOALS)),,download_dct)
#endif
-----
[2] Confirmation
There is a confirmation of the behavior when the software with "RESOURCES_IN_DIRECT_RESOURCES" is updated against the module with "RESOURCES_IN_WICEDFS" set.
It works with the current configuration, but I'm not sure how WICED affects it, so I'm asking.
1. If you set "RESOURCES_IN_DIRECT_RESOURCES", the filesystem will be included in the application and no inconsistency will occur?
2. Update "RESOURCES_IN_DIRECT_RESOURCES" software to "RESOURCES_IN_WICEDFS" module.
If I update the software again in this state, is it correct that "FR_APP" will not be destroyed when updating to APP0 because the LUT of the external flash will not be changed?
Show LessDear Cypress / Infineon Team
Can you provide any instructions and software code to enable the CYW954907AEVAL1F eval board for Ethernet connection.
I was unable to find any information, instruction, code, or the Wiced 101 video tutorial to a CYW954907 to the external PHY chip BCM5241 for Wifi to Ethernet communications.
Thank you
Show Less