Wi-Fi Combo Forum Discussions
I am looking at the implementation of wiced_spi_init and wiced_spi_deinit and they are the same in wiced_platform_common.c... Is this a bug or design feature? I would have expected wiced_spi_deinit to call platform_spi_deinit and I would also have expected platform_spi_deinit to at least return WICED_SUCCESS if it has no current work to do.
Show LessHello,
I've found a couple watchdog-related issues in the WICED framework:
- Debug options are left set in the micro after regular "... download run" make targets are executed. For example, the DBGMCU_APB1_FZ_DBG_IWDEG_STOP bit in the DBGMCU->APB1FZ register. Counterintuitively, this means that the debug watchdog will be enabled even though the debugger is not connected, causing a breakpoint instruction to pause the board indefinitely instead of triggering a watchdog reset. (This may be limited to the STM32F2xx-based platforms, as those are the only ones I've been using.)
- When a custom watchdog timeout is specified by the application (APPLICATION_WATCHDOG_TIMEOUT_SECOND=...) the system-monitor period is set to this value minus 100ms, while the debug watchdog timeout is set to 90% of this value. This means that custom watchdog timeouts other than 1s will not work at all, and timeouts of 1s cause a race that is won by the debug-watchdog timer seemingly at random.
I'm not sure how to address item 1, but I suppose it has something to do with the commands sent to the micro through OpenOCD during programming / reset. Item 2 was fixed easily enough by making the system-monitor period 80% of the custom watchdog timeout period, though it was very difficult to find given that I had coincidentally set a custom watchdog timeout of 1s, and that it 'goes away' when the MCU's debug register options get cleared (e.g. after a POR reset).
Cheers!
Show LessHi,
I hit a strange wiced_tcp_create_socket hang up,
to make sure it's not the problem of my application.
I modify apps/snip/ping_powersave/ping_powersave.c to test this issue:
Add below lines to application_start(), just before the while loop to call send_ping().
WPRINT_APP_INFO(("create socket begin\r\n"));
wiced_tcp_socket_t socket;
wiced_tcp_create_socket(&socket, WICED_STA_INTERFACE);
wiced_tcp_delete_socket(&socket);
WPRINT_APP_INFO(("create socket end\r\n"));
It then hangup after print "create socket begin".
Started FreeRTOS v7.5.2
Initialising LwIP v1.4.0.rc1
WWD SoC/4390 interface initialised
WLAN MAC Address : 02:0A:F7:E3:A2:10
WLAN Firmware : wl0: Sep 1 2014 12:37:04 version 6.38.15 (TOB) (r496949)
Joining : phoenix
Successfully joined : phoenix
Obtaining IP address via DHCP
Network ready IP: 192.168.0.101
create socket begin
Can someone explain what's wrong here?
Thanks.
Show LessHello,
We are working on project for wireless data transfer(online video streaming full HD 1080p, File Transfer) from high speed SD Card (Read/write speed up to 90-100 Mbps).
In this case,Wifi module (data transfer rate up to 100 Mbps) is interfaced on SDIO of Processor & SD Card interfaced on MMC of Processor.
Can you suggest us suitable Wifi Module for online video streaming which has SDIO interface and data rate speed up to 100 Mbps?
Regards,
Ritul
* BCM943362WCD4 : Broadcom 43362-based WICED Module with STM32F205 MCU mounted on BCM9WCD1EVAL1
I want to change the mcu from stm32f205 to stm32f207, How can I do for this porting?
I found in directory WICED/MCU/STM32F2xx/GCC/ having STM32F2x5 and STM32F2x7,all ld file are same.
Show Less
Hi,
I am using Murata's SN8200 module and SDK-2.4.0. The board is configured as WICED_STA_DEVICE.
I am testing a modified version of tcp_async_server snippet. The server receives and sends packets to a client once in every 3 seconds. The data is not much (only 10 bytes per poll). The application was working fine for 2.5 continuous Days. Then after that the application gets hanged. I am not even able to ping it anymore. It completely stops working till a hard reset.
I faced this problem many times before. The application gets hanged after arbitrary time.
My problem is more or less similar to the following two posts . Only difference is my packet frequency is little less.
TCP server crashes if large amount of packets are being receaved
Hangup if quickly sending multiple requests to ping_webserver
I am using ThreadX + NetX_Duo build. Any help would be appreciated.
Thanks in Advance.
Show LessI'm starting to design a test hardware using BCM43362, however could not find a distributor who has them in stock. Is there a way to order a small qty of this IC for eveluation?
Show LessHi,
I'd like to know how to calculate the required stack size for a thread/worker_thread.
Also is there any method to know current memory usage? ( for debug memory leak )
BTW, the comment in http_server.c says /* printf requires 4K of stack */
is this true?
Doe that mean we should avoid using printf/sprintf in a thread/worker thread
if the stak size is less than 4K. (My test shows it seems ok to print someting even
the stack size is just 2K)
Thanks.
Show LessHi,
Im using
controller - stm32f407
chip -BCM43362
SDK-2.4.1
Im able to debug stm32f407 using Jlink JTAG in the Wiced IDE , does the IDE support jlink SWD?