Bluetooth low energy not working (Received status with code 4 Unknown value, message: 'Error sending packet to target. Code: 0x )

Hi all Slight smile

My first post. I tried to finish one of Nordic tutorials. I need to use app from nrf connect(v 3.10.0): Bluettoth low energy (I have installed v3.0.1). I have nrf51DK with nrf51422xxAC. I can not connect to this app. Firstly received communicat: Device must be programmed (only option to proceed is "yes"). Then i received below logs:

10:13:38.316
Selected device with s/n 000681770775
10:13:44.104
Device setup completed
10:13:44.104
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.
10:13:44.104
Getting information from J-Link debugger...
10:13:44.104
Found device type: nRF51. J-Link firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31.
10:13:45.273
Connectivity firmware version: undefined. SoftDevice API version: undefined.
10:13:45.273
Unsupported soft-device version!
10:13:47.589
Device closed.
10:13:49.268
Selected device with s/n 000681770775
10:13:52.979
Uploading image through JLink: 0%
10:13:56.871
Uploading image through JLink: 100%
10:13:57.006
Device programming completed.
10:13:57.887
Device setup completed
10:13:57.888
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.
10:13:57.888
Getting information from J-Link debugger...
10:13:57.888
Found device type: nRF51. J-Link firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31.
10:13:58.859
Connectivity firmware version: 4.1.4. SoftDevice API version: 2.
10:13:58.860
Opening adapter connected to /dev/ttyACM0
10:13:59.770
Successfully opened /dev/ttyACM0. Baud rate:
10:13:59.771
Reset performed on adapter /dev/ttyACM0
10:14:00.331
Adapter connected to /dev/ttyACM0 opened
10:14:01.830
Received status with code 4 Unknown value, message: 'Error sending packet to target. Code: 0x'

I pasted logs from ubuntu 18.04, also tried on two PC with win10. The same result. I tried to connect nrf52832 chip with J-link embedded on 51DK. Programmer see this chip, but I also received similar logs. I close whole programs: VScode, programmer to be sure that none of them make conficts with BLE app. 
I expected sth like in this tutorial: https://www.youtube.com/watch?v=hY_tDext6zA&list=PLx_tBuQ_KSqE_Eyrg7ogzX33DWJDiq_AZ&index=5
Received:

I flash app from from above tutorial and my phone with adroid see properly device.

I can connect to chip via terminal (nrfj prog)

Don't know where next can try to find. Thanks for you for advance for your help Slight smile

Regards

Parents
  • Hi Maciej, 

    I tried to test here with a PCA10028 v1.2.0 and don't have any issue with mine. Could you let me now your board name and version ? 


    Do you have any other DK to test ? I would suggest to get hold of a nRF52 DK. The nRF51 DK is almost 10 year old. 
    On Linux and OSX you may need to disable Mass Storage Device as suggested in the log. But you mentioned that you had the issue on Windows 10 machine as well. 
    Could you capture the log on Windows machine ? 

Reply
  • Hi Maciej, 

    I tried to test here with a PCA10028 v1.2.0 and don't have any issue with mine. Could you let me now your board name and version ? 


    Do you have any other DK to test ? I would suggest to get hold of a nRF52 DK. The nRF51 DK is almost 10 year old. 
    On Linux and OSX you may need to disable Mass Storage Device as suggested in the log. But you mentioned that you had the issue on Windows 10 machine as well. 
    Could you capture the log on Windows machine ? 

Children
No Data
Related