ok found the answer:
For MAX V devices, there are weak pull-up resistors for
TDI
and
TMS
, and pull-down
resistors for
TCK
. However, in a JTAG chain, there might be some devices that do not
have internal pull-up or pull-down resistors. In this case, Altera recommends pulling
the
TMS
pin high (through an external 10-k

resistor), and pulling
TCK
low (through an
external 1-k

resistor) during BST or in-system programmability (ISP) to prevent the
TAP controller from going into an unintended state. Pulling-up the
TDI
signal
externally for the MAX V device is optional.