Part 1
요약·해설
BL654 USB는 USB CDC console과 built-in bootloader를 제공하지만 board 자체 debugging은 지원하지 않습니다. Firmware는 nrfutil package와 USB serial DFU로 설치합니다.

451-00004
USB CDC
nrfutil USB serial DFU
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
1831B466705F84767D8B93DDCB4C6510A01ACB381E4ED23B92050432C1601BD7
.. _bl654_usb:
Ezurio BL654 USB (451-00004)
############################
Overview
********
The BL654 USB adapter hardware (Ezurio part 451-00004) provides
support for the Ezurio BL654 module powered by a Nordic
Semiconductor nRF52840 ARM Cortex-M4F CPU.
This USB adapter has the following features:
* CLOCK
* FLASH
* :abbr:`GPIO (General Purpose Input Output)`
* :abbr:`MPU (Memory Protection Unit)`
* :abbr:`NVIC (Nested Vectored Interrupt Controller)`
* :abbr:`PWM (Pulse Width Modulation)`
* RADIO (Bluetooth Low Energy and 802.15.4)
* :abbr:`USB (Universal Serial Bus)`
* :abbr:`WDT (Watchdog Timer)`
* :abbr:`RTC (nRF RTC System Clock)`
.. figure:: ../../../../../../../boards/ezurio/bl654_usb/doc/img/bl654_usb.jpg
:align: center
:alt: BL654 USB adapter
BL654 USB Adapter
.. figure:: ../../../../../../../boards/ezurio/bl654_usb/doc/img/bl654_usb_pcb.jpg
:align: center
:alt: 451-00004 Box Contents
BL654 USB Adapter PCB
More information about the BL654 USB adapter can be found on the `BL654 USB
Dongle Quick Start Guide`_. There is more information on the BL654 range on
the `BL654 website`_.
Hardware
********
Supported Features
==================
The BL654 USB board configuration supports the following
hardware features:
+-----------+------------+----------------------+
| Interface | Controller | Driver/Component |
+===========+============+======================+
| CLOCK | on-chip | clock_control |
+-----------+------------+----------------------+
| FLASH | on-chip | flash |
+-----------+------------+----------------------+
| GPIO | on-chip | gpio |
+-----------+------------+----------------------+
| MPU | on-chip | arch/arm |
+-----------+------------+----------------------+
| NVIC | on-chip | arch/arm |
+-----------+------------+----------------------+
| PWM | on-chip | pwm |
+-----------+------------+----------------------+
| RADIO | on-chip | Bluetooth, |
| | | ieee802154 |
+-----------+------------+----------------------+
| RTC | on-chip | system clock |
+-----------+------------+----------------------+
| USB | on-chip | usb |
+-----------+------------+----------------------+
| WDT | on-chip | watchdog |
+-----------+------------+----------------------+
Other hardware features have not been enabled yet for this board.
See `BL654 website`_
for a complete list of BL654 USB adapter hardware features.
Connections and IOs
===================
LED
---
* LED1 (blue) = P0.13
Push buttons
------------
* RESET = SW1 = nReset
Serial Port
===========
Zephyr console output is available as follows:
- using the USB connector, which may be used to make the console available on PC as
USB CDC class.
Programming and Debugging
*************************
Applications for the ``bl654_usb`` board configuration can be
built in the usual way (see :ref:`build_an_application` for more details). The
``bl654_usb`` board cannot be used for debugging. The compatible BL654 DVK
board can be used for development. Documentation can be found at the :ref:`bl654_dvk`
site and :zephyr_file:`boards/ezurio/bl654_dvk/doc/bl654_dvk.rst`
Flashing
========
The board supports programming using the built-in bootloader.
The board is factory-programmed with a Ezurio variation of Nordic's
open bootloader from Nordic's nRF5x SDK. With this option, you'll use
Nordic's `nrfutil`_ program to create firmware packages supported by this
bootloader and flash them to the device. Make sure ``nrfutil`` is installed
before proceeding. These instructions were tested with version 6.1.0.
#. With the adapter plugged in, reset the board into the bootloader by pressing
the RESET button.
The push button is in a pin-hole on the logo side of the USB adapter.
.. image:: ../../../../../../../boards/ezurio/bl654_usb/doc/img/bl654_usb_reset.jpg
:align: center
:alt: Location of RESET button
The blue LED should start a fade pattern, signalling the bootloader is
running.
#. Compile a Zephyr application; we'll use :zephyr:code-sample:`blinky`.
.. zephyr-app-commands::
:app: zephyr/samples/basic/blinky
:board: bl654_usb
:goals: build
#. Package the application for the bootloader using ``nrfutil``:
.. code-block:: console
nrfutil pkg generate --hw-version 52 --sd-req=0x00 \
--application build/zephyr/zephyr.hex \
--application-version 1 blinky.zip
#. Flash it onto the board. Note :file:`/dev/ttyACM0` is for Linux; it will be
something like ``COMx`` on Windows, and something else on macOS.
.. code-block:: console
nrfutil dfu usb-serial -pkg blinky.zip -p /dev/ttyACM0
When this command exits, observe the blue LED on the board blinking.
Testing Bluetooth on the BL654 USB
***********************************
Many of the Bluetooth examples will work on the BL654 USB.
Try them out:
* :ref:`ble_peripheral`
* :ref:`bluetooth-eddystone-sample`
* :ref:`bluetooth-ibeacon-sample`
Testing the LED on the BL654 USB
************************************************
There is a sample that allows you to test that the LED on
the board is working properly with Zephyr:
* :zephyr:code-sample:`blinky`
You can build and flash the example to make sure Zephyr is running correctly on
your board. The LED definitions can be found in
:zephyr_file:`boards/ezurio/bl654_usb/bl654_usb.dts`.
References
**********
.. target-notes::
.. _BL654 USB Dongle Quick Start Guide: https://www.ezurio.com/documentation/user-guide-bl654-usb-nordic-sdk-zephyr
.. _BL654 website: https://ezurio.com/wireless-modules/bluetooth-modules/bluetooth-5-modules/bl654-series
.. _J-Link Software and documentation pack: https://www.segger.com/jlink-software.html
.. _Creating a secure bootloader image: https://www.ezurio.com/documentation/application-note-creating-secure-bootloader-image-bl654-usb
.. _nrfutil: https://github.com/NordicSemiconductor/pc-nrfutil
Part 3
한국어 전문 번역
개요
BL654 USB adapter(Ezurio part 451-00004)는 Nordic Semiconductor nRF52840 ARM Cortex-M4F CPU 기반 Ezurio BL654 module을 지원합니다.
Adapter 기능은 CLOCK, FLASH, GPIO, MPU, NVIC, PWM, Bluetooth LE·802.15.4 RADIO, USB, WDT와 RTC입니다.


Hardware
지원 기능
BL654 USB board configuration이 지원하는 hardware는 다음과 같습니다. 그 밖의 feature는 아직 활성화되지 않았습니다.
| Interface | Controller | Driver/Component |
|---|---|---|
| CLOCK | on-chip | clock_control |
| FLASH | on-chip | flash |
| GPIO | on-chip | gpio |
| MPU | on-chip | arch/arm |
| NVIC | on-chip | arch/arm |
| PWM | on-chip | pwm |
| RADIO | on-chip | Bluetooth, ieee802154 |
| RTC | on-chip | system clock |
| USB | on-chip | usb |
| WDT | on-chip | watchdog |
연결과 I/O
Blue LED인 LED1은 P0.13이고 RESET button은 SW1=nReset입니다.
Serial Port
USB connector를 사용하면 Zephyr console을 PC의 USB CDC class device로 제공할 수 있습니다.
Programming과 Debugging
bl654_usb application은 일반적인 Zephyr 방식으로 build할 수 있습니다. 이 board 자체는 debugging에 사용할 수 없으므로 compatible BL654 DVK를 development에 사용하십시오.
Flashing
Board는 built-in bootloader programming을 지원합니다. Factory image는 Nordic nRF5x SDK open bootloader의 Ezurio variant입니다. Nordic nrfutil로 bootloader-compatible firmware package를 만들고 flash합니다. 아래 절차는 version 6.1.0에서 시험됐습니다.
- Adapter를 연결한 상태에서 RESET button을 눌러 bootloader로 reset합니다. Button은 adapter logo 쪽 pin-hole 안에 있습니다. Blue LED가 fade pattern을 시작하면 bootloader가 실행 중입니다.

BL654 USB adapter RESET button 위치 blinkyZephyr application을 compile합니다.west build -b bl654_usb samples/basic/blinkynrfutil로 package를 생성합니다.nrfutil pkg generate --hw-version 52 --sd-req=0x00 \ --application build/zephyr/zephyr.hex \ --application-version 1 blinky.zip- Board에 flash합니다. Linux는
/dev/ttyACM0, Windows는COMx, macOS는 해당 system의 port를 사용합니다.
명령이 끝나면 blue LED가 blinking하는지 확인합니다.nrfutil dfu usb-serial -pkg blinky.zip -p /dev/ttyACM0
Bluetooth 시험
Bluetooth peripheral, Eddystone과 iBeacon sample을 BL654 USB에서 실행할 수 있습니다.
LED 시험
blinky sample로 LED와 Zephyr 동작을 확인합니다. LED 정의는 boards/ezurio/bl654_usb/bl654_usb.dts에 있습니다.
참고 자료
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.