| 
 | 1 | +.. zephyr:board:: nrf54lm20dk  | 
 | 2 | +
  | 
 | 3 | +Overview  | 
 | 4 | +********  | 
 | 5 | + | 
 | 6 | +The nRF54LM20 Development Kit hardware provides support for the Nordic Semiconductor  | 
 | 7 | +nRF54LM20A Arm Cortex-M33 CPU and the following devices:  | 
 | 8 | + | 
 | 9 | +* :abbr:`SAADC (Successive Approximation Analog to Digital Converter)`  | 
 | 10 | +* CLOCK  | 
 | 11 | +* RRAM  | 
 | 12 | +* :abbr:`GPIO (General Purpose Input Output)`  | 
 | 13 | +* :abbr:`TWIM (I2C-compatible two-wire interface master with EasyDMA)`  | 
 | 14 | +* MEMCONF  | 
 | 15 | +* :abbr:`MPU (Memory Protection Unit)`  | 
 | 16 | +* :abbr:`NVIC (Nested Vectored Interrupt Controller)`  | 
 | 17 | +* :abbr:`PWM (Pulse Width Modulation)`  | 
 | 18 | +* :abbr:`GRTC (Global real-time counter)`  | 
 | 19 | +* Segger RTT (RTT Console)  | 
 | 20 | +* :abbr:`SPI (Serial Peripheral Interface)`  | 
 | 21 | +* :abbr:`UARTE (Universal asynchronous receiver-transmitter)`  | 
 | 22 | +* :abbr:`WDT (Watchdog Timer)`  | 
 | 23 | + | 
 | 24 | +Hardware  | 
 | 25 | +********  | 
 | 26 | + | 
 | 27 | +nRF54LM20 DK has two crystal oscillators:  | 
 | 28 | + | 
 | 29 | +* High-frequency 32 MHz crystal oscillator (HFXO)  | 
 | 30 | +* Low-frequency 32.768 kHz crystal oscillator (LFXO)  | 
 | 31 | + | 
 | 32 | +The crystal oscillators can be configured to use either  | 
 | 33 | +internal or external capacitors.  | 
 | 34 | + | 
 | 35 | +Supported Features  | 
 | 36 | +==================  | 
 | 37 | + | 
 | 38 | +.. zephyr:board-supported-hw::  | 
 | 39 | +
  | 
 | 40 | +Programming and Debugging  | 
 | 41 | +*************************  | 
 | 42 | + | 
 | 43 | +.. zephyr:board-supported-runners::  | 
 | 44 | +
  | 
 | 45 | +Applications for the ``nrf54lm20dk/nrf54lm20a/cpuapp`` board target can be  | 
 | 46 | +built, flashed, and debugged in the usual way. See  | 
 | 47 | +:ref:`build_an_application` and :ref:`application_run` for more details on  | 
 | 48 | +building and running.  | 
 | 49 | + | 
 | 50 | +Applications for the ``nrf54lm20dk/nrf54lm20a/cpuflpr`` board target need  | 
 | 51 | +to be built using sysbuild to include the ``vpr_launcher`` image for the application core.  | 
 | 52 | + | 
 | 53 | +Enter the following command to compile ``hello_world`` for the FLPR core:  | 
 | 54 | + | 
 | 55 | +.. code-block:: console  | 
 | 56 | +
  | 
 | 57 | +   west build -p -b nrf54lm20dk/nrf54lm20a/cpuflpr --sysbuild  | 
 | 58 | +
  | 
 | 59 | +
  | 
 | 60 | +Flashing  | 
 | 61 | +========  | 
 | 62 | + | 
 | 63 | +As an example, this section shows how to build and flash the :zephyr:code-sample:`hello_world`  | 
 | 64 | +application.  | 
 | 65 | + | 
 | 66 | +.. warning::  | 
 | 67 | + | 
 | 68 | +   When programming the device, you might get an error similar to the following message::  | 
 | 69 | + | 
 | 70 | +    ERROR: The operation attempted is unavailable due to readback protection in  | 
 | 71 | +    ERROR: your device. Please use --recover to unlock the device.  | 
 | 72 | + | 
 | 73 | +   This error occurs when readback protection is enabled.  | 
 | 74 | +   To disable the readback protection, you must *recover* your device.  | 
 | 75 | + | 
 | 76 | +   Enter the following command to recover the core::  | 
 | 77 | + | 
 | 78 | +    west flash --recover  | 
 | 79 | + | 
 | 80 | +   The ``--recover`` command erases the flash memory and then writes a small binary into  | 
 | 81 | +   the recovered flash memory.  | 
 | 82 | +   This binary prevents the readback protection from enabling itself again after a pin  | 
 | 83 | +   reset or power cycle.  | 
 | 84 | + | 
 | 85 | +Follow the instructions in the :ref:`nordic_segger` page to install  | 
 | 86 | +and configure all the necessary software. Further information can be  | 
 | 87 | +found in :ref:`nordic_segger_flashing`.  | 
 | 88 | + | 
 | 89 | +To build and program the sample to the nRF54LM20 DK, complete the following steps:  | 
 | 90 | + | 
 | 91 | +First, connect the nRF54LM20 DK to you computer using the IMCU USB port on the DK.  | 
 | 92 | +Next, build the sample by running the following command:  | 
 | 93 | + | 
 | 94 | +.. zephyr-app-commands::  | 
 | 95 | +   :zephyr-app: samples/hello_world  | 
 | 96 | +   :board: nrf54lm20dk/nrf54lm20a/cpuapp  | 
 | 97 | +   :goals: build flash  | 
 | 98 | + | 
 | 99 | +Testing the LEDs and buttons in the nRF54LM20 DK  | 
 | 100 | +************************************************  | 
 | 101 | + | 
 | 102 | +Test the nRF54LM20 DK with a :zephyr:code-sample:`blinky` sample.  | 
0 commit comments