Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OpenOCD uses a server-client architecture, it is therefore recommended to operate at least two concurrent terminals to the board, e.g. one UART Console and one SSH, or 2x SSH.
Open a third console for interactive debugging to monitor the UART between MCU and Linux.

Take MCU out of reset

The MCU may be kept in reset by GPIO1_IO5 of the Host. Release it:

Code Block
# check status of control gpios (reset, power)
gpioget -c /dev/gpiochip0 5 6
"5"=inactive "6"=active

# release reset
gpioset -c /dev/gpiochip0 5=1

Start OpenOCD

A suitable configuration file for SolidSense N8 with FWM7BLZ22W MCU is provided below:

...

microcom can be exited pressing ctrl+x.

Note: The MCU may be kept in reset by GPIO1_IO5 of the Host. Release it if needed: gpioset -c /dev/gpiochip0 5=1