Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updating numbered headings

...

This application note has been explicitly tested on the NXP MIMXRT1060-EVKB board, however, it should apply to the other NXP EVK boards in the i.MX RT family as well, perhaps, with some minor changes to the software.

1. Connecting MIMXRT1060-EVKB Board to the NAVQ+ Kit

...

The following hardware setup is required for installing and running a Zephyr sample on the NXP MIMXRT1060-EVKB board:

  1. Remove jumpers J9 and J10, to disconnect the SWD signals from onboard debug circuit.  These jumpers are installed by default.

  2. Use default power selection on J40 with pins 5-6 shorted (power supply via J1).

  3. Connect the external J-Link probe to J2, 20-pin dual-row 0.1" header.

  4. Connect the Ethernet cable to the RJ45 connector (J43) and to the local network.

  5. Connect a USB hub to the NAVQ+ kit.

  6. Connect a USB cable from the USB hub to J1. The USB connector J1 is used to power the board, and provides a UART/USB bridge through the onboard debug circuit (serial console). It is important to power up the board before powering up J-Link.

  7. Connect a USB cable from the USB hub to the J-Link probe. It is important to do so after the board has been powered up, otherwise, the J-Link probe won't be able to detect the MCU.

2. Connecting MIMXRT1060-EVKB Board to a Linux PC

The MIMXRT1060-EVKB Board can be connected to any Linux PC the same way as it is connected to the NAVQ+ kit. Note that the USB hub is not necessary if the Linux PC has more than one USB port.

3. Building Zephyr for MIMXRT1060-EVKB Board

Zephyr samples can be built as described in the Zephyr Project documentation:

...

Code Block
cd zephyr
west build -p always -b mimxrt1060_evkb samples/hello_world

4. Installing Zephyr on MIMXRT1060-EVKB Board from the NAVQ+ Kit

Use west to install Zephyr from the NAVQ+ Kit:

Code Block
user@imx8mpnavq:~/work/zephyrproject/zephyr$ west flash
-- west flash: rebuilding
ninja: no work to do.
-- west flash: using runner jlink
-- runners.jlink: JLink version: 7.92g
-- runners.jlink: Flashing file: /mnt/sdcard/work/zephyrproject/zephyr/build/zephyr/zephyr.bin

5. Installing Zephyr on MIMXRT1060-EVKB Board from a Linux PC

If the J-Link probe is directly connected to the build machine then the “west flash" command can be used to flash the sample as described in the Zephyr Project documentation:

...

Code Block
*** Booting Zephyr OS build emcraft-ef041c6-2-gdaa341a973af ***

6. Controlling MIMXRT1060-EVKB Board LEDs from the NAVQ+ Kit

Emcraft provides the simple Zephyr demo (emcraft/app/led_network_control) that allows to control the board LEDs from the NAVQ+ kit over the local network.

...