WICED™ Studio Forum Discussions
Browse the Community
Featured Discussions
Hi,
We uses Murata Type1LD and recently found an issue with 'malloc'. 'malloc' fails to allocate space even though heap has plenty of space. We checked heap status and it shows as below,
sbrk heap size: 206916
sbrk current free: 163832
malloc arena: 43084
malloc allocated: 42300
malloc free: 784
It seems like malloc does not uses all the available heap space (163KB free). We would like to know whether there is any way to configure Wiced (via ld file or any other method) to use all available heap space in malloc. It seems like Wiced uses FreeRTOS 'heap_3' implementation. Any help on this is highly appreciated
regards
SR
Show LessHi,
In my application I need to know what beacon period and DTIM interval are set for the AP that my device (CYW4343W in Type1DX with WICED 6.6) is connected to.
I'm calling wiced_get_bss_info to achieve that. Most of the time, it works fine, however, for some unknown reason it sometimes starts to fail and then fails continuously with the error code 2014 (Buffer too short).
What are the possible reasons for such error for this function ? How can I prevent that ? Is there any other way to get the beacon / DTIM information ?
Thanks for your support.
Best regards,
Mehdi
Test using SDK-5.1.0.
I tried below command but it fails.
> join_ent LAB-ENT-TEST peap testuser testpass wpa2␍␊
besl_supplicant_init OK␍␊
besl_supplicant_start OK␍␊
Joining : LAB-ENT-TEST␍␊
Supplicant received link event␍␊
Supplicant completed successfully␍␊
Failed to join : LAB-ENT-TEST␍␊
Joining : LAB-ENT-TEST␍␊
Failed to join : LAB-ENT-TEST␍␊
Joining : LAB-ENT-TEST␍␊
Failed to join : LAB-ENT-TEST␍␊
Join result 1007: ␍␊
wifi_join fails␍␊
Can someone confirm if BCM4343W and BCM43438 support enterprise security or not?
Show LessWe have found an issue within WICED Studio 6.6 where GKI_find_buf_start()
appears to be accessing an uninitized variable. We noticed that following a soft reset the RAM contents are not zeroed. Therefore GKI_find_buf_start() interpretation of the data leads to unpredicted behavior. The behavior tends to vary with changes to our application code, which is why we say it is unpredictable. However, the behaviour remains the same for each build. For example, in one case we found the BLE would not report the BTM_ENABLED_EVT following init.
Our temporary solution, given that fixing the GKI_find_buf_start()
function is not an option (black box), the only solution available was to ensure the data is initialised. The solution is then to write zeros in RAM during the initialisation sequence (_start()
), which fixes the issue.
/* Enable CPU Cycle counting */
CoreDebug->DEMCR |= CoreDebug_DEMCR_TRCENA_Msk; /* Global Enable for DWT */
DWT->CYCCNT = 0; /* Reset the counter */
DWT->CTRL |= DWT_CTRL_CYCCNTENA_Msk; /* Enable cycle counter */
// Reset whole RAM
memset((uint8_t *)SRAM1_BASE, 0, SRAM1_SIZE_MAX);
memset((uint8_t *)SRAM2_BASE, 0, SRAM2_SIZE);
Show Less
Hello,
I have questions about operation of HID Device.
I tried to test with two of laptops, it is different to operate on HID connection each laptops.
The SW information and test process are as below.
SW Information
- Chipset & EVK : CYW20706 & F1DC2076 EVB (made in F1media)
- WICED SDK version : WCIED 6.2.1
- Test application : HID Device
Test Process
- Connect from Windows PC to F1DC2706(CYW20706)
- Send the HID data.
- Result
#1) it seems that enter to sniff mode normally
Notebook (LG - 15U560)
- manufacturer : Intel Corporation
- F/W version : HCI 8.4096 / LMP 8.4096
- Driver provider : Intel Corporation
- Driver date : 2017-04-07
- Driver version : 19.60.0.3
#2) it seems that enter to sniff mode, but its connect/disconnect to SDP and RFCOMM repeatly,
and also enter/exit sniff mode repeatly by connect/disconnect.
Notebook (LG –15ZD980-GX50K)
- Manufacturer : Intel Corporation
- F/W version : HCI 8.256 / LMP 8.256
- Driver provider : Intel Corporation
- Driver date : 2017-05-04
- Driver version : 20.60.0.4
Snoop Log
- refer to attatched files. its name is written name of laptop.
Why is the different each for laptops? Does it problem of compability?
Or, am i missed anything that need to set?
I want to know why is the different to operate on HID connection.
Please, could you help me anybody who know?
Show Less
I am using a RS232 FTDI adapter to download a hello_sensor_app through the HCI interface. The communication goes fine and the minidriver is launched OK but the log file shows the module memory has a mistmatch in the bytes writen and read.
I append here the last lines of the log:
A total of 2 contiguous memory areas were filled:
[FF000000..FF000027] DATA (40 bytes)
[FF003000..FF01419B] DATA (70044 bytes)
Download config error trying to verify 40 bytes at address 0xFF000000 (SOURCE: CONFIG Configuration data build/hello_sensor-CYBT_343026_EVAL-rom-ram-Wiced-release/hello_sensor-CYBT_343026_EVAL-rom-ram-Wiced-release.hex) (Data mismatch at address 0xFF000000. Expected byte value 0x01 but device contains 0x66)
Please, help.
Thanks,
Show LessI want to wire a CYBT-353027-EVAL to the CODEC MAX 98090 via I2S running the Headset Demo Application.
Try #1: CYBT-353027 is I2S Master
I programmed the Headset app into the BT module and paired it to a cell phone. I wired the I2S to the MAX 98090 Eval Board. I started a music player on the phone. As a consequence, I can hear music in the earphones connected to the MAX 98090. I can also see that there is an I2S BCLK, I2S LRCLK and I2S Data going on using a Logic Analyzer. The LRCLK rate is 48 kHz.
I ended the music player app on the phone an initiated a phone call to another cell phone. The I2S BCLK and I2S LRCLK changed. The LRCLK is now running on 16 kHz. However, there is *nothing* to be seen on the SDIN and SDOUT lines. I disconnected the SDIN and SDOUT lines and, funny enough, there is a signal on the SDOUT line at least.
I assumed, it is pulled to low by the MAX 98090 CODEC.
So I decided to change the roles and make the CODEC the I2S master and the BT module the slave.
Try #2: MAX 98090 is I2S Master
I changed the source code to make the Headset Demo app configure the BT module as I2S Slave and set up the MAX 98090 as I2S master, running the LRCLK at 16 kHz with BCLK set to 64 x fs and an MCLK of 12 MHz.
I checked with the music player app on the phone - it works (although the sound is too loud and clipped).
I tried to make a phone call and again - nothing is on SDIN and SDOUT.
Question: Does this even work?
Which CODEC is recommended to use with the CYBT-353027 to get the I2S working in a bidirectional manner?
Show LessHi,
我想把hci_audio_gateway demo里的hci_ag_cfg_settings里的ble_scan_cfg.high_duty_scan_duration=0设置成永远都在high scan,但是测试下来以后,好像scan了一轮后就不scan了。如下是我的的配置。请帮我确认一下
Show Less
Hello,
I'm using CYW954907AEVAL1F board.
I'm looking foir a register enabling the programmation of the Wi-Fi Tx Power. I do not find this register in the documentation.
Is it possible?
Best regards
ecgb
Show Less