From a4fc45bba656d67cc734e0d95aa08f975d297d57 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Wed, 18 Oct 2023 09:11:47 +0200 Subject: [PATCH] targets/efinix_titanium_ti60_f225_dev_kit: adding jtagbone support (`litex_server --jtag --jtag-config openocd_titanium_ft4232.cfg`) --- litex_boards/targets/efinix_titanium_ti60_f225_dev_kit.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/litex_boards/targets/efinix_titanium_ti60_f225_dev_kit.py b/litex_boards/targets/efinix_titanium_ti60_f225_dev_kit.py index 4bf6447d..c4a9d748 100755 --- a/litex_boards/targets/efinix_titanium_ti60_f225_dev_kit.py +++ b/litex_boards/targets/efinix_titanium_ti60_f225_dev_kit.py @@ -53,6 +53,7 @@ class BaseSoC(SoCCore): def __init__(self, sys_clk_freq=200e6, with_spi_flash = False, with_hyperram = False, + with_jtagbone = False, with_ethernet = False, with_etherbone = False, eth_phy = 0, @@ -66,6 +67,10 @@ class BaseSoC(SoCCore): # SoCCore ---------------------------------------------------------------------------------- SoCCore.__init__(self, platform, sys_clk_freq, ident="LiteX SoC on Efinix Titanium Ti60 F225 Dev Kit", **kwargs) + # JTAGBone --------------------------------------------------------------------------------- + if with_jtagbone: + self.add_jtagbone() + # SPI Flash -------------------------------------------------------------------------------- if with_spi_flash: from litespi.modules import W25Q64JW @@ -117,6 +122,7 @@ def main(): parser.add_target_argument("--sys-clk-freq", default=200e6, type=float, help="System clock frequency.") parser.add_target_argument("--with-spi-flash", action="store_true", help="Enable SPI Flash (MMAPed).") parser.add_target_argument("--with-hyperram", action="store_true", help="Enable HyperRAM.") + parser.add_target_argument("--with-jtagbone", action="store_true", help="Enable JTAGbone support.") sdopts = parser.target_group.add_mutually_exclusive_group() sdopts.add_argument("--with-spi-sdcard", action="store_true", help="Enable SPI-mode SDCard support.") sdopts.add_argument("--with-sdcard", action="store_true", help="Enable SDCard support.") @@ -131,6 +137,7 @@ def main(): sys_clk_freq = args.sys_clk_freq, with_spi_flash = args.with_spi_flash, with_hyperram = args.with_hyperram, + with_jtagbone = args.with_jtagbone, with_ethernet = args.with_ethernet, with_etherbone = args.with_etherbone, eth_ip = args.eth_ip,