Forum Discussion
Altera_Forum
Honored Contributor
14 years agojtagd can run in one of two modes.
When started with the --user-start flag it will stop two minutes after the last client disconnects from it. If a client application needs access to jtagd then it will start a new jtagd process (if required) with this flag set. If started without the --user-start flag then jtagd will continue running until killed manually. This is intended for use if jtagd is to be run as a daemon from startup. The configuration file used by jtagd is also controllable from the command line with the --config <filename> option. By default the filename is /etc/jtagd/jtagd.conf, but if a jtag application started jtagd it will specify a configuration file in the users home directory. jtagd will listen on 0.0.0.0 if it is not going to automatically exit (no point in providing a service for only 2 minutes), and if the config file is within /etc/ (so that only the machine's administrator is able to open up ports). If either of these conditions is not true then it listens on 127.0.0.1. Once you have it listening on the correct addresss you will need to set a password in /etc/jtagd/jtagd.conf and (for older versions of ACDS) copy a couple of data files into /etc/jtagd in order to get remote jtag to work on Linux. These data files aren't needed in 12.0 or later as jtagd gets them from the acds install.