boards/nxp/frdm_ke17z512/doc/index.html · boards/nxp/frdm_ke17z512/doc/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · NXP · FRDM-KE17Z512

NXP FRDM-KE17Z512

512 KB flash와 Arduino-compatible I/O, OpenSDAv2를 갖춘 96 MHz Kinetis KE17Z 개발 보드입니다.

Official pathboards/nxp/frdm_ke17z512/doc/index.html
Source fileboards/nxp/frdm_ke17z512/doc/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

KE17Z512의 512 KB flash, 48 MHz FIRC와 UART2 console을 정리하고 LinkServer/J-Link로 flash·debug하는 흐름을 설명합니다.

MCU

MKE17Z512VLL9 · 96 MHz

Memory

512 KB Flash · 96 KB RAM

Debug

OpenSDAv2 · LinkServer · J-Link

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 A431EEBABBEFF9311CA36D07D3A350155857B32BB9056A25AA5A6BD353B4A099
.. _frdm_ke17z512:

NXP  FRDM-KE17Z512
##################

Overview
********

The FRDM-KE17Z512 is a development board for NXP Kinetis KE1xZ 32-bit
MCU-based platforms. The onboard OpenSDAv2 serial and debug adapter,
running an open source bootloader, offers options for serial
communication, flash programming, and run-control debugging.

.. figure:: ../../../../../../../boards/nxp/frdm_ke17z512/doc/frdm_ke17z512.webp
   :align: center
   :alt: FRDM-KE17Z512

   FRDM-KE17Z512 (Credit: NXP)

Hardware
********

- MKE17Z512VLL9 MCU (up to 96  MHz, 512 KB flash memory, 96 KB RAM,
  and 100 Low profile Quad Flat Package (LQFP))
- 3.3 V or 5 V MCU operation
- 6-axis FXOS8700CQ digital accelerometer and magnetometer
- RGB LED
- Two user push-buttons
- Thermistor
- Arduino compatible I/O pin header
- OpenSDA on-board debugger
- Two Touch Electrodes

For more information about the KE1xZ SoC and the FRDM-KE17Z512 board, see
these NXP reference documents:

- `KE1xZ Website`_
- `KE1xZ Fact Sheet`_
- `KE1xZ Reference Manual`_
- `FRDM-KE17Z512 Website`_
- `FRDM-KE17Z512 Quick Start Guide`_
- `FRDM-KE17Z512 Reference Manual`_

Supported Features
==================

The frdm_ke17z512 board configuration supports the following hardware
features:

+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component                    |
+===========+============+=====================================+
| NVIC      | on-chip    | nested vector interrupt controller  |
+-----------+------------+-------------------------------------+
| SYSTICK   | on-chip    | systick                             |
+-----------+------------+-------------------------------------+
| GPIO      | on-chip    | gpio                                |
+-----------+------------+-------------------------------------+
| UART      | on-chip    | uart polling;                       |
|           |            | uart interrupt                      |
+-----------+------------+-------------------------------------+
| I2C       | on-chip    | I2C                                 |
+-----------+------------+-------------------------------------+


The default configuration can be found in the defconfig file:
``boards/nxp/frdm_ke17z512/frdm_ke17z512_defconfig``.

Other hardware features are not currently supported by the port.

System Clock
============

The KE17Z9 SoC is configured to run at 48 MHz using the FIRC.

Serial Port
===========

The KE17Z9 SoC has three LPUARTs. UART2 is configured for the console.

Programming and Debugging
*************************

Build and flash applications as usual (see :ref:`build_an_application` and
:ref:`application_run` for more details).

Configuring a Debug Probe
=========================

A debug probe is used for both flashing and debugging the board. This board is
configured by default to use Linkserver.

Early versions of this board have an outdated version of the OpenSDA bootloader
and require an update. Please see the `DAPLink Bootloader Update`_ page for
instructions to update from the CMSIS-DAP bootloader to the DAPLink bootloader.

Option 1: Linkserver
--------------------

Install the :ref:`linkserver-debug-host-tools` and make sure they are in your
search path.  LinkServer works with the default CMSIS-DAP firmware included in
the on-board debugger.

Linkserver is the default for this board, ``west flash`` and ``west debug`` will
call the linkserver runner.

Option 2: :ref:`opensda-jlink-onboard-debug-probe`
--------------------------------------------------

Install the :ref:`jlink-debug-host-tools` and make sure they are in your search
path.

Follow the instructions in :ref:`opensda-jlink-onboard-debug-probe` to program
the `Segger J-Link OpenSDA V2.1 Firmware`_.
Use the ``-r jlink`` option with west to use the jlink runner.

.. code-block:: console

   west flash -r jlink

Configuring a Console
=====================

Regardless of your choice in debug probe, we will use the OpenSDA
microcontroller as a usb-to-serial adapter for the serial console.

Connect a USB cable from your PC to J10.

Use the following settings with your serial terminal of choice (minicom, putty,
etc.):

- Speed: 115200
- Data: 8 bits
- Parity: None
- Stop bits: 1

Flashing
========

Here is an example for the :ref:`hello_world` application.

.. zephyr-app-commands::
   :zephyr-app: samples/hello_world
   :board: frdm_ke17z512
   :goals: flash

Open a serial terminal, reset the board (press the SW1 button), and you should
see the following message in the terminal:

