Wi-Fi Combo Forum Discussions
Hello.
I've found a bug in the i2c_transfer_message_no_dma function.
wiced 3.0.0, STM32F2, platform_i2c.c line 685.
The i2c transfert function reads one more byte than requested, making the cursor of my eeprom device I'm driving one byte ahead, making next sequencial read erroneous.
Existing code:
if ( i == ( message->rx_length - 1 ) )
{
/* setup NACK for the last byte to be received */
I2C_AcknowledgeConfig( i2c->port, DISABLE );
}
Replace with:
if(message->rx_length == 1) continue;
if ( i == ( message->rx_length - 2 ) )
{
/* setup NACK for the last byte to be received */
I2C_AcknowledgeConfig( i2c->port, DISABLE );
}
Test on SDK3.1.0:
Build and download image to device with below command:
make test.mfg_test-FreeRTOS-LwIP-BCM94390WCD2 download run
Then run below command on PC and got error message:
> wl4390A1.exe --serial 19 ver
6.30 RC0.0
rwl_read_serial_port failed: reached max retry limit.
query_info_fe: Reading CDC header failed
Error 1998 on query of driver dump
rwl_read_serial_port failed: reached max retry limit.
query_info_fe: Reading CDC header failed
wl4390A1.exe:
Error getting the last error
Did I miss something?
Show LessI have downloaded and uncompressed the SDK 3.1.1.
It is at /Applications/WICED/WICED-SDK-3.1.1
From the Eclipse IDE, I select "Import Project" and points it to /Applications/WICED/WICED-SDK-3.1.1
Eclipse does not import it, with the error message "No projects are found to import"
What am I doing wrong?
Show LessHi all,
I'am trying to use the WICED SDK 3.1.1 (OSX) with my STM32F4DIS-WIFI.
Eclipse and compilation is running OK. OpenOCD is also OK.
It seems however that the SN8200 used in this module is based on STM32F1x.
OpenOCD report :
Polling target stm32f2xxx.cpu failed, GDB will be halted. Polling again in 100ms
Info : JTAG tap: stm32f2xxx.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3)
Warn : JTAG tap: stm32f2xxx.cpu UNEXPECTED: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3)
Error: JTAG tap: stm32f2xxx.cpu expected 1 of 1: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)
Info : JTAG tap: stm32f2xxx.bs tap/device found: 0x06430041 (mfg: 0x020, part: 0x6430, ver: 0x0)
Warn : JTAG tap: stm32f2xxx.bs UNEXPECTED: 0x06430041 (mfg: 0x020, part: 0x6430, ver: 0x0)
Error: JTAG tap: stm32f2xxx.bs expected 1 of 1: 0x06411041 (mfg: 0x020, part: 0x6411, ver: 0x0)
CPUTAPID : 0x3ba00477 seems to identify F1x series
Every platforms definition in SDK tree are for F2x or F4x. Is there any configuration files for this module/CPU ?
Thanks,
BR,
Vince.
Show LessHi all,
First: I'm new to both Wiced & STM's processor lines - but have both targeted for my next project. Sorry if this is obvious.
My Question: Is there a way to run program code directly out of SPI flash? My program will incorporate WiFi and is likely going to be >512kB. It seems that the existing bootloader setup copies external NVM to internal NVM, and then boots from there, but it would be a lot simpler to just run out of external memory (yes, I can take the performance hit, and no, I don't mind writing custom OTA stuff). Further, we're trying to keep costs down, and the 128kB verisons of the STM32 line are much cheaper than the 1MB versions.
Thanks!
- Kevin
Show LessWe are new to the WICED platform and SDK. We are particulary interested in audio streaming over WiFi. From the research I have done it seems that the BCM9WCD1AUDIO is the best development board for us to start with.
I cannot seem to find this board stocked anywhere, is there anywhere I can buy it from ? I would also appreciate any recommendation for other boards that can help in this type of development.
Thanks,
Hisham
Show LessI just downloaded WICED WiFi 3.1.1. Is there any API function to communicate with the NFC functionality of the BCM43341? If not, how does one use that feature? Thanks
Show LessHi
I have developed a simple GPIO pin toggle program for SN8000 EVK module in Wiced SDK v.2.4.1 .
How can I port this code to another platform which uses the STM32F407 MCU ?
What all are the things that I have to take care while this platform porting in Wiced SDK ?
Regards
Show LessHi !!
I'm working with the BCM43362 and I send to another board 4 Bytes, in the 4th Byte I receive successively 4 Bytes as a response.
The problem is that I can only read the first Byte(because i receive only one IRq) and I don't find a function to access to the Rx Buffer. without checking the IRq
.
I'm actually using the function wiced_result_t wiced_uart_transmit_bytes( wiced_uart_t uart, const void* data, uint32_t size ) to transmits data and wiced_uart_receive_bytes( wiced_uart_t uart, void* data, uint32_t size, uint32_t timeout ).
Thanks for the help ^_^
Show Less