litex-boards/litex_boards/partner/targets
Florent Kermarrec dcc65b347d targets/colorlight_5a_75b: switch to SoCCore, CPU and Etherbone working :)
Tested with:
./colorlight_5a_75b.py --cpu-type=picorv32 --uart-name=crossover --with-etherbone --csr-csv=csr.csv

Load with following script:
#!/usr/bin/env python3

# Load ---------------------------------------------------------------------------------------------

def load():
    import os
    f = open("openocd.cfg", "w")
    f.write(
"""
interface ftdi
ftdi_vid_pid 0x0403 0x6011
ftdi_channel 0
ftdi_layout_init 0x0098 0x008b
reset_config none
adapter_khz 25000
jtag newtap ecp5 tap -irlen 8 -expected-id 0x41111043
""")
    f.close()
    os.system("openocd -f openocd.cfg -c \"transport select jtag; init; svf soc_etherbonesoc_colorlight_5a_75b/gateware/top.svf; exit\"")
    exit()

if __name__ == "__main__":
    load()


Then start lxserver:
lxserver --udp

And run following script:

#!/usr/bin/env python3

import sys

from litex import RemoteClient

wb = RemoteClient()
wb.open()

# # #

while True:
    if wb.regs.uart_xover_rxempty.read() == 0:
        print(chr(wb.regs.uart_xover_rxtx.read()), end="")
        sys.stdout.flush()

# # #

wb.close()
2020-01-22 15:57:52 +01:00
..
__init__.py import: allow importing directly from litex_boards.platforms or litex_boards.targets 2019-09-03 15:30:20 +02:00
aller.py aller/nereid/tagus: update litepcie 2020-01-21 21:26:23 +01:00
c10lprefkit.py targets: cleanup EthernetSoC 2020-01-16 10:28:09 +01:00
camlink_4k.py targets: use default integrated rom/ram size passed with **kwargs from default soc_core_args 2020-01-13 15:20:37 +01:00
colorlight_5a_75b.py targets/colorlight_5a_75b: switch to SoCCore, CPU and Etherbone working :) 2020-01-22 15:57:52 +01:00
fomu.py travis: update/fix 2020-01-13 17:00:01 +01:00
hadbadge.py targets: use default integrated rom/ram size passed with **kwargs from default soc_core_args 2020-01-13 15:20:37 +01:00
linsn_rv901t.py targets/linsn_rv901t: cleanup arguments 2020-01-22 09:04:28 +01:00
nereid.py aller/nereid/tagus: update litepcie 2020-01-21 21:26:23 +01:00
netv2.py targets: cleanup EthernetSoC 2020-01-16 10:28:09 +01:00
orangecrab.py targets: use default integrated rom/ram size passed with **kwargs from default soc_core_args 2020-01-13 15:20:37 +01:00
tagus.py aller/nereid/tagus: update litepcie 2020-01-21 21:26:23 +01:00
trellisboard.py targets: cleanup EthernetSoC 2020-01-16 10:28:09 +01:00
ulx3s.py targets: use default integrated rom/ram size passed with **kwargs from default soc_core_args 2020-01-13 15:20:37 +01:00