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

nrfConnect 3.3.0 NRF_ERROR_TIMEOUT (0xd), Linux (Ubuntu 18.04)

Hi,


I'm trying to get NRF Connect 3.3.0 connected to a nRF52 DK with a PCA10040 and get the following when I try to connect to the device:
Received status with code 0 PKT_SEND_MAX_RETRIES_REACHED, message: 'No response from device. Tried to send packet 6 times.'
Error occurred when opening port. Errorcode: NRF_ERROR_TIMEOUT (0xd)

I'm using Ubuntu 18.04 with JLink Version 6.52c. Attached is the log file.

I already tried disabling the MSD as suggested here www.nordicsemi.com/nRFConnectOSXfix and erased the memory as mentioned in other forum entries concerning this error message.

Thanks for helping. If you need more information, let me know.

2020-01-06T11:26:53.965Z INFO Application data folder: /.../.config/nrfconnect/pc-nrfconnect-ble
2020-01-06T11:26:54.046Z DEBUG App pc-nrfconnect-ble v2.3.2 official
2020-01-06T11:26:54.047Z DEBUG App path: /home/.../.nrfconnect-apps/node_modules/pc-nrfconnect-ble
2020-01-06T11:26:54.047Z DEBUG nRFConnect 3.3.0 is supported by the app (^3.2.0)
2020-01-06T11:26:54.047Z DEBUG nRFConnect path: /.../nrfconnect-3.3.0-x64/resources/app.asar
2020-01-06T11:26:54.047Z DEBUG HomeDir: /home/...
2020-01-06T11:26:54.047Z DEBUG TmpDir: /tmp
2020-01-06T11:26:54.120Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS1
2020-01-06T11:26:54.120Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS10
2020-01-06T11:26:54.120Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS11
2020-01-06T11:26:54.120Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS12
2020-01-06T11:26:54.120Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS13
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS14
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS15
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS16
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS17
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS18
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS19
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS2
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS20
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS21
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS22
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS23
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS24
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS25
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS26
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS27
2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS28
2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS29
2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS3
2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS30
2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS31
2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS4
2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS5
2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS6
2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS7
2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS8
2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS9
2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS0
2020-01-06T11:26:56.044Z INFO Validating connectivity firmware for device with serial number xxx...
2020-01-06T11:26:57.079Z INFO Connectivity firmware is valid.
2020-01-06T11:26:57.080Z INFO Note: Adapters with Segger JLink debug probe requires MSD to be disabled to function properly on MacOS and Linux. Please visit www.nordicsemi.com/nRFConnectOSXfix for further instructions.
2020-01-06T11:26:57.080Z INFO Getting information from J-Link debugger...
2020-01-06T11:26:58.173Z INFO Found device type: nRF52832. J-Link firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan  7 2019 14:07:15.
2020-01-06T11:26:58.173Z INFO Connectivity firmware version: 4.1.1. SoftDevice API version: 3. Baud rate: 1000000.
2020-01-06T11:26:58.175Z INFO Opening adapter connected to /dev/ttyACM0
2020-01-06T11:26:59.103Z INFO Successfully opened /dev/ttyACM0. Baud rate: 1000000. Flow control: none. Parity: none.
2020-01-06T11:26:59.104Z DEBUG State change: STATE_START -> STATE_RESET
2020-01-06T11:26:59.104Z DEBUG        1 ->  [N/A] type:          RESERVED_5 reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
2020-01-06T11:26:59.105Z INFO Reset performed on adapter /dev/ttyACM0
2020-01-06T11:26:59.403Z DEBUG State change: STATE_RESET -> STATE_UNINITIALIZED
2020-01-06T11:26:59.404Z DEBUG        2 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
2020-01-06T11:26:59.654Z DEBUG        3 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
2020-01-06T11:26:59.904Z DEBUG        4 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
2020-01-06T11:27:00.154Z DEBUG        5 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
2020-01-06T11:27:00.404Z DEBUG        6 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
2020-01-06T11:27:00.654Z DEBUG        7 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
2020-01-06T11:27:00.905Z DEBUG State change: STATE_UNINITIALIZED -> STATE_NO_RESPONSE
2020-01-06T11:27:00.905Z ERROR Received status with code 0 PKT_SEND_MAX_RETRIES_REACHED, message: 'No response from device. Tried to send packet 6 times.'
2020-01-06T11:27:02.103Z DEBUG serial port read on port /dev/ttyACM0 aborted.
2020-01-06T11:27:02.133Z ERROR Error occured when opening port. Errorcode: NRF_ERROR_TIMEOUT (0xd)

