WICED™ Studio Forum Discussions
Browse the Community
Featured Discussions
Can the CYBT-353027-02 be used as an audio source, to work with A2DP sinks?
Are there any examples?
Are there any example projects implementing the CYBT-353027-02 for audio?
What stereo codec would be recommended?
Can the CYBT-353027-02 be used as a source to connect to generic headsets?
Thanks
Show Less
Hello,
I opened an old program to update my electronic card by reinstalling WICED Studio 6.6.1.
When attempting to program my card with JTAG , I received the following error message:
"Making snip.scan-BCM943362WCD4.bin
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 Application ...
"**** 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. ****"
Resetting target"
Could someone please explain the steps to install or test the setup correctly?
Show LessWe have been using WICED SDK for our FW application running on STM32 sensor hardware.
We use WICED to connect to WiFi AP.
Application uses HTTPS to connect to a Cloud application.
I did not see any reference of HTTPs proxy client in the SDK.
Is it supported in the SDK ?
Greetings,
We're having an issue connecting to SOME of our prototype hardware via Seger JLINK SWD mode. It works fine on some boards but not others. While I cannot yet rule out some manufacturing defect - if there is one its not revealed in a 3d x-ray of the PCBA.
Our problem is described in this thread [CYW43907] MCU JTAG Connect Fail but the answer is not very helpful other than we may be looking in the wrong direction.
To be clear, we're using a Murata 1GC module.
Build options are: JTAG=jlink-native JLINK_PATH="/usr/bin/" JLINK_EXE="JLinkExe" JLINK_INTERFACE=SWD download download_apps
Build machine is linux based - but replicated on a Windows 10 platform (with appropriate changes in above for windows machines.
Error text is:
****** Error: Cortex-A/R (connect): Failed to temporarily halting CPU for reading CP15 registers.
Cannot connect to target.
I've tried using JLinkExe from the command line, on a working target:
sean_fendt@ssf:~/src/tf0001$ JLinkExe -device CYW43907 -if SWD -speed 4000
SEGGER J-Link Commander V6.52e (Compiled Oct 16 2019 12:19:21)
DLL version V6.52e, compiled Oct 16 2019 12:19:11
Connecting to J-Link via USB...O.K.
Firmware: J-Link V9 compiled May 17 2019 09:50:41
Hardware version: V9.30
S/N: 59304943
License(s): GDB
VTref=3.354V
Type "connect" to establish a target connection, '?' for help
J-Link>connect
Device "CYW43907" selected.
Connecting to target via SWD
Found SW-DP with ID 0x5BA02477
CoreSight AP[0]: 0x44770002, APB-AP
ROMTbl 0 [0]: 00001003, CID: B105900D, PID:04-008BBC14 Cortex-R4
Found Cortex-R4 r1p4
4 code breakpoints, 4 data breakpoints
Debug architecture ARMv7.0
Data endian: little
Main ID register: 0x411FC144
I-Cache L1: 32 KB, 256 Sets, 32 Bytes/Line, 4-Way
D-Cache L1: 32 KB, 256 Sets, 32 Bytes/Line, 4-Way
TCM Type register: 0x00010001
MPU Type register: 0x00000800
System control register:
Instruction endian: little
Level-1 instruction cache disabled
Level-1 data cache disabled
MPU enabled
Branch prediction enabled
Memory zones:
[0]: Default (Default access mode)
[1]: APB-AP (AP0) (DMA like acc. in AP0 addr. space)
Cortex-R4 identified.
J-Link>q
And on a non-working target:
sean_fendt@ssf:~/src/tf0001$ JLinkExe -device CYW43907 -if SWD -speed 4000
SEGGER J-Link Commander V6.52e (Compiled Oct 16 2019 12:19:21)
DLL version V6.52e, compiled Oct 16 2019 12:19:11
Connecting to J-Link via USB...O.K.
Firmware: J-Link V9 compiled May 17 2019 09:50:41
Hardware version: V9.30
S/N: 59304943
License(s): GDB
VTref=3.353V
Type "connect" to establish a target connection, '?' for help
J-Link>connect
Device "CYW43907" selected.
Connecting to target via SWD
Found SW-DP with ID 0x5BA02477
CoreSight AP[0]: 0x44770002, APB-AP
ROMTbl 0 [0]: 00001003, CID: B105900D, PID:04-008BBC14 Cortex-R4
Found Cortex-R4 r1p4
4 code breakpoints, 4 data breakpoints
Debug architecture ARMv7.0
Found SW-DP with ID 0x5BA02477
CoreSight AP[0]: 0x44770002, APB-AP
ROMTbl 0 [0]: 00001003, CID: B105900D, PID:04-008BBC14 Cortex-R4
Found Cortex-R4 r1p4
4 code breakpoints, 4 data breakpoints
Debug architecture ARMv7.0
****** Error: Cortex-A/R (connect): Failed to temporarily halting CPU for reading CP15 registers.
Found SW-DP with ID 0x5BA02477
CoreSight AP[0]: 0x44770002, APB-AP
ROMTbl 0 [0]: 00001003, CID: B105900D, PID:04-008BBC14 Cortex-R4
Found Cortex-R4 r1p4
4 code breakpoints, 4 data breakpoints
Debug architecture ARMv7.0
Found SW-DP with ID 0x5BA02477
CoreSight AP[0]: 0x44770002, APB-AP
ROMTbl 0 [0]: 00001003, CID: B105900D, PID:04-008BBC14 Cortex-R4
Found Cortex-R4 r1p4
4 code breakpoints, 4 data breakpoints
Debug architecture ARMv7.0
****** Error: Cortex-A/R (connect): Failed to temporarily halting CPU for reading CP15 registers.
Cannot connect to target.
J-Link>q
I have the feeling something is on the edge of working, but so far I don't know what. Extensive experiments with strapping, reset timing, etc has not been revealing. Any thoughts on things to check would be helpful.
Show Less
I am trying get the Appliance App running with Wicedserial.exe. After building "demo.appliance-BCM943362WCD4 download run" successfully, and opening the Wicedserial utility which does not show "Starting WICED..." but instead just shows "Opening COM7...Connected".
On my mobile with WIFI turned on, I can see that "WICED Config" as shown connected in the 'WIFI Networks". However when I enter "192.168.0.1/config/device_settings.html" it gives the following message:
HTTP ERROR:504
Gateway Timeout
RequestURI=http://192.168.0.1/config/device_settings.html
Appreciate feedback on this.
Re:
Nilesh
Show LessHello,
I am trying to run the udp_transmit example included in the Wiced Studio SDK.
This works fine if no changes are applied.
However, I would like to use the Ethernet interface instead of the Wi-Fi interface.
Unfortunately, I am having troubles running it.
Description
In order to use the Ethernet interface instead of the Wi-Fi one, I modified the "/43xxx_Wi-Fi/apps/snip/udp_transmit/wifi_config_dct.h" as follows:
#define WICED_NETWORK_INTERFACE WICED_ETHERNET_INTERFACE
The target build command is:
snip.udp_transmit-CYW954907AEVAL1F-FreeRTOS-LwIP-debug download run
Problem
By running the application with this change, I get an exception in the Cypress board output terminal.
Starting WICED Wiced_006.006.001.0001
Platform CYW954907AEVAL1F initialised
Started FreeRTOS v9.0.0
WICED_core Initialized
Initialising LwIP v2.0.3
DHCP CLIENT hostname WICED IP
WLAN MAC Address : B8:D7:AF:4D:1E:D6
WLAN Firmware : wl0: Jul 20 2020 00:08:56 version 7.15.168.149 (21d266a) FWID 01-d4dbc762
WLAN CLM : API: 12.2 Data: 9.10.74 Compiler: 1.31.3 ClmImport: 1.36.3 Creation: 2020-07-20 00:01:06
=== EXCEPTION ===
Debug event (e.g. breakpoint)
DFSR : 0x00000000
DFAR : 0x00000000
IFSR : 0x00000002
IFAR : 0x004AED46
CPSR : 0x00000197
R0 : 0x00000003
R1 : 0x00000000
R2 : 0x00000000
R3 : 0x00000003
R4 : 0x04040404
R5 : 0x05050505
R6 : 0x06060606
R7 : 0x005356B0
R8 : 0x08080808
R9 : 0x09090909
R10 : 0x10101010
R11 : 0x11111111
R12 : 0x00000029
LR : 0x004AED46
=================
After debugging, it pointed to a missing definition of "WICED_USE_ETHERNET_INTERFACE".
What I did then is to uncomment the "WICED_USE_ETHERNET_INTERFACE" definition in "wiced_defaults.h".
However, by doing so I get the following build error message:
Compiling WICED_LwIP_Interface
WICED/network/LwIP/WICED/wiced_network.c: In function 'wiced_ip_driver_notify':
WICED/network/LwIP/WICED/wiced_network.c:933:24: error: implicit declaration of function 'platform_ethernet_start'; did you mean 'platform_hibernation_start'? [-Werror=implicit-function-declaration]
result = ( platform_ethernet_start( ) == PLATFORM_SUCCESS ) ? WICED_SUCCESS : WICED_ERROR;
^~~~~~~~~~~~~~~~~~~~~~~
platform_hibernation_start
WICED/network/LwIP/WICED/wiced_network.c:937:24: error: implicit declaration of function 'platform_ethernet_stop'; did you mean 'platform_tick_stop'? [-Werror=implicit-function-declaration]
result = ( platform_ethernet_stop( ) == PLATFORM_SUCCESS ) ? WICED_SUCCESS : WICED_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
platform_tick_stop
cc1.exe: all warnings being treated as errors
tools/makefiles/wiced_elf.mk:232: recipe for target 'build/snip.udp_transmit-CYW954907AEVAL1F-FreeRTOS-LwIP-debug/Modules/./WICED/network/LwIP/WICED/wiced_network.o' failed
make.exe[1]: *** [build/snip.udp_transmit-CYW954907AEVAL1F-FreeRTOS-LwIP-debug/Modules/./WICED/network/LwIP/WICED/wiced_network.o] Error 1
make.exe[1]: *** Waiting for unfinished jobs....
Makefile:351: recipe for target 'main_app' failed
make: *** [main_app] Error 2
Is there a way to run this demo application with the Ethernet interface?
Thanks for your help!
Show LessHello,
I am trying to run the ping_ethernet example included in the Wiced Studio SDK.
Unfortunately, I am having troubles running it.
Problem
I get an exception in the Cypress board output terminal. After debugging, it pointed to a missing definition of "WICED_USE_ETHERNET_INTERFACE".
What I did then is to uncomment the "WICED_USE_ETHERNET_INTERFACE" definition in "wiced_defaults.h".
However, by doing so I get the following build error message:
Compiling WICED_LwIP_Interface
WICED/network/LwIP/WICED/wiced_network.c: In function 'wiced_ip_driver_notify':
WICED/network/LwIP/WICED/wiced_network.c:933:24: error: implicit declaration of function 'platform_ethernet_start'; did you mean 'platform_hibernation_start'? [-Werror=implicit-function-declaration]
result = ( platform_ethernet_start( ) == PLATFORM_SUCCESS ) ? WICED_SUCCESS : WICED_ERROR;
^~~~~~~~~~~~~~~~~~~~~~~
platform_hibernation_start
WICED/network/LwIP/WICED/wiced_network.c:937:24: error: implicit declaration of function 'platform_ethernet_stop'; did you mean 'platform_tick_stop'? [-Werror=implicit-function-declaration]
result = ( platform_ethernet_stop( ) == PLATFORM_SUCCESS ) ? WICED_SUCCESS : WICED_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
platform_tick_stop
cc1.exe: all warnings being treated as errors
tools/makefiles/wiced_elf.mk:232: recipe for target 'build/snip.udp_transmit-CYW954907AEVAL1F-FreeRTOS-LwIP-debug/Modules/./WICED/network/LwIP/WICED/wiced_network.o' failed
make.exe[1]: *** [build/snip.udp_transmit-CYW954907AEVAL1F-FreeRTOS-LwIP-debug/Modules/./WICED/network/LwIP/WICED/wiced_network.o] Error 1
make.exe[1]: *** Waiting for unfinished jobs....
Makefile:351: recipe for target 'main_app' failed
make: *** [main_app] Error 2
Am I missing something to properly run this demo application?
Thanks for your help!
Show LessHi
I am running in SoFT AP mode. I get tcp socket drop frequently whenever throughput is high. I am trying to use wiced_tcp_register_callbacks to understand the socket drop reason. But I am not sure how to set the "tcp_disconnected_call" parameters.
Can you provide me an example?
Thanks,
Show Less
Hi Team,
we have upgraded Wiced_2.3 library to wiced_6.6 library, I used BCM9WCDUSI09 platform and 43362 chip.
I am getting continuously WWD_NO_CREDITS if I turned off power from router, so chip trying to connect with router every 5-6 second and after some trials wwd_sdpcm_get_packet_to_send() keeps returning WWD_NO_CREDITS forever.
This results in the SDPCM packets (in the send queue) never being transferred to the WLAN module. No further communication with the WLAN module is possible until a power cycle is performed.
This issue wasn't observed in Wiced_2.3 library it came after library upgradation.
Please help me where should I look for same, It would be great help for me If you guys could help me as soon as possible.
Below is my wiced environment information,
WLAN_CHIP := 43362
WLAN_CHIP_REVISION := A2
WLAN_CHIP_FAMILY := 43362
WLAN_FIRMWARE := 5_90_230_38
HOST_MCU:= STM32F2xx
Thanks
Kaushal Panchal.