Other Parts Discussed in Thread: EK-TM4C1294XL
Hi,
I am trying to control the XDS110 GPIOOUT pins in a custom embedded XDS110 design. In a related thread https://e2e.ti.com/support/microcontrollers/other/f/908/p/824023/3049028#3049028 I got the info that the logical GPIOOUT0 pin maps to PF0 on the Tiva MCU.
On the PC I am running this batch file to toggle GPIOOUT0..1 on and off:
:loop
dbgjtag.exe -f @xds110 -Y gpiopins,config=0x3,write=0x3
dbgjtag.exe -f @xds110 -Y gpiopins,config=0x3,write=0x0
goto loop
As a first test, I connect the original TMDSEMU110-U with the little AUX breakout board and apply 3.3V to TGTVDD(SENSE). I can see a square wave on GPIOOUT0 and GPIOOUT1 using an oscilloscope - as expected.
To try the same on custom hardware, I am using an EK-TM4C1294XL launchpad. I installed a 16 MHz crystal and flashed the XDS110 firmware. The board correctly shows up as XDS110 on the PC and the xdsdfu and dbgjtag tools will talk to it without a problem.
Running the batch scripts now, I see no activity on any of the PF0..3 pins, they all sit at 0V.
Reading back the GPIO config after running the batch file always returns 0 (on the TMDSEMU110, I see the config value 0x03 as set from batch file):
dbgjtag.exe -f @xds110 -Y gpiopins -v
-----[Print the board config pathname(s)]------------------------------------
xds110.i
-----[Print the controller-open software log-file]---------------------------
The library build date was 'Jan 24 2019'.
The library build time was '14:27:46'.
The library package version is '8.0.903.6'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.
The controller has a version number of '5' (0x00000005).
The controller has an insertion length of '0' (0x00000000).
The user GPIO pin config is 0x00.
The user GPIO pin input is 0x00.
What am I doing wrong? Do the version pins PK4..7 need to be set to a specific value? Is there some other connection that I need to make to get the GPIOs to function?
Thanks for your help