This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

USBD without logging

Hello. I have the problem with USB connection with NRF_LOG_ENABLED. I am using my custom board, NRF52840 QIAABB version. I have enabled CLI over RTT, softdevice. I am using SDK14. I also use patch for error [187]. With NRF_LOG_ENABLED (with RTT backend) USB works fine (mass storage and usb audio profiles). But if I set NRF_LOG_ENABLED to 0, then USB is not recognized by a PC.

Parents
  • All initializations have APP_ERR_CHECK so even without logs I know that there are no errors. Software works because I have working CLI. However I checked interactions between SW modules:

    1. NRF_LOG_ENABLE=1, softdevice active - USB works fine.
    2. NRF_LOG_ENABLE=0, softdevice active - USB doesn't work.
    3. NRF_LOG_ENABLE=0, sofdevice NOT active - USB works fine. So it looks that there is a problem when I have active softdevice (s140_nrf52840_5.0.0-2).
Reply
  • All initializations have APP_ERR_CHECK so even without logs I know that there are no errors. Software works because I have working CLI. However I checked interactions between SW modules:

    1. NRF_LOG_ENABLE=1, softdevice active - USB works fine.
    2. NRF_LOG_ENABLE=0, softdevice active - USB doesn't work.
    3. NRF_LOG_ENABLE=0, sofdevice NOT active - USB works fine. So it looks that there is a problem when I have active softdevice (s140_nrf52840_5.0.0-2).
Children
No Data
Related