11 Replies Latest reply on Jul 2, 2020 1:59 AM by SheetalJ_96

    CYW920706WCDEVAL Linux attaching problem


      Hi all,

      I'm new to this community , and this is my first discussion, so thanks for this chance.


      I have an eval board : CYW920706WCDEVAL, and I'm able to flash it with WICED correctly, but I need to attach it to Linux with hciattach command,

      I was able to attach it but I don't know what I'm doing wrong now, because it was a long time since I did it.

      Here is what I did for flashing :

      1. Press and Hold on Recovery button
      2. Press on reset for at least 1 seconds
      3. Release recovery after releasing the reset button
      4. Select demo.hci_uart_spi_bridge-CYW920706WCDEVAL TRANSPORT=SPI download example and start flashing the board.


      By the way, here is the switch configs for the flash :

      P2 OFF
      P33 ON for RX
      P0 OFF
      P31 ON for TX
      P3 ON for CTS
      P30 ON for RTS
      For SW7 all first 5 are ON for SERIAL FLASH ENABLE



      Output of flashing :

      Converting CGS to HEX...

      Conversion complete


      Creating OTA images...

      Conversion complete

      OTA image footprint in NV is 70235 bytes


      Detecting device...

      Device found



      Downloading application...

      Download complete


      Application running


      But when I execute hciattach to attach the module as HCI device with this command :

      • hciattach -s 115200 ttyWICED_HCI_UART12 any

      I did check that ttyWICED_HCI_UART12 is present in /dev for Cypress. And I got a device with zero MAC address :

      hciattach command output:

      hci1:    Type: Primary  Bus: UART

          BD Address: 00:00:00:00:00:00 ACL MTU: 0:0  SCO MTU: 0:0


          RX bytes:0 acl:0 sco:0 events:0 errors:0

          TX bytes:12 acl:0 sco:0 commands:3 errors:0


      I even tried to restore the switches to default state :

      SW5 : same as flash except RTS and CTS are off , and SW7 all OFF , and it didn't work with the default combination.

      What should I do ?


      Thanks, Talel