Parents
  • Everything looks good, just seems there is no answer from the connectivity firmware.

    Have you tried running 'nrfjprog -e' from command line, and let the app program the connectivity firmware over again?

    Kenneth

  • Yes I tried that (sorry for not stating it explicitly and no it did not help)

  • Do you have similar problems if using RSSI Viewer nRF Connect?

    It would help to verify hardware if you had access to a Windows PC.

    Best regards,
    Kenneth

  • RSSI Viewer throws no error but doesn't seem to receive any data (the graph stays blank after connection). Log is attached.

    Just checked it on a Windows machine and nrfConnect shows exactly the same behavior (as with Ubuntu) in both apps.

    Programming an attached evaluation board works fine, however. (with Ubuntu)

    2020-01-06T11:26:53.965Z INFO Application data folder: /.../.config/nrfconnect/pc-nrfconnect-ble
    2020-01-06T11:26:54.046Z DEBUG App pc-nrfconnect-ble v2.3.2 official
    2020-01-06T11:26:54.047Z DEBUG App path: /home/.../.nrfconnect-apps/node_modules/pc-nrfconnect-ble
    2020-01-06T11:26:54.047Z DEBUG nRFConnect 3.3.0 is supported by the app (^3.2.0)
    2020-01-06T11:26:54.047Z DEBUG nRFConnect path: /.../nrfconnect-3.3.0-x64/resources/app.asar
    2020-01-06T11:26:54.047Z DEBUG HomeDir: /home/...
    2020-01-06T11:26:54.047Z DEBUG TmpDir: /tmp
    2020-01-06T11:26:54.120Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS1
    2020-01-06T11:26:54.120Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS10
    2020-01-06T11:26:54.120Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS11
    2020-01-06T11:26:54.120Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS12
    2020-01-06T11:26:54.120Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS13
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS14
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS15
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS16
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS17
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS18
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS19
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS2
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS20
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS21
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS22
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS23
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS24
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS25
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS26
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS27
    2020-01-06T11:26:54.121Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS28
    2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS29
    2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS3
    2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS30
    2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS31
    2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS4
    2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS5
    2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS6
    2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS7
    2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS8
    2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS9
    2020-01-06T11:26:54.122Z VERBOSE Could not fetch serial number for serial port at /dev/ttyS0
    2020-01-06T11:26:56.044Z INFO Validating connectivity firmware for device with serial number xxx...
    2020-01-06T11:26:57.079Z INFO Connectivity firmware is valid.
    2020-01-06T11:26:57.080Z INFO Note: Adapters with Segger JLink debug probe requires MSD to be disabled to function properly on MacOS and Linux. Please visit www.nordicsemi.com/nRFConnectOSXfix for further instructions.
    2020-01-06T11:26:57.080Z INFO Getting information from J-Link debugger...
    2020-01-06T11:26:58.173Z INFO Found device type: nRF52832. J-Link firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan  7 2019 14:07:15.
    2020-01-06T11:26:58.173Z INFO Connectivity firmware version: 4.1.1. SoftDevice API version: 3. Baud rate: 1000000.
    2020-01-06T11:26:58.175Z INFO Opening adapter connected to /dev/ttyACM0
    2020-01-06T11:26:59.103Z INFO Successfully opened /dev/ttyACM0. Baud rate: 1000000. Flow control: none. Parity: none.
    2020-01-06T11:26:59.104Z DEBUG State change: STATE_START -> STATE_RESET
    2020-01-06T11:26:59.104Z DEBUG        1 ->  [N/A] type:          RESERVED_5 reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
    2020-01-06T11:26:59.105Z INFO Reset performed on adapter /dev/ttyACM0
    2020-01-06T11:26:59.403Z DEBUG State change: STATE_RESET -> STATE_UNINITIALIZED
    2020-01-06T11:26:59.404Z DEBUG        2 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
    2020-01-06T11:26:59.654Z DEBUG        3 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
    2020-01-06T11:26:59.904Z DEBUG        4 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
    2020-01-06T11:27:00.154Z DEBUG        5 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
    2020-01-06T11:27:00.404Z DEBUG        6 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
    2020-01-06T11:27:00.654Z DEBUG        7 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
    2020-01-06T11:27:00.905Z DEBUG State change: STATE_UNINITIALIZED -> STATE_NO_RESPONSE
    2020-01-06T11:27:00.905Z ERROR Received status with code 0 PKT_SEND_MAX_RETRIES_REACHED, message: 'No response from device. Tried to send packet 6 times.'
    2020-01-06T11:27:02.103Z DEBUG serial port read on port /dev/ttyACM0 aborted.
    2020-01-06T11:27:02.133Z ERROR Error occured when opening port. Errorcode: NRF_ERROR_TIMEOUT (0xd)
    
    

  • If the nRF52-DK fails also in Windows, then it may seem as a failure in hardware. Do you have a second nRF52-DK? Can you provide details of the nRF52-DK? See printed label on nRF52-DK.

    Best regards,
    Kenneth

  • The label reads:
    PCA10040
    1.2.4
    2018.44
    682941690

    There is only this one available, but if you suggest it's a hardware failure, then we should probably just order a new one?

Reply Children
No Data
Related