This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable to connect nRF5340 DK to nRF Connect Desktop Application on Mac OS BigSur 11.3.1

Hi, 

ls/dev yields:

tty.usbmodem0009601424231
tty.usbmodem0009601424233
tty.usbmodem0009601424235

as well as

cu.usbmodem0009601424231
cu.usbmodem0009601424233
cu.usbmodem0009601424235

However DK is not getting detected by the nRF Connect Desktop Application

Macbook Pro (intel) 2021

Mac OS BigSur 11.3.1

I installed the command line tools and noticed there is something wrong:

nrfjprog --help
ERROR: JLinkARM DLL load failed. Try again. If it keeps failing, please
ERROR: reinstall latest JLinkARM from Segger webpage.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.

 

  • Installing the latest JLinkARM from SEGGER seems to have fixed this

  • Now I am seeing another problem, where I am unable to program because the options to Read/Write to device are not clickable

  • Hi,

    I am glad to hear that you solved the first issue.

    I see that the device you have opened in the Programmer app is nRF5340 DK, so the issue might be that the readback protection is enabled. Close the device in the Programmer app, or close the app itself, and then run the following commands in a terminal to recover the device:

    nrfjprog --recover --coprocessor CP_NETWORK
    nrfjprog --recover

    This will remove the readback protection, as well as erase the flash of the device. Make sure you recover the network core first.

    Best regards,

    Marte

  • Thanks  ! I flashed the network core, followed by the application

  • I am trying to build the ZigBee Coordinator Application https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/zigbee/network_coordinator/README.html

    My target is nRF 5340 DK v1.0.0. 

    When I configure and Build:

    I see following under problems:

    [{
    	"resource": "/opt/nordic/ncs/v1.7.1/zephyr/boards/arm/nrf5340dk_nrf5340/Kconfig.defconfig",
    	"owner": "kconfig4",
    	"severity": 8,
    	"message": "boards/arm/nrf5340dk_nrf5340/Kconfig.defconfig:62: error: couldn't parse 'default $(dt_chosen_reg_size_hex,$(DT_CHOSEN_Z_CODE_PARTITION))': macro expanded to blank string",
    	"startLineNumber": 62,
    	"startColumn": 1,
    	"endLineNumber": 62,
    	"endColumn": 100000
    },{
    	"resource": "/Users/sushant.thakur/co/zephyr/cmake/extensions.cmake",
    	"owner": "cmake-configure-diags",
    	"severity": 8,
    	"message": "CMake Error at /Users/sushant.thakur/co/zephyr/cmake/extensions.cmake:2429 (message):BOARD is not being defined on the CMake command-line in the environment or\nby the app.",
    	"source": "CMake (message)",
    	"startLineNumber": 2429,
    	"startColumn": 1,
    	"endLineNumber": 2429,
    	"endColumn": 10000,
    	"relatedInformation": [
    		{
    			"startLineNumber": 210,
    			"startColumn": 1,
    			"endLineNumber": 210,
    			"endColumn": 1000,
    			"message": "In call to 'zephyr_check_cache' here",
    			"resource": "/Users/sushant.thakur/co/zephyr/cmake/app/boilerplate.cmake"
    		},
    		{
    			"startLineNumber": 24,
    			"startColumn": 1,
    			"endLineNumber": 24,
    			"endColumn": 1000,
    			"message": "In call to 'include' here",
    			"resource": "/opt/nordic/ncs/v1.7.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake"
    		},
    		{
    			"startLineNumber": 40,
    			"startColumn": 1,
    			"endLineNumber": 40,
    			"endColumn": 1000,
    			"message": "In call to 'include_boilerplate' here",
    			"resource": "/opt/nordic/ncs/v1.7.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake"
    		},
    		{
    			"startLineNumber": 5,
    			"startColumn": 1,
    			"endLineNumber": 5,
    			"endColumn": 1000,
    			"message": "In call to 'find_package' here",
    			"resource": "/Users/sushant.thakur/co/nrf/nrf5340-dk/coordinator/zigbee_coordinator/CMakeLists.txt"
    		}
    	]
    },{
    	"resource": "/opt/nordic/ncs/v1.7.1/nrfxlib/nrf_802154/sl/sl/CMakeLists.txt",
    	"owner": "nrf-connect",
    	"severity": 4,
    	"message": "This combination of SoC and floating point ABI is not supported by the",
    	"source": "cmake",
    	"startLineNumber": 14,
    	"startColumn": 1,
    	"endLineNumber": 14,
    	"endColumn": 2147483647
    },{
    	"resource": "/opt/nordic/ncs/v1.7.1/zephyr/CMakeLists.txt",
    	"owner": "nrf-connect",
    	"severity": 4,
    	"message": "__ASSERT() statements are globally ENABLED",
    	"source": "cmake",
    	"startLineNumber": 1612,
    	"startColumn": 1,
    	"endLineNumber": 1612,
    	"endColumn": 2147483647
    },{
    	"resource": "/opt/nordic/ncs/v1.7.1/zephyr/dts/arm/nordic/nrf52840.dtsi",
    	"owner": "DeviceTree",
    	"severity": 4,
    	"message": "Property not mentioned in \"arm,cortex-m4f\"",
    	"startLineNumber": 17,
    	"startColumn": 4,
    	"endLineNumber": 17,
    	"endColumn": 15
    },{
    	"resource": "/opt/nordic/ncs/v1.7.1/zephyr/dts/arm/nordic/nrf52840.dtsi",
    	"owner": "DeviceTree",
    	"severity": 4,
    	"message": "No matching property to name (expected a property named regs in qspi@40029000)",
    	"startLineNumber": 269,
    	"startColumn": 4,
    	"endLineNumber": 269,
    	"endColumn": 13
    },{
    	"resource": "/opt/nordic/ncs/v1.7.1/zephyr/dts/arm/nordic/nrf52840.dtsi",
    	"owner": "DeviceTree",
    	"severity": 2,
    	"message": "Property \"a-pin\" is required",
    	"startLineNumber": 190,
    	"startColumn": 9,
    	"endLineNumber": 190,
    	"endColumn": 22
    },{
    	"resource": "/opt/nordic/ncs/v1.7.1/zephyr/dts/arm/nordic/nrf52840.dtsi",
    	"owner": "DeviceTree",
    	"severity": 2,
    	"message": "Property \"b-pin\" is required",
    	"startLineNumber": 190,
    	"startColumn": 9,
    	"endLineNumber": 190,
    	"endColumn": 22
    },{
    	"resource": "/opt/nordic/ncs/v1.7.1/zephyr/dts/arm/nordic/nrf52840.dtsi",
    	"owner": "DeviceTree",
    	"severity": 2,
    	"message": "Property \"led-pre\" is required",
    	"startLineNumber": 190,
    	"startColumn": 9,
    	"endLineNumber": 190,
    	"endColumn": 22
    },{
    	"resource": "/opt/nordic/ncs/v1.7.1/zephyr/dts/arm/nordic/nrf52840.dtsi",
    	"owner": "DeviceTree",
    	"severity": 2,
    	"message": "Property \"steps\" is required",
    	"startLineNumber": 190,
    	"startColumn": 9,
    	"endLineNumber": 190,
    	"endColumn": 22
    },{
    	"resource": "/opt/nordic/ncs/v1.7.1/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts",
    	"owner": "DeviceTree",
    	"severity": 2,
    	"message": "Pin 13 of &gpio0 already assigned to /soc/pwm@4001c000/ch0-pin",
    	"startLineNumber": 28,
    	"startColumn": 4,
    	"endLineNumber": 28,
    	"endColumn": 9,
    	"relatedInformation": [
    		{
    			"startLineNumber": 178,
    			"startColumn": 2,
    			"endLineNumber": 178,
    			"endColumn": 9,
    			"message": "Overlapping assignment",
    			"resource": "/opt/nordic/ncs/v1.7.1/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts"
    		}
    	]
    }]

    When I try to Flash I get error:

    Variable ${workspaceFolder:network_coordinator} can not be resolved. No such folder 'network_coordinator'.

Related