To configure pegdbserver_console to handle Daisy Chaining, you have to provide a "config.ini" file. The command to provide the config.ini file is '-configfile=config.ini.
In the config.ini file, you have to create a section called STARTUP, with your daisy chain settings.
- jtag_use_daisy_chain: Boolean which enables the use of daisy chaining.
- jtag_tap_num: The nth JTAG device of the daisy chain.
- jtag_numbits_pre_ir: The number of IR bits following the selected TAP. ARM devices always consume 4 IR bits each so this value can be determined as follows:
- pre_ir = 4*(total_devices - tap_num)
For example, in your config.ini, you would have the following:
[STARTUP]
jtag_use_daisy_chain=1
user_specified_daisy_chain=1
jtag_tap_num=0
jtag_numbits_pre_ir=0