Wi-Fi Combo Forum Discussions
hello
after compiling any of the example apps
code is hanging after "creating Packet pools" massage
i am using the BCM94343WWCD1
in wiced studio 5.0.0.33 all worked fine.
Show LessI am beginner user at wiced and cypress .
I have a refrence board (BCM94390x) and installed wiced 6.0 . compiling and downloading was successful.
I wanted to play demo audio_player , headset and avs . but i don't know how can i test the demos.
where is the documents or the app for test.
Olny succesfull demow were audio_loopback and snip . those are no need to connnct server or contents porvider or phone .
Show LessI think we have cracked this cryptic puzzle.
Need to review the make_target_examples.txt file inside the DOC tree of the posted project.
Since we have purchased the CYW943907AEVAL1F Evaluation kit, the default example MAKE TARGET (top right side of the screen) are not applicable.
Select the New Make Target button (left circle/dartboard icon) -> cut & paste the full string copied from the above txt file to add this entry to build this code.
For example, snip.service_discovery-BCM943907WAE_1. Then double-click this new entry to build the code.
Show LessHi.
I installed wiced studio 6.0.
When you run the IDE, nothing appears on the left side of the Project Explorer.
When I installed the wiced-sdk 3.0 IDE, I found sample, platform .. in the Project Explorer section.
In wiced studio 6.0, the development board should be connected to the PC, but is it usable?
I want to know why nothing appears in the Project Explorer section.
I plan to use Murata Type 1LD (LBEE5PA1LD-005) / CYW43438.
Is there a development board for this chip?
Please help me.
Show LessI am using CYW 43907EVILF board. I am calling wiced_wifi_set_roam_trigger API with -99 value as argument. I expect WICED_SUCCESS in the return but it returns Error. Is this desired behavior? Or I am missing something? Thanks.
Show LessHi Gentlemen,
I made a project from email snip. Unfortunately it doesn’t work. I’ve tried with the BCM943907AEVAL1F board what I used in the WICED101 training. Unfortunately I couldn’t find any info on the community. The last question with the same problem was in 2013.
Made a little debug and it seems the error happens in ‘smtp.c’ file line:
VERIFY(SMTP_MORE_INFO, get_smtp_reply_code(&account->internal->smtp_socket, packet));
In the wiced_smtp_send function.
I inserted WPRINT_APP_INFO function after all possible error place:
WPRINT_APP_INFO(( "verifying smtp_socket\n" ));
VERIFY(WICED_SUCCESS, send_smtp_command(&account->internal->smtp_socket, buffer, (uint8_t) buffer_length, NULL, 0));
WPRINT_APP_INFO(( "send_smtp_command\n" ));
VERIFY(WICED_SUCCESS, receive_smtp_reply(&account->internal->smtp_socket, &packet, &reply, &length));
WPRINT_APP_INFO(( "receive_smtp_reply\n" ));
VERIFY(SMTP_MORE_INFO, get_smtp_reply_code(&account->internal->smtp_socket, packet));
// ! ! here the return value from get_smtp_reply_code is 501 instead of 334 that is why goes to exit
WPRINT_APP_INFO(( "get_smtp_reply_code\n" ));
.
.
.
My serial output is looks like this:
verifying smtp_socket
send_smtp_command
receive_smtp_reply
FAILED!
The last line came from email.c file send_email function:
if ( wiced_smtp_send( &account, &email ) == WICED_SUCCESS )
{
WPRINT_APP_INFO(( "success!\n" ));
}
else
{
WPRINT_APP_INFO(( "%x FAILED!\n" ));
}
So I don’t know what is the problem. I only made a gmail , and filled the necessary data in the code.
Could you help me please?
Many thanks in advance!
Have a nice day!
Show LessI spent yesterday and today trying to upgrade the SDK from 4.0 to 5.0 and it's been really frustrating. I'm still not done with the migration after 2 days.
1) Why does the IDE have to be bundled with the SDK? Installing a new IDE throws away all my previous customizations made in Eclipse, including code color, fonts, indentation rules, etc. I know I could port the new SDK back to the old IDE, but it's just painful and time-wasting. It also increases download time and disk requirements for installing
2) The new SDK breaks build (for example, there's an extra #define PLATFORM_FACTORY_RESET_TIMEOUT in wiced_waf_common.h what wasn't there before, breaking build), forcing us to update all platform files which otherwise wouldn't be necessary.
3) The Linux version of the SDK have all the line encodings in Windows-style. This is totally unacceptable. I have a bunch of patch files that modifies the SDK because it doesn't work right out of the box. The patch files won't work since in Linux, our patch files are checked out from Git with LF ending. We are constantly switching between Windows and Linux and we need to have a SDK that works equally well on all platforms.
4) I haven't been able to get the OpenOCD tool that came with the SDK 5.0 to work. It just segfaults in Eclipse and I still haven't figured out why.
I want to point out there are IDE+SDKs out there that work beautifully across updates. Android Studio for example updates SDK separately from your workspace and you don't have to mess with a lot of things. But even for starters, making sure your SDK works right out of the box should be the bare minimum.
Show LessI have installed the drivers for WIN7
I plug the tiny h into a BCM4343W_AVN sdk board with the JTAG connector added to the main board or into our custom board.
I run "valve-BCM94343W_AVN JTAG=Olimex_ARM-USB-TINY-H download download_apps run" for our custom software.
Downloading Bootloader ...
Building apps lookup table
"**** 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. ****"
Downloading WIFI_FIRMWARE ... at sector 1 size 88...
tools/makefiles/wiced_apps.mk:245: recipe for target 'WIFI_FIRMWARE_DOWNLOAD' failed
make.exe[1]: *** [WIFI_FIRMWARE_DOWNLOAD] Error 1
make.exe[1]: *** Waiting for unfinished jobs....
Makefile:220: recipe for target 'main_app' failed
make: *** [main_app] Error 2
Show LessHi,
We are building a product using an MCU which only have one SDIO port that we intent to use to serve both a WiFi interface and a eMMC chip.. We are therefore planing to use an Fairchild FSSD06 SDIO multiplexer. However, we are getting concerned that it might not work as SDIO interrupts using the SDIO_D1 line will be switched off from time to time when the SDIO interface is serving the memory card.
Reading in the documentation it's not clear whether this interrupt capability is mandatory or if the out-of-band interrupt can function in it's place? Also, looking in the various WWD_SDIO implementations, in the WICED SDK, it seems that the STM32F412 implementation doesn't implement this interrupt.
Anyone have any experience with this?
Cheers,
Mogens
Show LessI couldn't download a file larger than about 200KB using a secure WICED 5.2 connection, so I went back to your snip.https_client and created a simple program that replicated the problem on your BCM943907AEVAL1F board. The program downloads a 909,740 byte file and compares it to a previously saved file that is identical. This program successfully downloads every byte when built using WICED 5.1, but when using WICED 5.2, after about 200KB where the downloaded bytes exactly match the previously saved bytes, the downloaded bytes become different from the previously saved bytes. Using a terminal that displays 100 characters in the horizontal this is the console output:
WICED 5.1:
Starting WICED v5.1.0
Platform CYW943907AEVAL1F initialised
Started ThreadX v5.6
Initialising NetX_Duo v5.7_sp2
Creating Packet pools
WLAN MAC Address ****
WLAN Firmware : wl0: Jul 12 2017 14:22:51 version 7.15.168.90 (r665791) FWID 01-772425
WLAN CLM : API: 12.1 Data: 7.17.2 Compiler: 1.26.3 ClmImport: 1.26.12 Creation: 2015-01-10 11:06:18 Inc Data: 9.10.48 Inc Compiler: 1.31.3 Inc ClmImport: 1.36.3 Creation: 2017-07-12 14:21:10
Joining : ****
Successfully joined : ****
Obtaining IPv4 address via DHCP
DHCP CLIENT hostname WICED IP
IPv4 network ready IP: ****
Setting IPv6 link-local address
IPv6 network ready IP: ****
Resolving IP address of HTTPS server
Server is at ****
Getting '/'...
Read the certificate Key from DCT
About to Connect.
waiting for HTTP reply
One tick mark "|" is displayed for every packet downloaded.
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||
Server returned
WICED 5.2
Starting WICED vWiced_005.002.000.0022
Platform BCM943907AEVAL1F initialised
Started ThreadX v5.6
Initialising NetX_Duo v5.7_sp2
Creating Packet pools
WLAN MAC Address : ****
WLAN Firmware : wl0: Jul 21 2017 03:05:13 version 7.15.168.92 (r666012) FWID 01-772425
WLAN CLM : API: 12.2 Data: 9.10.49 Compiler: 1.31.3 ClmImport: 1.36.3 Creation: 2017-07-21 03:01:15
Joining : ***
Successfully joined : ****
Obtaining IPv4 address via DHCP
DHCP CLIENT hostname WICED IP
IPv4 network ready IP: ****
Setting IPv6 link-local address
IPv6 network ready IP: *****
Resolving IP address of HTTPS server
Server is at *****
Getting '/'...
Read the certificate Key from DCT
About to Connect.
waiting for HTTP reply
One tick mark "|" is displayed for every packet downloaded.
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||
Corrupted data found starting at byte number 196240. Displayed as Valid byte = Downloaded byte
E0=24 28=2A 40=9D 07=0F 08=4C 28=D2 3A=69 07=34 08=13 28=C1 3C=14 07=58 08=23 28=3E 3F=E0 07=28
08=40 28=07 3D=08 07=28 08=3A 28=07 3B=08 07=28 08=3C 28=07 3E=08 07=28 08=3F 68=07 41=08 07=28
08=3D 4F=07 EA=08 73=28 00=3B 80=07 EA=08 02=28 01=3E 01=07 F0=08 AA=68 31=41 4A=07 40=08 48=4F
...
Get failed: 4
i have attached the code where I removed our URLs, filenames and security keys and replaced them with ***, so you will need to fix that before the code will run.
Build using "make https_client-BCM943907AEVAL1F download download_apps run"
NOTE: I copied wiced_https_get() from libraries/protocols/HTTP/http.c and then modified it so that it would download a 909,740 byte file and compare that to an identical copy that was saved in APP1 using download_apps when the project was built. I also used an older version of https_client, because the version that came with WICED 5.2 could not connect at all. Although, in hindsight it looks to me like the problem with WICED 5.2's https_client is probably nothing more that a bad hard coded certificate.
Show Less