Trying to see DongleBLE in linux with NCS

Hello,

I want to see my dongle BLE with command lsusb with NCS. I succed to see it with a FTDI USB to UART but i want to succed with only USB.

I succed only USB just with the old SDK connectivity by using a patch whitch came from pc-ble-driver. I tried to developp a pc-ble-driver version NCS with shell command but for commercialisation i can't have a FTDI on my board. can you help me ?

I use for my tests a dongle BLE nrf52840.

Regards,

Pierre-Yves

Parents
  • i Said i will only use shell_module for now on ...i said it 2 times..

    And shell_module sample with overlay_usb.conf works fine with the dongle_ble but not with my device.

    With dongle _ble i could send command and he respond. I used minicom to connect to it on y linux and it works perfectly.

    I just take the sample and add overlay_usb.conf in Kconfig fragments in VS code with ncs 2.0 and with nrf528470_donglenrf52840

    I tried entering debug mode but i have this message :

    and with rtt viewer i have nothing also, i connect to my device.

    This hardware was used and works with connectivity fireware hci_usb pca10056 from sdk15.3 with the patch from pc_ble_driver. But others software didn't run succeffully on it...

    The reset pin isn't routed, i use GPIO to reboot. The device can be accessed only from a rasspberry.

    This card was addapted from the Dongle_ble nordic to be commanded by the rasberry.

    The purpose is to use the new sdk ncs with bluetooth shell commands instead of pc_ble_driver.

  • Piwy said:
    i Said i will only use shell_module for now on ...i said it 2 times..

    Yes, but you are inconsistent in your feedback, which does not allow me to check if you applied changes that I recommended, like the device tree overlay and board specific configurations:  RE: Trying to see DongleBLE in linux with NCS 

    Did you create the proper configuration and overlay and include those in your build as described there?

    Here's a project where I enabled the above quoted configurations and device tree overlays for nrf52840dk_nrf52840 and nrf52840dongle_nrf52840.

    shell_module_with_usb_for_dk_and_dongle.zip

     

    Please report back explicitly with details on if this project works for your custom board.

    Also note that the above project disabled any use of DCDC and also uses internal 32k RC oscillator, as the dongle from us (pca10059) and the nRF52840-DK has DCDC components and external 32k source.

    Piwy said:
    fireware hci_usb pca10056 from sdk15.3

    Were you successful with running hci_usb (which is from NCS), or did you run the connectivity firmware (ble_connectivity_s1xx_pca10056.hex) from nRF5 SDK?

    Please confirm what you were successful with here.

     

    If you were successful running a nRF5 SDK firmware, and not any NCS example, it indicates that you have a hardware difference.

    For instance the DCDC components not in-place, but this should be confirmed if the attached .zip project works for you.

    Piwy said:
    and with rtt viewer i have nothing also, i connect to my device.

    Which project did you run with RTT? Did you run the hello_world that I previously recommended you to do?

     

    Kind regards,

    Håkon

  • Did you create the proper configuration and overlay and include those in your build as described there?

    => Yes i did

    Your  project work with my custom board,, all shell commands worked it must be the DCDC. really thanks you.

    What is the config that you use for disabled any use of DCDC and also uses internal 32k RC oscillator ?

    Were you successful with running hci_usb (which is from NCS), or did you run the connectivity firmware (ble_connectivity_s1xx_pca10056.hex) from nRF5 SDK?

    Please confirm what you were successful with here.

    => Yes from NRF5 SDK with a patch

    Which project did you run with RTT? Did you run the hello_world that I previously recommended you to do?

    Yes i run the one that you recommanded me

Reply
  • Did you create the proper configuration and overlay and include those in your build as described there?

    => Yes i did

    Your  project work with my custom board,, all shell commands worked it must be the DCDC. really thanks you.

    What is the config that you use for disabled any use of DCDC and also uses internal 32k RC oscillator ?

    Were you successful with running hci_usb (which is from NCS), or did you run the connectivity firmware (ble_connectivity_s1xx_pca10056.hex) from nRF5 SDK?

    Please confirm what you were successful with here.

    => Yes from NRF5 SDK with a patch

    Which project did you run with RTT? Did you run the hello_world that I previously recommended you to do?

    Yes i run the one that you recommanded me

Children
Related