nuttx/boards/arm/nrf53/nrf5340-dk
2023-03-15 22:08:27 +01:00
..
configs boards/nrf5340-dk: add PWM configuration 2023-03-15 22:08:27 +01:00
include boards/nrf5340-dk: add PWM configuration 2023-03-15 22:08:27 +01:00
scripts boards/nrf5340-dk: add support for rptun 2023-03-09 14:21:42 +08:00
src boards/nrf5340-dk: add PWM configuration 2023-03-15 22:08:27 +01:00
Kconfig
README.txt nrf5340-dk/nsh_cpunet: add net core configuration 2023-03-04 12:35:14 +09:00

nRF5340-DK
==========

README for NuttX port to NRF5340 DK (PCA10095) boards.

Tool Issues
===========

  OpenOCD
  -------------
  There is no support official support for Nordic Cortex M33 chips (nRF9160 or nRF5340).

  Segger J-Link
  -------------
  To start the GDB servers for the application core and the network core, use these commands:

    JLinkGDBServer -device nRF5340_xxAA_APP -autoconnect 1 -if SWD -speed 4000 -port 2331 -swoport 2332 -telnetport 2333
    JLinkGDBServer -device nRF5340_xxAA_NET -autoconnect 1 -if SWD -speed 4000 -port 2334 -swoport 2335 -telnetport 2336

  Then you can connect GDB to targets:

    (gdb_app) target remote localhost:2331
    (gdb_net) target remote localhost:2334

  Flashing locked device
  ----------------------

  1. Unlock the Net core:

    nrfjprog --recover --coprocessor CP_NETWORK

  2. Unlock the App core:

    nrfjprog --recover

  3. Flash the Net core:

    nrfjprog --coprocessor CP_NETWORK --program nuttx_net.hex --verify --chiperase

  4. Flash the App core:

    nrfjprog --program nuttx_app.hex --verify --chiperase