The board I am using is a nRF52 Development Kit hosting a nRF52832 SoC. The IC on the board has a label that says, "PCA10040, V1.1.1, 2017.1, then the S/N, (the same number that shows up in my troubleshooting.)"
The ESD packaging that it came in has a label that says "nRF6827, REV. 1.1.1, 2016.50"
I am connecting this laptop running Ubuntu 16.04.2 LTS directly to the described dev board with a known working USB cable.
To ensure that I have a good USB connection I run the command -
Once I plug in my nRF52 Development Kit hosting a nRF52832 SoC the following is reported.
Display All
It shows up in my file system.
Display All
It's listed as a USB device.
fdisk shows the folowing.
Display All
Also, I can see the files on the device.
But when I call JLinkExe I get this.
To trobleshoot further, I tried the following J-Link commands
Display All
I have also tried using another dev board with the same results.
Is there something else I should try? Is this a known issue given the this particular set up?
The ESD packaging that it came in has a label that says "nRF6827, REV. 1.1.1, 2016.50"
I am connecting this laptop running Ubuntu 16.04.2 LTS directly to the described dev board with a known working USB cable.
To ensure that I have a good USB connection I run the command -
Once I plug in my nRF52 Development Kit hosting a nRF52832 SoC the following is reported.
Source Code
- UDEV [23412.778469] add /devices/pci0000:00/0000:00:14.0/usb2/2-2 (usb)
- UDEV [23412.782643] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0 (usb)
- UDEV [23412.785210] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.2 (usb)
- UDEV [23412.789422] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.1 (usb)
- UDEV [23412.789521] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.3 (usb)
- UDEV [23412.794049] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/tty/ttyACM0 (tty)
- UDEV [23412.794827] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.3/host2 (scsi)
- UDEV [23412.796541] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.3/host2/scsi_host/host2 (scsi_host)
- UDEV [23413.726790] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.3/host2/target2:0:0 (scsi)
- UDEV [23413.729526] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.3/host2/target2:0:0/2:0:0:0 (scsi)
- UDEV [23413.729823] add /devices/virtual/bdi/8:16 (bdi)
- UDEV [23413.731263] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.3/host2/target2:0:0/2:0:0:0/scsi_device/2:0:0:0 (scsi_device)
- UDEV [23413.732545] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.3/host2/target2:0:0/2:0:0:0/scsi_disk/2:0:0:0 (scsi_disk)
- UDEV [23413.734212] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.3/host2/target2:0:0/2:0:0:0/bsg/2:0:0:0 (bsg)
- UDEV [23413.734784] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.3/host2/target2:0:0/2:0:0:0/scsi_generic/sg2 (scsi_generic)
- UDEV [23413.961929] add /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.3/host2/target2:0:0/2:0:0:0/block/sdb (block)
It shows up in my file system.
Source Code
- $ df
- Filesystem 1K-blocks Used Available Use% Mounted on
- udev 1966792 0 1966792 0% /dev
- tmpfs 397592 11412 386180 3% /run
- /dev/sda8 31419336 5790332 24009908 20% /
- tmpfs 1987956 328 1987628 1% /dev/shm
- tmpfs 5120 4 5116 1% /run/lock
- tmpfs 1987956 0 1987956 0% /sys/fs/cgroup
- /dev/sda2 262144 116396 145748 45% /boot/efi
- tmpfs 397592 76 397516 1% /run/user/1000
- /dev/sda4 428977836 202403180 226574656 48% /media/damon/Windows
- /dev/sdb 10848 128 10720 2% /media/damon/JLINK
It's listed as a USB device.
Source Code
- $ lsusb
- Bus 001 Device 007: ID 04f3:038a Elan Microelectronics Corp.
- Bus 001 Device 003: ID 0bda:5776 Realtek Semiconductor Corp.
- Bus 001 Device 002: ID 8087:8000 Intel Corp.
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
- Bus 002 Device 007: ID 1366:1015 SEGGER
- Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
fdisk shows the folowing.
Source Code
- $ sudo fdisk -l
- Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 4096 bytes
- I/O size (minimum/optimal): 4096 bytes / 4096 bytes
- Disklabel type: gpt
- Disk identifier: BA386137-15CC-4947-A5CF-EF2F2297A474
- Device Start End Sectors Size Type
- /dev/sda1 2048 1333247 1331200 650M Windows recovery environment
- /dev/sda2 1333248 1865727 532480 260M EFI System
- /dev/sda3 1865728 2127871 262144 128M Microsoft reserved
- /dev/sda4 2127872 860083551 857955680 409.1G Microsoft basic data
- /dev/sda5 927193088 928948223 1755136 857M Windows recovery environment
- /dev/sda6 928948224 976762879 47814656 22.8G Microsoft basic data
- /dev/sda7 860084224 863084543 3000320 1.4G Linux swap
- /dev/sda8 863084544 927193087 64108544 30.6G Linux filesystem
- Partition table entries are not in disk order.
- Disk /dev/sdb: 10.7 MiB, 11176448 bytes, 21829 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disklabel type: dos
- Disk identifier: 0x00000000
Also, I can see the files on the device.
But when I call JLinkExe I get this.
To trobleshoot further, I tried the following J-Link commands
Source Code
- J-Link>usb
- Connecting to J-Link via USB...FAILED: Can not connect to J-Link via USB.
- J-Link>usb 2
- Connecting to J-Link via USB...FAILED: Can not connect to J-Link via USB.
- J-Link>usb 0
- Connecting to J-Link via USB...FAILED: Can not connect to J-Link via USB.
- J-Link>usb 1
- Connecting to J-Link via USB...FAILED: Can not connect to J-Link via USB.
- J-Link>usb 3
- Connecting to J-Link via USB...FAILED: Can not connect to J-Link via USB.
- J-Link>ShowEmuList
- J-Link[0]: Connection: USB, Serial number: {S/N redacted}, ProductName: J-Link OB-SAM3U128-V2-NordicSem
- J-Link>selemu
- J-Link[0]: Connection: USB, Serial number: {S/N redacted}, ProductName: J-Link OB-SAM3U128-V2-NordicSem
- Select emulator index: 0
- Connecting to J-Link via USB...FAILED: Can not connect to J-Link via USB.
- J-Link>SelectEmuBySN {S/N redacted}
- Connecting to J-Link via USB...FAILED: Can not connect to J-Link via USB.
- J-Link>
I have also tried using another dev board with the same results.
Is there something else I should try? Is this a known issue given the this particular set up?