4 Replies Latest reply on Jul 13, 2016 10:46 AM by vens

    1DX - BCM4343W Carrier wave transmit using WL: internal firmware error

    bart.cerneels

      When trying to generate a continues carrier wave for EMC testing the firmware version 7.45.41.24 (r608913 WLTEST) seems to crash. Below is the full log, with some additional contents.

      The last wl command executed is:

      wl fqacurcy 6

      After which it reports a response time-out. In dmesg a stacktrace is printed by the bcmdhd linux driver that it seems to have received from the module's firmware.

       

      This is blocking testing and EMC release of our product. So far no resolution was found in communications with murata. We have not had confirmation the used commands and firmware work on other hardware.

       

       

      Full log:

      root@nxt_display:~# dmesg

      Reduced for readability

       

      [    1.844518] dhd_module_init in

       

      [    1.845045] Power-up adapter 'DHD generic adapter'

      [    1.880565] wifi_platform_bus_enumerate device present 1

      [    1.914148] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x3

      [    1.921369] DHD: dongle ram size is set to 524288(orig 524288) at 0x0

      [    1.925964] wifi_platform_get_mac_addr

      [    1.926194] CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211)

      [    1.932219] wl_create_event_handler(): thread:wl_event_handler:9e started

      [    1.932571] CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0x8a86141c

      [    1.940289] dhd_attach(): thread:dhd_watchdog_thread:9f started

      [    1.948561] dhd_attach(): thread:dhd_dpc:a0 started

      [    1.948581] dhd_deferred_work_init: work queue initialized

      [    2.060936] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

      [    2.118007] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)

      [    2.119608] dhd_preinit_ioctls : Set IOCTL response time for Manufactring Firmware

      [    2.119615] wifi_platform_get_mac_addr

      [    2.121152] Firmware up: op_mode=0x0200, MAC=00:ae:fa:3c:0c:f0

      [    2.124552] random: nonblocking pool is initialized

      [    2.151054] Firmware version = wl0: Apr  6 2016 21:06:48 version 7.45.41.24 (r608913 WLTEST) FWID 01-78a5548e

      [    2.152433] dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79

      [    2.153188] dhd_wlfc_init(): wlfc_mode=0x0, ret=-23

      [    2.154077]

      Dongle Host Driver, version 1.141.72 (r)

      Compiled from

      [    2.154751] Register interface [wlan0]  MAC: 00:ae:fa:3c:0c:f0

       

       

      root@nxt_display:~# dmesg -C

       

      root@nxt_display:~# wl ver

      1.107 RC5.0

      wl0: Apr  6 2016 21:06:48 version 7.45.41.24 (r608913 WLTEST) FWID 01-78a5548e

      root@nxt_display:~# wl down

      root@nxt_display:~# wl country ALL

      root@nxt_display:~# wl band b

      root@nxt_display:~# wl mpc 0

      root@nxt_display:~# wl up

      root@nxt_display:~# wl out

      root@nxt_display:~# wl fqacurcy 6

      wl:

      Error getting the last error

       

       

      root@nxt_display:~# dmesg

       

      [  198.047351] INTERNAL ERROR: FIRMWARE HALTED : set BUS DOWN

      [  198.051646] CONSOLE: le_probe_req: state down, deferring setting of host flags

      [  198.051674] CONSOLE: 000196.006 AXI timeout; APB Bridge 0

      [  198.051705] CONSOLE: 000196.006   errlog: lo 0x180013fe, hi 0x00000000, id 0x00040004, flags 0x00000100, status 0x00000002

      [  198.051722] CONSOLE: 000196.006

      [  198.051739] CONSOLE: FWID 01-78a5548e

      [  198.051754] CONSOLE: flags 1

      [  198.051769] CONSOLE: 000196.006

      [  198.051793] CONSOLE: TRAP 3(7fb18): pc 22140, lr 2330b, sp 7fb6c, cpsr 60000003, spsr 61000010

      [  198.051821] CONSOLE: 000196.006   r0 76ea4, r1 456, r2 0, r3 18001000, r4 76ea4, r5 7fbf0, r6 7fd20

      [  198.051846] CONSOLE: 000196.006   r7 20, r8 0, r9 3a, r10 7fd20, r11 7fd20, r12 37968

      [  198.051862] CONSOLE: 000196.007

      [  198.051882] CONSOLE:    sp+0 00076ea4 00000456 00000000 18001000

      [  198.051904] CONSOLE: 000196.007   sp+10 00037968 0002330b 00022140 61000010

      [  198.051919] CONSOLE:

      [  198.051936] CONSOLE: 000196.007 sp+14 0002330b

      [  198.051954] CONSOLE: 000196.007 sp+2c 00000457

      [  198.051972] CONSOLE: 000196.007 sp+54 0002806b

      [  198.051991] CONSOLE: 000196.007 sp+5c 00000457

      [  198.052008] CONSOLE: 000196.007 sp+64 00027fed

      [  198.052025] CONSOLE: 000196.007 sp+70 00027fed

      [  198.052044] CONSOLE: 000196.007 sp+74 00028591

      [  198.052061] CONSOLE: 000196.007 sp+7c 0002336b

      [  198.052078] CONSOLE: 000196.007 sp+98 00027fed

      [  198.052096] CONSOLE: 000196.007 sp+9c 0002d203

      [  198.052112] CONSOLE: 000196.007 sp+a8 00027fed

      [  198.052130] CONSOLE: 000196.007 sp+bc 0002860f

      [  198.052147] CONSOLE: 000196.007 sp+c4 00000457

      [  198.052164] CONSOLE: 000196.007 sp+e4 000290b1

      [  198.052182] CONSOLE: 000196.007 sp+174 00025c41

      [  198.052199] CONSOLE: 000196.007 sp+184 000291f9

      [  198.052229] dhdsdio_checkdied: msgtrace address : 0x00000000

      console address  : 0x0007DEBC

      Assrt not built in dongle

      Dongle trap type 0x3 @ epc 0x22140, cpsr 0x60000003, spsr 0x61000010, sp 0x7fb6c,lp 0x2330b, rpc 0x22140 Trap offset 0x7fb18, r0 0x76ea4, r1 0x456, r2 0x0, r3 0x18001000, r4 0x76ea4, r5 0x7fbf0, r6 0x7fd20, r7 0x20

      [  198.052369] dhdsdio_dpc: failed backplane access over SDIO, halting operation

      [  214.911054] dhd_bus_rxctl: resumed on timeout, INT status=0x00000002

      [  214.915242] CONSOLE: le_probe_req: state down, deferring setting of host flags

      [  214.915271] CONSOLE: 000196.006 AXI timeout; APB Bridge 0

      [  214.915306] CONSOLE: 000196.006   errlog: lo 0x180013fe, hi 0x00000000, id 0x00040004, flags 0x00000100, status 0x00000002

      [  214.915327] CONSOLE: 000196.006

      [  214.915343] CONSOLE: FWID 01-78a5548e

      [  214.915359] CONSOLE: flags 1

      [  214.915376] CONSOLE: 000196.006

      [  214.915403] CONSOLE: TRAP 3(7fb18): pc 22140, lr 2330b, sp 7fb6c, cpsr 60000003, spsr 61000010

      [  214.915432] CONSOLE: 000196.006   r0 76ea4, r1 456, r2 0, r3 18001000, r4 76ea4, r5 7fbf0, r6 7fd20

      [  214.915459] CONSOLE: 000196.006   r7 20, r8 0, r9 3a, r10 7fd20, r11 7fd20, r12 37968

      [  214.915475] CONSOLE: 000196.007

      [  214.915497] CONSOLE:    sp+0 00076ea4 00000456 00000000 18001000

      [  214.915521] CONSOLE: 000196.007   sp+10 00037968 0002330b 00022140 61000010

      [  214.915536] CONSOLE:

      [  214.915555] CONSOLE: 000196.007 sp+14 0002330b

      [  214.915576] CONSOLE: 000196.007 sp+2c 00000457

      [  214.915594] CONSOLE: 000196.007 sp+54 0002806b

      [  214.915613] CONSOLE: 000196.007 sp+5c 00000457

      [  214.915632] CONSOLE: 000196.007 sp+64 00027fed

      [  214.915650] CONSOLE: 000196.007 sp+70 00027fed

      [  214.915668] CONSOLE: 000196.007 sp+74 00028591

      [  214.915686] CONSOLE: 000196.007 sp+7c 0002336b

      [  214.915705] CONSOLE: 000196.007 sp+98 00027fed

      [  214.915723] CONSOLE: 000196.007 sp+9c 0002d203

      [  214.915741] CONSOLE: 000196.007 sp+a8 00027fed

      [  214.915759] CONSOLE: 000196.007 sp+bc 0002860f

      [  214.915779] CONSOLE: 000196.007 sp+c4 00000457

      [  214.915798] CONSOLE: 000196.007 sp+e4 000290b1

      [  214.915816] CONSOLE: 000196.007 sp+174 00025c41

      [  214.915833] CONSOLE: 000196.007 sp+184 000291f9

      [  214.915863] dhdsdio_checkdied: msgtrace address : 0x00000000

      console address  : 0x0007DEBC

      Assrt not built in dongle

      Dongle trap type 0x3 @ epc 0x22140, cpsr 0x60000003, spsr 0x61000010, sp 0x7fb6c,lp 0x2330b, rpc 0x22140 Trap offset 0x7fb18, r0 0x76ea4, r1 0x456, r2 0x0, r3 0x18001000, r4 0x76ea4, r5 0x7fbf0, r6 0x7fd20, r7 0x20

      [  214.915967] dhd_bus_rxctl: rxcnt_timeout=1, rxlen=0

      [  214.915998] dhd_wl_ioctl: 'resumed on timeout' error is occurred before the interface does not bring up

        • 1. Re: 1DX - BCM4343W Carrier wave transmit using WL: internal firmware error
          mifo

          Moving to the i.MX 6UltraLite with 1DX forum and adding the Murata Linux technical team.

           

          seyhan vens skerr_1713761 hhyogo

           

          Let me know if you are using one of the other Freescale development boards as opposed to the Ultralite as there are seperate forums for each:

          i.MX 6SoloLite with 1DX

          i.MX 6SoloX SABRE-SD with 1DX

          i.MX 6Quad-DualLite SABRE-SD with 1DX

          • 2. Re: 1DX - BCM4343W Carrier wave transmit using WL: internal firmware error
            bart.cerneels

            seyhan vens

            I've tested this using the latest firmware release I could find (Apr  6 2016 21:06:48 version 7.45.41.24 (r608913 WLTEST) FWID 01-78a5548e) on a imx6sx SabreSD board with the SDIO V1 adapter to issues specific to our hardware.
            Same result:

             

            $ modprobe bcmdhd firmware_path=/lib/firmware/bcm/BRCM_FW_for_i.MX_04062016_1DX_BCM4343W/fw_bcmdhd_mfgtest.bin nvram_path=/lib/firmware/bcm/BRCM_FW_for_i.MX_04062016_1DX_BCM4343W/bcmdhd.1DX.SDIO.cal dhd_msg_level=0x1

             

             

            dhd_module_init in

            Power-up adapter 'DHD generic adapter'

            wifi_platform_bus_enumerate device present 1

            F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x3

            DHD: dongle ram size is set to 524288(orig 524288) at 0x0

            wifi_platform_get_mac_addr

            CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211)

            wl_create_event_handler(): thread:wl_event_handler:3af started

            CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0xa9fc141c

            dhd_attach(): thread:dhd_watchdog_thread:3b0 started

            dhd_attach(): thread:dhd_dpc:3b1 started

            dhd_deferred_work_init: work queue initialized

            dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

            dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)

            dhd_preinit_ioctls : Set IOCTL response time for Manufactring Firmware

            wifi_platform_get_mac_addr

            Firmware up: op_mode=0x0200, MAC=fc:db:b3:87:07:a7

            Firmware version = wl0: Apr  6 2016 21:06:48 version 7.45.41.24 (r608913 WLTEST) FWID 01-78a5548e

            dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79

            dhd_wlfc_init(): wlfc_mode=0x0, ret=-23

             

             

            Dongle Host Driver, version 1.141.72 (r)

            Compiled from

            Register interface [wlan0]  MAC: fc:db:b3:87:07:a7

             

             

            root@imx6sx_all:~# wl down

            root@imx6sx_all:~# wl country ALL

            root@imx6sx_all:~# wl band b

            root@imx6sx_all:~# wl mpc 0

            root@imx6sx_all:~# wl up

            root@imx6sx_all:~# wl out

            root@imx6sx_all:~# wl fqacurcy 6

            INTERNAL ERROR: FIRMWARE HALTED : set BUS DOWN

            CONSOLE: le_probe_req: state down, deferring setting of host flags

            CONSOLE: 000017.742 AXI timeout; APB Bridge 0

            CONSOLE: 000017.742 errlog: lo 0x180013fe, hi 0x00000000, id 0x00040004, flags 0x00000100, status 0x00000002

            CONSOLE: 000017.742

            CONSOLE: FWID 01-78a5548e

            CONSOLE: flags 1

            CONSOLE: 000017.742

            CONSOLE: TRAP 3(7fb18): pc 22140, lr 2330b, sp 7fb6c, cpsr 60000003, spsr 61000010

            CONSOLE: 000017.742   r0 76ea4, r1 456, r2 0, r3 18001000, r4 76ea4, r5 7fbf0, r6 7fd20

            CONSOLE: 000017.742   r7 20, r8 0, r9 3a, r10 7fd20, r11 7fd20, r12 37968

            CONSOLE: 000017.742

            CONSOLE:    sp+0 00076ea4 00000456 00000000 18001000

            CONSOLE: 000017.743   sp+10 00037968 0002330b 00022140 61000010

            CONSOLE:

            CONSOLE: 000017.743 sp+14 0002330b

            CONSOLE: 000017.743 sp+2c 00000457

            CONSOLE: 000017.743 sp+54 0002806b

            CONSOLE: 000017.743 sp+5c 00000457

            CONSOLE: 000017.743 sp+64 00027fed

            CONSOLE: 000017.743 sp+70 00027fed

            CONSOLE: 000017.743 sp+74 00028591

            CONSOLE: 000017.743 sp+7c 0002336b

            CONSOLE: 000017.743 sp+98 00027fed

            CONSOLE: 000017.743 sp+9c 0002d203

            CONSOLE: 000017.743 sp+a8 00027fed

            CONSOLE: 000017.743 sp+bc 0002860f

            CONSOLE: 000017.743 sp+c4 00000457

            CONSOLE: 000017.743 sp+e4 000290b1

            CONSOLE: 000017.743 sp+174 00025c41

            CONSOLE: 000017.743 sp+184 000291f9

            dhdsdio_checkdied: msgtrace address : 0x00000000

            console address  : 0x0007DEBC

            Assrt not built in dongle

            Dongle trap type 0x3 @ epc 0x22140, cpsr 0x60000003, spsr 0x61000010, sp 0x7fb6c,lp 0x2330b, rpc 0x22140 Trap offset 0x7fb18, r0 0x76ea4, r1 0x456, r2 0x0, r3 0x18001000, r4 0x76ea4, r5 0x7fbf0, r6 0x7fd20, r7 0x20

             

             

             

             

            dhdsdio_dpc: failed backplane access over SDIO, halting operation

            dhd_bus_rxctl: resumed on timeout, INT status=0x00000002

            CONSOLE: le_probe_req: state down, deferring setting of host flags

            CONSOLE: 000017.742 AXI timeout; APB Bridge 0

            CONSOLE: 000017.742 errlog: lo 0x180013fe, hi 0x00000000, id 0x00040004, flags 0x00000100, status 0x00000002

            CONSOLE: 000017.742

            CONSOLE: FWID 01-78a5548e

            CONSOLE: flags 1

            CONSOLE: 000017.742

            CONSOLE: TRAP 3(7fb18): pc 22140, lr 2330b, sp 7fb6c, cpsr 60000003, spsr 61000010

            CONSOLE: 000017.742   r0 76ea4, r1 456, r2 0, r3 18001000, r4 76ea4, r5 7fbf0, r6 7fd20

            CONSOLE: 000017.742   r7 20, r8 0, r9 3a, r10 7fd20, r11 7fd20, r12 37968

            CONSOLE: 000017.742

            CONSOLE:    sp+0 00076ea4 00000456 00000000 18001000

            CONSOLE: 000017.743   sp+10 00037968 0002330b 00022140 61000010

            CONSOLE:

            CONSOLE: 000017.743 sp+14 0002330b

            CONSOLE: 000017.743 sp+2c 00000457

            CONSOLE: 000017.743 sp+54 0002806b

            CONSOLE: 000017.743 sp+5c 00000457

            CONSOLE: 000017.743 sp+64 00027fed

            CONSOLE: 000017.743 sp+70 00027fed

            CONSOLE: 000017.743 sp+74 00028591

            CONSOLE: 000017.743 sp+7c 0002336b

            CONSOLE: 000017.743 sp+98 00027fed

            CONSOLE: 000017.743 sp+9c 0002d203

            CONSOLE: 000017.743 sp+a8 00027fed

            CONSOLE: 000017.743 sp+bc 0002860f

            CONSOLE: 000017.743 sp+c4 00000457

            CONSOLE: 000017.743 sp+e4 000290b1

            CONSOLE: 000017.743 sp+174 00025c41

            CONSOLE: 000017.743 sp+184 000291f9

            dhdsdio_checkdied: msgtrace address : 0x00000000

            console address  : 0x0007DEBC

            Assrt not built in dongle

            Dongle trap type 0x3 @ epc 0x22140, cpsr 0x60000003, spsr 0x61000010, sp 0x7fb6c,lp 0x2330b, rpc 0x22140 Trap offset 0x7fb18, r0 0x76ea4, r1 0x456, r2 0x0, r3 0x18001000, r4 0x76ea4, r5 0x7fbf0, r6 0x7fd20, r7 0x20

             

             

             

             

            dhd_bus_rxctl: rxcnt_timeout=1, rxlen=0

            dhd_check_hang: Event HANG send up due to  re=1 te=0 e=-110 s=0

            dhd_check_hang: Event HANG send up due to  re=1 te=0 e=-110 s=0

            dhd_prot_ioctl : bus is down. we have nothing to do

            CFGP2P-ERROR) wl_cfgp2p_bss_isup : 'cfg bss -C 0' failed: -1

            CFGP2P-ERROR) wl_cfgp2p_bss_isup : NOTE: this ioctl error is normal when the BSS has not been created yet.

            dhd_prot_ioctl : bus is down. we have nothing to do

            wl:

            Error getting the last error

            CFG80211-ERROR) wl_cfg80211_hang : In : chip crash eventing

            cfg80211: Calling CRDA to update world regulatory domain

            • 3. Re: 1DX - BCM4343W Carrier wave transmit using WL: internal firmware error
              skerr_1713761

              hi bart.cerneels

               

              Pretty sure you received the reply from Rui directly. However for the forum, the response is as follows:

               

              TEST SEQUENCE:

              After “modprobe bcmdhd nvram_path=/lib/firmware/bcm/1DX_BCM4343W/bcmdhd.1DX.SDIO.cal firmware_path=/lib/firmware/bcm/1DX/BCM4343W/fw_bcmdhd_mfgtest.bin”:

               

              root@imx6ulevk:~# wl down

              root@imx6ulevk:~# wl country ALL

              root@imx6ulevk:~# wl band b

              root@imx6ulevk:~# wl chanspec -c 1 -b 2 -w 20 -s 0

              Chanspec set to 0x1001

              root@imx6ulevk:~# wl mpc 0

              root@imx6ulevk:~# wl up

              root@imx6ulevk:~# wl phy_tx_tone 2412

              1 of 1 people found this helpful
              • 4. Re: 1DX - BCM4343W Carrier wave transmit using WL: internal firmware error
                vens

                bart.cerneels

                The procedure to  check the output continuous wave (CW) tone is shown for WICED in  Page 46 of this doc.

                CYW943XXX - Guidelines for Designing WICED Reference Modules for Embedded Wireless Technologies

                 

                The same procedure applies for Linux too.

                1 of 1 people found this helpful