Browse the Community
AIROC™ Wi-Fi and Wi-Fi Bluetooth Combos
AIROC™ Wi-Fi MCUs
AIROC™ Bluetooth
Recent discussions
I'm using a CYW43012 as part of Murata's LBEE59B1LV module. In our product, we need to reduce the transmit power of the CYW43012 to account for the antenna gain.
When using the Manufacturing Test firmware (wl0: Sep 1 2021 22:28:20 version 13.10.271.273 (9278a67 CY WLTEST) FWID 01-d304ce6e) , I can see that changes to maxp2ga0 and agbg0 are reflected in the output of running "wl curpower". When I perform an active scan using "iw", these settings do not seem to affect the output power of the device.
Details of the firmware, and the NVRAM dump:
# wl ver
wl0: Sep 1 2021 22:28:20 version 13.10.271.273 (9278a67 CY WLTEST) FWID 01-d304ce6e
# wl nvram_dump | grep -e "maxp2ga0" -e "agbg0"
agbg0=0x82
maxp2ga0=0x44
wl indicates that these changes are taking effect, e.g. the agbg0 setting is correctly being handled as a 2.5dB gain on the antenna:
# wl curpower | (head; tail -n 4)
Power Control: On, HW
Current Channel: 1
BSS Channel: 0/5
BSS Local Max: 0.0 dBm
BSS Local Constraint: 0.0 dB
Channel Width: 20MHz
User Target: 31.75 dBm
SROM Antgain 2G: 2.50 dB
SROM Antgain 5G: 0.0 dB
SAR: -32.0 dB
Maximum Power Target among all rates:15.50
Last est. power : 0.00
Power Target for the current rate :10.00
Last adjusted est. power : 0.00
An example use of iw to scan in a specific channel (which we then observe using a spectrum analyzer)
# iw dev wlan0 scan freq 2412 > /dev/null
Expected behaviour:
Changing the antenna gain the NVRAM file (i.e. by adjusting agbg0) will adjust the transmit power when performing an active scan.
Observed behaviour:
No change in transmit power.
Questions:
- Is the contents of the CLM blob overriding these settings?
- If so, how can we adjust the CLM blob?
Dear Sir,
When I do iperf test, the error is shown.
After the error message is shown, we will not use "wl" command.
What is mean for " brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110"?
The issue is not easy duplication.
Do you have any suggestions?
/ # wlverver ver
[ 581.340899] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
wl: wl driver adapter not found
/ # Jan 1 00:09:41 buildroot user.err kernel: [ 581.340899] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
/ #
/ # dmesg | grep brcm
[ 25.393879] brcmfmac: F1 signature read @0x18000000=0x172d4355
[ 25.400201] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac54591-sdio for chip BCM4355/13
[ 25.412474] brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (ret=-2), device will use ./cypress/cyfmac54591-sdio.txt
[ 25.638103] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac54591-sdio for chip BCM4355/13
[ 25.653364] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4355/13 wl0: Jan 21 2022 04:45:03 version 13.35.266 (1c22d4b CY WLTEST) FWID 01-f09288b2
[ 25.671658] brcmfmac: brcmf_pktfilter_add_remove: add packet filter failed, ret=-23
[ 55.393850] brcmfmac: brcmf_cfg80211_vndr_cmds_dcmd_handler: oversize return buffer 130048
[ 324.316897] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[ 581.340899] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
/ #
/ #
/ # / # dmesg | grep brcmfmcac
[ 25.393879] brcmfmac: F1 signature read @0x18000000=0x172d4355
[ 25.400201] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac54591-sdio for chip BCM4355/13
[ 25.412474] brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (ret=-2), device will use ./cypress/cyfmac54591-sdio.txt
[ 25.638103] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac54591-sdio for chip BCM4355/13
[ 25.653364] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4355/13 wl0: Jan 21 2022 04:45:03 version 13.35.266 (1c22d4b CY WLTEST) FWID 01-f09288b2
[ 25.671658] brcmfmac: brcmf_pktfilter_add_remove: add packet filter failed, ret=-23
[ 55.393850] brcmfmac: brcmf_cfg80211_vndr_cmds_dcmd_handler: oversize return buffer 130048
/ #
/ #
/ # lsmod
Module Size Used by Tainted: G
brcmfmac 323584 0
brcmutil 20480 1 brcmfmac
cfg80211 393216 1 brcmfmac
compat 16384 2 brcmfmac,cfg80211
rfkill 20480 1 cfg80211
/ #
/ #
/ # top
Mem: 59912K used, 40084K free, 616K shrd, 11528K buff, 29548K cached
CPU: 0% usr 4% sys 0% nic 95% idle 0% io 0% irq 0% sirq
Load average: 0.00 0.00 0.00 1/59 265
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
265 175 root R 2796 3% 5% top
150 1 root S 76116 76% 0% /usr/bin/util_svc -b
126 1 root S 3196 3% 0% /sbin/mdev -df
175 1 root S 2932 3% 0% -/bin/sh
1 0 root S 2796 3% 0% init
158 1 root S 2796 3% 0% klogd
160 1 root S 2796 3% 0% syslogd -O /dev/ttyS1
165 1 root S 2796 3% 0% /usr/sbin/telnetd -F
251 1 root S 2796 3% 0% udhcpc -i wlan0
148 1 root S 2300 2% 0% /usr/bin/ipcbind -b
153 1 root S 2252 2% 0% /usr/bin/camctrlserver
197 2 root IW< 0 0% 0% [kworker/u9:1-br]
30 2 root IW 0 0% 0% [kworker/0:1-mm_]
106 2 root IW< 0 0% 0% [kworker/0:1H-kb]
9 2 root SW 0 0% 0% [ksoftirqd/0]
27 2 root IW< 0 0% 0% [kworker/3:0H-kb]
56 2 root IW< 0 0% 0% [kworker/u9:0-br]
10 2 root RW 0 0% 0% [rcu_preempt]
31 2 root IW 0 0% 0% [kworker/3:1-mm_]
105 2 root IW 0 0% 0% [kworker/0:2-eve]Mem: 59952K used, 40044K free, 616K shrd, 11528K buff, 29548K cached
CPU: 0% usr 0% sys 0% nic 100% idle 0% io 0% irq 0% sirq
Load average: 0.00 0.00 0.00 1/59 265
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
150 1 root S 76116 76% 0% /usr/bin/util_svc -b
126 1 root S 3196 3% 0% /sbin/mdev -df
175 1 root S 2932 3% 0% -/bin/sh
265 175 root R 2932 3% 0% top
1 0 root S 2796 3% 0% init
158 1 root S 2796 3% 0% klogd
160 1 root S 2796 3% 0% syslogd -O /dev/ttyS1
165 1 root S 2796 3% 0% /usr/sbin/telnetd -F
251 1 root S 2796 3% 0% udhcpc -i wlan0
148 1 root S 2300 2% 0% /usr/bin/ipcbind -b
153 1 root S 2252 2% 0% /usr/bin/camctrlserver
197 2 root IW< 0 0% 0% [kworker/u9:1-br]
30 2 root IW 0 0% 0% [kworker/0:1-eve]
106 2 root IW< 0 0% 0% [kworker/0:1H-kb]
9 2 root SW 0 0% 0% [ksoftirqd/0]
27 2 root IW< 0 0% 0% [kworker/3:0H-kb]
56 2 root IW< 0 0% 0% [kworker/u9:0-br]
10 2 root IW 0 0% 0% [rcu_preempt]
31 2 root IW 0 0% 0% [kworker/3:1-mm_]
105 2 root IW 0 0% 0% [kworker/0:2-eve]Mem: 59952K used, 40044K free, 616K shrd, 11528K buff, 29548K cached
CPU: 0% usr 0% sys 0% nic 99% idle 0% io 0% irq 0% sirq
Load average: 0.00 0.00 0.00 1/59 265
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
265 175 root R 2932 3% 0% top
150 1 root S 76116 76% 0% /usr/bin/util_svc -b
126 1 root S 3196 3% 0% /sbin/mdev -df
175 1 root S 2932 3% 0% -/bin/sh
1 0 root S 2796 3% 0% init
158 1 root S 2796 3% 0% klogd
160 1 root S 2796 3% 0% syslogd -O /dev/ttyS1
165 1 root S 2796 3% 0% /usr/sbin/telnetd -F
251 1 root S 2796 3% 0% udhcpc -i wlan0
148 1 root S 2300 2% 0% /usr/bin/ipcbind -b
153 1 root S 2252 2% 0% /usr/bin/camctrlserver
197 2 root IW< 0 0% 0% [kworker/u9:1-br]
30 2 root IW 0 0% 0% [kworker/0:1-eve]
106 2 root IW< 0 0% 0% [kworker/0:1H-kb]
9 2 root SW 0 0% 0% [ksoftirqd/0]
27 2 root IW< 0 0% 0% [kworker/3:0H-kb]
56 2 root IW< 0 0% 0% [kworker/u9:0-br]
10 2 root IW 0 0% 0% [rcu_preempt]
31 2 root IW 0 0% 0% [kworker/3:1-mm_]
105 2 root IW 0 0% 0% [kworker/0:2-eve]Mem: 59952K used, 40044K free, 616K shrd, 11528K buff, 29548K cached
CPU: 0% usr 0% sys 0% nic 100% idle 0% io 0% irq 0% sirq
Load average: 0.00 0.00 0.00 1/59 265
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
150 1 root S 76116 76% 0% /usr/bin/util_svc -b
126 1 root S 3196 3% 0% /sbin/mdev -df
175 1 root S 2932 3% 0% -/bin/sh
265 175 root R 2932 3% 0% top
1 0 root S 2796 3% 0% init
158 1 root S 2796 3% 0% klogd
160 1 root S 2796 3% 0% syslogd -O /dev/ttyS1
165 1 root S 2796 3% 0% /usr/sbin/telnetd -F
251 1 root S 2796 3% 0% udhcpc -i wlan0
148 1 root S 2300 2% 0% /usr/bin/ipcbind -b
153 1 root S 2252 2% 0% /usr/bin/camctrlserver
197 2 root IW< 0 0% 0% [kworker/u9:1-br]
30 2 root IW 0 0% 0% [kworker/0:1-eve]
106 2 root IW< 0 0% 0% [kworker/0:1H-kb]
9 2 root SW 0 0% 0% [ksoftirqd/0]
27 2 root IW< 0 0% 0% [kworker/3:0H-kb]
56 2 root IW< 0 0% 0% [kworker/u9:0-br]
10 2 root IW 0 0% 0% [rcu_preempt]
31 2 root IW 0 0% 0% [kworker/3:1-mm_]
105 2 root IW 0 0% 0% [kworker/0:2-eve]
/ #
/ #
/ #
/ # ps
PID USER COMMAND
1 root init
2 root [kthreadd]
3 root [rcu_gp]
4 root [rcu_par_gp]
7 root [kworker/u8:0-ev]
8 root [mm_percpu_wq]
9 root [ksoftirqd/0]
10 root [rcu_preempt]
11 root [migration/0]
12 root [cpuhp/0]
13 root [cpuhp/1]
14 root [migration/1]
15 root [ksoftirqd/1]
16 root [kworker/1:0]
17 root [kworker/1:0H]
18 root [cpuhp/2]
19 root [migration/2]
20 root [ksoftirqd/2]
21 root [kworker/2:0]
22 root [kworker/2:0H]
23 root [cpuhp/3]
24 root [migration/3]
25 root [ksoftirqd/3]
27 root [kworker/3:0H-kb]
28 root [kdevtmpfs]
29 root [rcu_tasks_kthre]
30 root [kworker/0:1-eve]
31 root [kworker/3:1-mm_]
32 root [oom_reaper]
33 root [writeback]
34 root [kcompactd0]
41 root [cryptd]
54 root [kblockd]
55 root [rpciod]
56 root [kworker/u9:0-br]
57 root [xprtiod]
103 root [kswapd0]
104 root [nfsiod]
105 root [kworker/0:2-eve]
106 root [kworker/0:1H-kb]
107 root [kworker/0:2H]
108 root [kworker/3:1H]
126 root /sbin/mdev -df
148 root /usr/bin/ipcbind -b
150 root /usr/bin/util_svc -b
153 root /usr/bin/camctrlserver
158 root klogd
160 root syslogd -O /dev/ttyS1
165 root /usr/sbin/telnetd -F
166 root [kworker/u8:1]
175 root -/bin/sh
188 root [cfg80211]
189 root [brcmf_wq/mmc0:0]
190 root [brcmf_wdog/mmc0]
197 root [kworker/u9:1-br]
203 root [kworker/3:2]
251 root udhcpc -i wlan0
266 root ps
In the document AIROC-HCI-Firmware-Download.pdf, it states that the main ROM/Flash only supports the 'Read memory', 'Write memory' and 'Launch' commands.
What are the supported commands in the minidriver?
- CRC32
- Baud change
- Chip erase
See: section 4.
The mini-driver image is 9kB on my platform, but I only need to perform a crc32 to determine if the image needs to be updated. I think this can be implemented in <1kB, if it is not table driven. Can I write my own code to run at the minidriver address, perform a CRC32, store the result and then return to the ROM code to read the result?
Show Less
Hi,
I was trying to flash AIROC™ Bluetooth module CYBLE343072 Using FTDI USB-UART bridge while I tried to flash it showing the error
Programming target device ...
Found serial port : COM43
Downloading FW ...
Failed to determine baud rate
Download failed
If the serial port was not detected, make sure no other program such as Client Control has the port open.
If you have issues downloading to the kit, follow the steps below:
Press and hold the 'Recover' button on the kit.
Press and hold the 'Reset' button on the kit.
Release the 'Reset' button.
After one second, release the 'Recover' button.
make[1]: *** [../mtb_shared/wiced_btsdk/dev-kit/baselib/20835B1/release-v3.3.0/COMPONENT_20835B1/make/recipe/program.mk:102: qprogram] Error 1
make: *** [../mtb_shared/core-make/release-v1.9.0/make/core/main.mk:434: secondstage_build] Error 2
Even though I tried recover reset method same error it getting. Can you suggest me to sort out this error.
Show LessHi cypress team,
I am working on CYBT-343026 with SPP sample code. we'd like to improve SPP throughput, how can we tune the parameters within wiced_bt_l2cap_cfg_information_t based on SPP example code
Thanks
Show LessHi,
I initialize pUART like below:
wiced_set_debug_uart( WICED_ROUTE_DEBUG_NONE );
wiced_hal_puart_init();
wiced_hal_puart_select_uart_pads( PUART_RX_PIN, PUART_TX_PIN, 0, 0);
/* Set flow control */
wiced_hal_puart_flow_off();
/* BEGIN - puart interrupt */
wiced_hal_puart_reset_puart_interrupt();
wiced_hal_puart_register_interrupt(puart_rx_interrupt_callback);
/* Turn on Tx */
wiced_hal_puart_enable_tx();
it's work fine, but I am curious about is it possible to disablede-initialize) pUART Rx?
I find pUART Tx disable/enable , Rx enable API in wiced_hal_puart.h
, but no Rx disable.
thanks.
Show LessHi,
am trying to design a development board with a CYBT343072 module. I am trying to remove the need for a programmer on this board. So that the user could simply plug in a usb cable and be able to communicate with the chip and boot it.
How can I use an FTDI usb to serial chip to do the programming? what are the steps i need to take change that in modustoolbox ide.
Show LessHI ,
Does 4373 support signaling testing ?
Best Regards,
Howard
Hi Sir,
please provide 4373 BT BTP file for testing
thanks.
Best Regards,
Howard