.. code-block:: console

   *** Booting Zephyr OS build v3.6.0-xxxx-gxxxxxxxxxxxx ***
   Hello World! frdm_ke17z512/mke17z9

Debugging
=========

Here is an example for the :ref:`hello_world` application.

.. zephyr-app-commands::
   :zephyr-app: samples/hello_world
   :board: frdm_ke17z512
   :goals: debug

Open a serial terminal, step through the application in your debugger, and you
should see the following message in the terminal:

.. code-block:: console

   *** Booting Zephyr OS build v3.6.0-xxxx-gxxxxxxxxxxxx ***
   Hello World! frdm_ke17z512/mke17z9

.. _FRDM-KE17Z512 Website:
   https://www.nxp.com/design/design-center/development-boards-and-designs/general-purpose-mcus/frdm-development-board-for-96-mhz-ke17z-ke13z-ke12z-with-512-kb-flash-mcus:FRDM-KE17Z512

.. _FRDM-KE17Z512 Quick Start Guide:
   https://www.nxp.com/docs/en/quick-reference-guide/FRDMKE17Z512QSG.pdf

.. _FRDM-KE17Z512 Reference Manual:
   https://www.nxp.com/docs/en/reference-manual/KE1XZP100M96SF0RM.pdf

.. _KE1xZ Website:
   https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/ke-series-arm-cortex-m4-m0-plus/ke1xz-arm-cortex-m0-plus-5v-main-stream-mcu-with-nxp-touch-and-can-control:KE1xZ

.. _KE1xZ Fact Sheet:
   https://www.nxp.com/docs/en/fact-sheet/KE1xZMCUFAMFS.pdf

.. _KE1xZ Reference Manual:
   https://www.nxp.com/webapp/Download?colCode=KE1XZP100M72SF0RM

.. _linkserver-debug-host-tools:
   https://www.nxp.com/lgfiles/updates/mcuxpresso/LinkServer_1.5.30.exe

.. _Segger J-Link OpenSDA V2.1 Firmware:
   https://www.segger.com/downloads/jlink/OpenSDA_V2_1.bin

.. _DAPLink Bootloader Update:
   https://os.mbed.com/blog/entry/DAPLink-bootloader-update/

.. _jlink-debug-host-tools:
   https://www.segger.com/downloads/jlink/JLink_Windows_V794_x86_64.exe

Part 3

한국어 전문 번역

개요

FRDM-KE17Z512는 NXP Kinetis KE1xZ 32-bit MCU platform용 development board입니다. open-source bootloader를 실행하는 on-board OpenSDAv2 serial/debug adapter가 serial communication, flash programming, run-control debugging을 제공합니다.

FRDM-KE17Z512
FRDM-KE17Z512. 이미지 출처: NXP, Zephyr 3.7.0.

하드웨어

  • MKE17Z512VLL9 MCU: 최대 96 MHz, 512 KB flash memory, 96 KB RAM, 100-pin LQFP
  • 3.3 V 또는 5 V MCU operation
  • 6-axis FXOS8700CQ digital accelerometer/magnetometer
  • RGB LED와 user push button 2개
  • thermistor와 touch electrode 2개
  • Arduino-compatible I/O pin header
  • OpenSDA on-board debugger

지원 기능

인터페이스컨트롤러드라이버/컴포넌트
NVICon-chipnested vector interrupt controller
SYSTICKon-chipsystick
GPIOon-chipgpio
UARTon-chipuart polling; uart interrupt
I2Con-chipI2C

기본 구성은 boards/nxp/frdm_ke17z512/frdm_ke17z512_defconfig에 있습니다. 그 밖의 하드웨어 기능은 현재 이 port에서 지원되지 않습니다.

Clock과 Serial

KE17Z9 SoC는 FIRC를 사용해 48 MHz로 동작합니다. LPUART는 3개이며 UART2가 console로 구성됩니다.

프로그래밍과 디버깅

기본 runner는 LinkServer입니다. 초기 보드의 오래된 OpenSDA bootloader는 DAPLink Bootloader Update 지침에 따라 CMSIS-DAP에서 DAPLink bootloader로 update해야 합니다.

선택 1: LinkServer

LinkServer debug host tool을 설치해 search path에 포함하십시오. on-board debugger의 기본 CMSIS-DAP firmware와 동작하며 west flash와 west debug가 linkserver runner를 호출합니다.

선택 2: OpenSDA J-Link on-board probe

J-Link debug host tool을 설치하고 OpenSDA J-Link 지침에 따라 SEGGER J-Link OpenSDA V2.1 Firmware를 program하십시오. West에서 -r jlink를 사용합니다.

west flash -r jlink

Console 구성

OpenSDA를 USB-to-serial adapter로 사용합니다. PC에서 J10으로 USB cable을 연결하고 115200 baud, 8 data bits, parity None, 1 stop bit로 설정하십시오.

Flash

west build -b frdm_ke17z512 samples/hello_world
west flash

SW1으로 reset하면 다음 출력이 표시됩니다.

*** Booting Zephyr OS build v3.6.0-xxxx-gxxxxxxxxxxxx ***
Hello World! frdm_ke17z512/mke17z9

Debug

west build -b frdm_ke17z512 samples/hello_world
west debug

debugger에서 단계 실행하면 다음 출력이 표시됩니다.

*** Booting Zephyr OS build v3.6.0-xxxx-gxxxxxxxxxxxx ***
Hello World! frdm_ke17z512/mke17z9

참고 자료

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.