File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed
boards/arm/npcx9m6f_evb/doc Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -94,10 +94,32 @@ JTAG-only sessions.
9494Flashing
9595========
9696
97- Build application as usual for the ``npcx9m6f_evb `` board, and flash
98- using Servo V2, μServo, or Servo V4 (CCD). See the
97+ If the correct headers are installed, this board supports both J-TAG and also
98+ the ChromiumOS servo.
99+
100+ To flash using Servo V2, μServo, or Servo V4 (CCD), see the
99101`Chromium EC Flashing Documentation `_ for more information.
100102
103+ To flash with J-TAG, install the drivers for your programmer, for example:
104+ SEGGER J-link's drivers are at https://www.segger.com/downloads/jlink/
105+
106+ The openocd from Zephyr SDK 0.14.2 doesn't include npcx support, so build openocd from source.::
107+
108+ sudo apt-get install libftdi-dev libusb-1.0.0-dev
109+ git clone https://git.code.sf.net/p/openocd/code ~/openocd
110+ cd ~/openocd
111+ ./bootstrap
112+ ./configure --enable-jlink --enable-ftdi
113+ make clean
114+ make
115+ sudo make install
116+
117+ Build and flash the blinky sample.::
118+
119+ west build -t clean && \
120+ west build -c -p auto -b npcx9m6f_evb samples/basic/blinky && \
121+ west flash --hex-file build/zephyr/zephyr.npcx.hex \
122+ --openocd /usr/local/bin/openocd --openocd-search /usr/local/share/openocd/scripts
101123
102124Debugging
103125=========
You can’t perform that action at this time.
0 commit comments