As the description states, I am stepping through this tutorial developer.nordicsemi.com/.../nrf5340_gs.html
trying to learn about the nRF5340 and the new tools and everything works up to and including connecting to my Android device (the Connected LED comes on and the Phone log shows connected). Using the Serial Terminal in nRF Connect for Desktop, I connect to the DK and, after pressing reset, I get a message that Zephyr OS has started (see attached screenshot) but when I type in "Hello" and hit send, nothing arrives at the phone. I also tried the UART in nRF Toolbox on the phone. Same thing, I can connect, but no data is transferred.
I can query the remote RSSI value and get a response (show in phone log), but no txt exchange. I'm sure this is something really dumb since everything else seems to work, but before I go further into the hole with my own code, I'd like to know why this isn't working.
TIA,
Tom
2024-02-21T12:42:58.782Z DEBUG Application data folder: C:\Users\TomWS\AppData\Roaming\nrfconnect\pc-nrfconnect-programmer 2024-02-21T12:42:58.855Z DEBUG App pc-nrfconnect-programmer v4.2.0 (official) 2024-02-21T12:42:58.855Z DEBUG App path: C:\Users\TomWS\.nrfconnect-apps\node_modules\pc-nrfconnect-programmer 2024-02-21T12:42:58.855Z DEBUG nRFConnect 4.4.0, required by the app is (>=4.3.0) 2024-02-21T12:42:58.855Z DEBUG nRFConnect path: C:\Users\TomWS\AppData\Local\Programs\nrfconnect\resources\app.asar 2024-02-21T12:42:58.856Z DEBUG HomeDir: C:\Users\TomWS 2024-02-21T12:42:58.856Z DEBUG TmpDir: C:\Users\TomWS\AppData\Local\Temp 2024-02-21T12:43:00.947Z INFO Using nrfutil-device version: 2.0.3 2024-02-21T12:43:00.947Z INFO Using nrf-device-lib version: 0.17.3 2024-02-21T12:43:00.948Z INFO Using nrfjprog DLL version: 10.23.1 2024-02-21T12:43:00.948Z INFO Using JLink version: JLink_V7.92o 2024-02-21T12:43:00.948Z WARN Installed JLink version does not match the expected version (JLink_V7.88j) 2024-02-21T12:44:44.371Z INFO Getting serialport options from persistent store 001050085340.pc-nrfconnect-programmer 2024-02-21T12:44:44.661Z INFO Getting serialport options from persistent store 001050085340.pc-nrfconnect-programmer 2024-02-21T12:44:45.050Z INFO Getting serialport options from persistent store 001050085340.pc-nrfconnect-programmer 2024-02-21T12:45:04.619Z INFO Using nrfutil device to communicate with target via JLink 2024-02-21T12:45:04.619Z INFO JLink OB firmware version J-Link OB-nRF5340-NordicSemi compiled Dec 3 2021 15:46:49 2024-02-21T12:45:04.619Z INFO Device family NRF53_FAMILY 2024-02-21T12:45:04.619Z INFO Device version NRF5340_xxAA_ENGD 2024-02-21T12:45:04.620Z INFO Board version PCA10095 2024-02-21T12:45:06.006Z INFO Reading readback protection status for Application core 2024-02-21T12:45:06.009Z INFO Reading readback protection status for Application core 0% 2024-02-21T12:45:06.022Z INFO Reading readback protection status for Application core 100% 2024-02-21T12:45:06.022Z INFO Application core protection status 'NRFDL_PROTECTION_STATUS_NONE' 2024-02-21T12:45:06.023Z INFO Reading readback protection status for Application core completed 2024-02-21T12:45:06.053Z INFO Reading readback protection status for Network core 2024-02-21T12:45:06.057Z INFO Reading readback protection status for Network core 0% 2024-02-21T12:45:06.069Z INFO Reading readback protection status for Network core 100% 2024-02-21T12:45:06.070Z INFO Network core protection status 'NRFDL_PROTECTION_STATUS_NONE' 2024-02-21T12:45:06.070Z INFO Reading readback protection status for Network core completed 2024-02-21T12:45:07.872Z INFO Loading core information for Application core 2024-02-21T12:45:07.874Z INFO Loading core information for Application core 0% 2024-02-21T12:45:07.905Z INFO Loading core information for Application core 100% 2024-02-21T12:45:07.906Z INFO Loading core information for Application core completed 2024-02-21T12:45:07.934Z INFO Loading core information for Network core 2024-02-21T12:45:07.938Z INFO Loading core information for Network core 0% 2024-02-21T12:45:07.966Z INFO Loading core information for Network core 100% 2024-02-21T12:45:07.970Z INFO Loading core information for Network core completed 2024-02-21T12:45:09.661Z INFO Reading readback protection status for Application core 2024-02-21T12:45:09.663Z INFO Reading readback protection status for Application core 0% 2024-02-21T12:45:09.677Z INFO Reading readback protection status for Application core 100% 2024-02-21T12:45:09.678Z INFO Application core protection status 'NRFDL_PROTECTION_STATUS_NONE' 2024-02-21T12:45:09.679Z INFO Reading readback protection status for Application core completed 2024-02-21T12:45:09.709Z INFO Reading readback protection status for Network core 2024-02-21T12:45:09.710Z INFO Reading readback protection status for Network core 0% 2024-02-21T12:45:09.725Z INFO Reading readback protection status for Network core 100% 2024-02-21T12:45:09.726Z INFO Network core protection status 'NRFDL_PROTECTION_STATUS_NONE' 2024-02-21T12:45:09.727Z INFO Reading readback protection status for Network core completed 2024-02-21T12:45:09.977Z INFO Device is loaded and ready for further operation 2024-02-21T12:45:27.170Z INFO Parsing HEX file: C:\Dev\Proj\Peripheral UART Test\nrf5340-dk-peripheral-uart-demo\peripheral_uart_nrf5340dk.hex 2024-02-21T12:45:27.181Z INFO File was last modified at 2/20/2024, 3:39:16 PM 2024-02-21T12:45:27.295Z INFO Update files regions according to Application core 2024-02-21T12:45:27.295Z INFO Parse memory regions for file 2024-02-21T12:45:27.296Z INFO Update files regions according to Network core 2024-02-21T12:45:27.296Z INFO Parse memory regions for file 2024-02-21T12:45:27.301Z INFO Does not need to be reloaded: C:\Dev\Proj\Peripheral UART Test\nrf5340-dk-peripheral-uart-demo\peripheral_uart_nrf5340dk.hex 2024-02-21T12:45:51.642Z INFO Recovering Application core 2024-02-21T12:45:51.645Z INFO Recovering Application core 0% 2024-02-21T12:45:52.954Z INFO Recovering Application core 100% 2024-02-21T12:45:52.958Z INFO Recovering Application core completed 2024-02-21T12:45:53.016Z INFO Recovering Network core 2024-02-21T12:45:53.017Z INFO Recovering Network core 0% 2024-02-21T12:45:54.231Z INFO Recovering Network core 100% 2024-02-21T12:45:54.232Z INFO Recovering Network core completed 2024-02-21T12:45:54.279Z INFO Writing HEX to Application core 2024-02-21T12:45:54.627Z INFO Writing HEX to Application core 33.333333333333336% 2024-02-21T12:45:54.627Z INFO Writing HEX to Application core 33.33333333333333% 2024-02-21T12:45:55.731Z INFO Writing HEX to Application core 100% 2024-02-21T12:45:55.733Z INFO Writing HEX to Application core completed 2024-02-21T12:45:55.792Z INFO Writing HEX to Network core 2024-02-21T12:45:56.088Z INFO Writing HEX to Network core 33.333333333333336% 2024-02-21T12:45:56.089Z INFO Writing HEX to Network core 33.33333333333333% 2024-02-21T12:45:57.407Z INFO Writing HEX to Network core 100% 2024-02-21T12:45:57.409Z INFO Writing HEX to Network core completed 2024-02-21T12:45:57.455Z INFO Loading core information for Application core 2024-02-21T12:45:57.456Z INFO Loading core information for Application core 0% 2024-02-21T12:45:57.458Z INFO Update files regions according to Application core 2024-02-21T12:45:57.459Z INFO Parse memory regions for file 2024-02-21T12:45:57.459Z INFO Update files regions according to Network core 2024-02-21T12:45:57.459Z INFO Parse memory regions for file 2024-02-21T12:45:57.488Z INFO Loading core information for Application core 100% 2024-02-21T12:45:57.489Z INFO Loading core information for Application core completed 2024-02-21T12:45:57.490Z INFO Update files regions according to Application core 2024-02-21T12:45:57.490Z INFO Parse memory regions for file 2024-02-21T12:45:57.490Z INFO Update files regions according to Network core 2024-02-21T12:45:57.490Z INFO Parse memory regions for file 2024-02-21T12:45:57.550Z INFO Loading core information for Network core 2024-02-21T12:45:57.551Z INFO Loading core information for Network core 0% 2024-02-21T12:45:57.554Z INFO Update files regions according to Application core 2024-02-21T12:45:57.554Z INFO Parse memory regions for file 2024-02-21T12:45:57.555Z INFO Update files regions according to Network core 2024-02-21T12:45:57.555Z INFO Parse memory regions for file 2024-02-21T12:45:57.645Z INFO Loading core information for Network core 100% 2024-02-21T12:45:57.646Z INFO Loading core information for Network core completed 2024-02-21T12:45:57.652Z INFO Update files regions according to Application core 2024-02-21T12:45:57.652Z INFO Parse memory regions for file 2024-02-21T12:45:57.653Z INFO Update files regions according to Network core 2024-02-21T12:45:57.653Z INFO Parse memory regions for file 2024-02-21T12:45:59.456Z INFO Update files regions according to Application core 2024-02-21T12:45:59.456Z INFO Parse memory regions for file 2024-02-21T12:45:59.457Z INFO Update files regions according to Network core 2024-02-21T12:45:59.457Z INFO Parse memory regions for file 2024-02-21T12:46:00.694Z INFO Reading readback protection status for Application core 2024-02-21T12:46:00.697Z INFO Reading readback protection status for Application core 0% 2024-02-21T12:46:00.709Z INFO Reading readback protection status for Application core 100% 2024-02-21T12:46:00.709Z INFO Application core protection status 'NRFDL_PROTECTION_STATUS_NONE' 2024-02-21T12:46:00.710Z INFO Reading readback protection status for Application core completed 2024-02-21T12:46:00.739Z INFO Reading readback protection status for Network core 2024-02-21T12:46:00.740Z INFO Reading readback protection status for Network core 0% 2024-02-21T12:46:00.755Z INFO Reading readback protection status for Network core 100% 2024-02-21T12:46:00.756Z INFO Network core protection status 'NRFDL_PROTECTION_STATUS_NONE' 2024-02-21T12:46:00.757Z INFO Reading readback protection status for Network core completed 2024-02-21T12:46:02.314Z INFO Reading readback protection status for Application core 2024-02-21T12:46:02.317Z INFO Reading readback protection status for Application core 0% 2024-02-21T12:46:02.329Z INFO Reading readback protection status for Application core 100% 2024-02-21T12:46:02.329Z INFO Application core protection status 'NRFDL_PROTECTION_STATUS_NONE' 2024-02-21T12:46:02.330Z INFO Reading readback protection status for Application core completed 2024-02-21T12:46:02.361Z INFO Reading readback protection status for Network core 2024-02-21T12:46:02.362Z INFO Reading readback protection status for Network core 0% 2024-02-21T12:46:02.377Z INFO Reading readback protection status for Network core 100% 2024-02-21T12:46:02.377Z INFO Network core protection status 'NRFDL_PROTECTION_STATUS_NONE' 2024-02-21T12:46:02.378Z INFO Reading readback protection status for Network core completed
# nRFConnect System Report - 2024-02-21T13-10-11.890Z - System: AZW MINI S - BIOS: American Megatrends International, LLC. ALASKA - 1072009 - CPU: 1 x Intel N95 1.7 GHz 4 cores (4 physical) - Memory: 12.1 GB free of 15.8 GB total - Filesystem: C: (NTFS) 475 GB 11.4% used - OS: Microsoft Windows 11 Pro (10.0.22000) Windows x64 - Versions - kernel: 10.0.22000 - git: 2.42.0.windows.2 - node: 18.18.2 - python: - python3: - Connected devices:
nRF Connect, 2024-02-21 Nordic_UART_Service (FC:8B:CE:1B:56:2A) V 07:48:08.112 Connecting to FC:8B:CE:1B:56:2A... D 07:48:08.112 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M) D 07:48:08.575 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED D 07:48:08.578 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2) I 07:48:08.578 Connected to FC:8B:CE:1B:56:2A V 07:48:08.584 Discovering services... D 07:48:08.584 gatt.discoverServices() I 07:48:08.994 Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms) I 07:48:09.106 PHY updated (TX: LE 2M, RX: LE 2M) D 07:48:09.217 [Callback] Services discovered with status: 0 I 07:48:09.217 Services discovered V 07:48:09.224 Generic Attribute (0x1801) - Service Changed [I] (0x2A05) Client Characteristic Configuration (0x2902) - Client Supported Features [R W] (0x2B29) - Database Hash [R] (0x2B2A) Generic Access (0x1800) - Device Name [R] (0x2A00) - Appearance [R] (0x2A01) - Peripheral Preferred Connection Parameters [R] (0x2A04) Nordic UART Service (6e400001-b5a3-f393-e0a9-e50e24dcca9e) - TX Characteristic [N] (6e400003-b5a3-f393-e0a9-e50e24dcca9e) Client Characteristic Configuration (0x2902) - RX Characteristic [W WNR] (6e400002-b5a3-f393-e0a9-e50e24dcca9e) D 07:48:09.225 gatt.setCharacteristicNotification(00002a05-0000-1000-8000-00805f9b34fb, true) D 07:48:09.226 gatt.setCharacteristicNotification(6e400003-b5a3-f393-e0a9-e50e24dcca9e, true) I 07:48:09.309 Connection parameters updated (interval: 45.0ms, latency: 0, timeout: 5000ms) I 07:48:13.679 Connection parameters updated (interval: 45.0ms, latency: 0, timeout: 420ms) V 07:48:23.232 Enabling services... V 07:48:23.233 Enabling indications for 00002a05-0000-1000-8000-00805f9b34fb D 07:48:23.233 gatt.setCharacteristicNotification(00002a05-0000-1000-8000-00805f9b34fb, true) D 07:48:23.234 gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x0200) I 07:48:23.305 Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 02-00 A 07:48:23.305 "Indications enabled" sent V 07:48:23.308 Indications enabled for 00002a05-0000-1000-8000-00805f9b34fb V 07:48:23.313 Enabling notifications for 6e400003-b5a3-f393-e0a9-e50e24dcca9e D 07:48:23.313 gatt.setCharacteristicNotification(6e400003-b5a3-f393-e0a9-e50e24dcca9e, true) D 07:48:23.313 gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x0100) I 07:48:23.396 Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 01-00 A 07:48:23.396 "Notifications enabled" sent V 07:48:23.412 Notifications enabled for 6e400003-b5a3-f393-e0a9-e50e24dcca9e V 07:48:23.421 All services enabled D 07:54:48.223 [Callback] Connection state changed with status: 8 and new state: DISCONNECTED (0) E 07:54:48.224 Error 8 (0x8): GATT CONN TIMEOUT I 07:54:48.224 Disconnected D 07:54:48.271 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED D 08:02:11.175 gatt.close() D 08:02:11.177 wait(200) V 08:02:11.379 Connecting to FC:8B:CE:1B:56:2A... D 08:02:11.380 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M) D 08:02:11.757 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2) I 08:02:11.757 Connected to FC:8B:CE:1B:56:2A V 08:02:11.776 Discovering services... D 08:02:11.776 gatt.discoverServices() D 08:02:11.782 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED I 08:02:12.204 Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms) I 08:02:12.287 PHY updated (TX: LE 2M, RX: LE 2M) D 08:02:12.406 [Callback] Services discovered with status: 0 I 08:02:12.407 Services discovered V 08:02:12.412 Generic Attribute (0x1801) - Service Changed [I] (0x2A05) Client Characteristic Configuration (0x2902) - Client Supported Features [R W] (0x2B29) - Database Hash [R] (0x2B2A) Generic Access (0x1800) - Device Name [R] (0x2A00) - Appearance [R] (0x2A01) - Peripheral Preferred Connection Parameters [R] (0x2A04) Nordic UART Service (6e400001-b5a3-f393-e0a9-e50e24dcca9e) - TX Characteristic [N] (6e400003-b5a3-f393-e0a9-e50e24dcca9e) Client Characteristic Configuration (0x2902) - RX Characteristic [W WNR] (6e400002-b5a3-f393-e0a9-e50e24dcca9e) D 08:02:12.412 gatt.setCharacteristicNotification(00002a05-0000-1000-8000-00805f9b34fb, true) D 08:02:12.414 gatt.setCharacteristicNotification(6e400003-b5a3-f393-e0a9-e50e24dcca9e, true) I 08:02:12.518 Connection parameters updated (interval: 45.0ms, latency: 0, timeout: 5000ms) I 08:02:16.891 Connection parameters updated (interval: 45.0ms, latency: 0, timeout: 420ms) V 08:02:35.153 Enabling services... V 08:02:35.153 Enabling indications for 00002a05-0000-1000-8000-00805f9b34fb D 08:02:35.153 gatt.setCharacteristicNotification(00002a05-0000-1000-8000-00805f9b34fb, true) D 08:02:35.154 gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x0200) I 08:02:35.242 Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 02-00 A 08:02:35.242 "Indications enabled" sent V 08:02:35.259 Indications enabled for 00002a05-0000-1000-8000-00805f9b34fb V 08:02:35.260 Enabling notifications for 6e400003-b5a3-f393-e0a9-e50e24dcca9e D 08:02:35.260 gatt.setCharacteristicNotification(6e400003-b5a3-f393-e0a9-e50e24dcca9e, true) D 08:02:35.262 gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x0100) I 08:02:35.331 Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 01-00 A 08:02:35.331 "Notifications enabled" sent V 08:02:35.336 Notifications enabled for 6e400003-b5a3-f393-e0a9-e50e24dcca9e V 08:02:35.337 All services enabled V 08:02:45.065 Reading remote RSSI... D 08:02:45.065 gatt.readRemoteRssi() I 08:02:45.083 Remote RSSI received: -52 dBm V 08:05:52.019 Disconnecting... D 08:05:52.019 gatt.disconnect() D 08:05:52.037 [Callback] Connection state changed with status: 0 and new state: DISCONNECTED (0) I 08:05:52.037 Disconnected D 08:05:53.075 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED