Set up the hardware
Before you can work with the board, here are a few things you must do. You'll need to connect the board and set the DIP switches. For more information, see the hardware guide for the i.MX8QM MEK on the NXP website.
Connect the hardware
- a USB 2.0 A-Male to Micro-B cable
- an Ethernet cable
Use only the 12V DC power supply provided with the board. Use of any other power supply may permanently damage the board.
To connect the i.MX8QM MEK:
- Insert the SD card with your QNX IPL and QNX-IFS image file into the selected boot slot on the board (J19).
- Connect a USB cable from the board's DEBUG UART (J18) to the USB port on your host machine.
- Connect the Ethernet cable to the Ethernet jack on the board (J14).
- If you want to run graphics on your board, connect your monitor with a LVDS IMX-LVDS-HDMI adapter to the J7 port on the board.
- Connect the board's 12V DC power supply to the J16 connect on the board.
- Press the Reset switch (SW3) on the board to turn on the power on the board.
- Identify the host serial port on your host system: On a Linux you can check which port is the host serial port by looking at what port appears when the cable is inserted. To do this, type the command:
$ ls /dev/ttyUSB*
On a Windows system, open the Device Manager and expand the
Ports (COM and LPT)
section. Then, look for a COM port named Gadget Serial or USB Serial Port. - Connect to the COM port using your favorite terminal program with these settings:
- Baud rate: 115200
- Data: 8 bit
- Parity: none
- Stop: 1 bit
- Flow control: none
For more information about the VCP driver and terminal programs, see the
Required software
section of theBefore You Begin
chapter in this guide.
Set DIP switches on the i.MX8QM MEK
If this is the first time you're booting the board, you need to set the boot mode switch to boot using an SD card. On the i.MX8QM MEK, the boot mode switch is SW2. After you successfully boot the board with QNX OS , you can prepare it to boot using eMMC or xSPI NOR Flash memory.
Boot mode | Pin 1 | Pin 2 | Pin 3 | Pin 4 | Pin 5 | Pin 6 |
---|---|---|---|---|---|---|
Fuse | 0 | 0 | 0 | 0 | 0 | 0 |
Serial Boot | 0 | 0 | 1 | 0 | 0 | 0 |
eMMC0 | 0 | 0 | 0 | 1 | 0 | 0 |
SD card | 0 | 0 | 1 | 1 | 0 | 0 |
Octal xSPI NOR Flash | 0 | 0 | 0 | 1 | 1 | 0 |
SATA | 0 | 0 | 0 | 0 | 0 | 1 |
Boot from an eMMC memory deviceand
Boot using xSPI NOR flash, respectively.