Which HS2 FTDI GPIO pin controls tri-state of the TMS pin?
We have successfully connected the Digilent HS2 to our device with OpenOCD using the JTAG interface. We would like to change the transport to the 2-wire SWD interface. To do this, we need to define a SWD_EN signal which is used to drive or tristate the SWDIO (aka TMS) pin.
"The masks are FTDI GPIO register bitmasks to tell the driver the connection and type of the output buffer driving the respective signal. data_mask is the bitmask for the pin(s) connected to the data input of the output buffer."
Question
Joshua Nekl
Which HS2 FTDI GPIO pin controls tri-state of the TMS pin?
We have successfully connected the Digilent HS2 to our device with OpenOCD using the JTAG interface. We would like to change the transport to the 2-wire SWD interface. To do this, we need to define a SWD_EN signal which is used to drive or tristate the SWDIO (aka TMS) pin.
https://openocd.org/doc/html/Debug-Adapter-Configuration.html
ftdi_layout_signal SWD_EN -data mask
"The masks are FTDI GPIO register bitmasks to tell the driver the connection and type of the output buffer driving the respective signal. data_mask is the bitmask for the pin(s) connected to the data input of the output buffer."
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now