Nios® V Processor Software Developer Handbook

ID 743810
Date 10/12/2024
Public
Document Table of Contents

16.2.3.5. openocd-cfg-gen

Synopsis

openocd-cfg-gen [OPTIONS] <CONFIGURATION FILE>

Description

Generate the OpenOCD configuration file, that contain information of the active Test Access Ports (TAPs) on the device for Nios® V processor debugging. You can refer to the JTAG chain device index when selecting the cable, device and instance.

Usage

#Display the JTAG chain device index
openocd-cfg-gen --print 

#Generate OpenOCD configuration file (niosv-m.cfg)
openocd-cfg-gen niosv-m.cfg

Options

Option Description
--cable=CABLE, -c CABLE Specify the cable of the targeted Nios® V processor.
--device=DEVICE, -d DEVICE Specify the device of the targeted Nios® V processor.
--instance=INSTANCE,--i INSTANCE Specify the instance of the targeted Nios® V processor.
--bridge=BRIDGE,-b BRIDGE Specify the bridge of the targeted Nios® V processor.
--help, -h Display the help message.
--print, -p Display the JTAG chain device index.