You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to add a Litescope analyzer to the ULX3S configuration for use on an ULX3S 85 r3.
For this, I'm following this tutorial from the Litex wiki.
As a first step, I am trying to set up a UARTBone bridge as described here.
I updated the ULX3S board configuration to this (framebuffer commented to reduce synth time, I got the same result with it enabled):
classULX3S(Board):
soc_kwargs= {"l2_size" : 2048} # Use Wishbone and L2 for memory accesses.def__init__(self):
fromlitex_boards.targetsimportradiona_ulx3sBoard.__init__(self, radiona_ulx3s.BaseSoC, soc_capabilities={
# Communication"serial",
# Storage"spisdcard",
"crossover",
# Video,# "framebuffer",
})
I build, upload, and start the server using the following commands:
Without the crossover I was able to boot into Linux from serial and from the SD card following the instruction (however I had to change "sdcard" to "spisdcard" which I guess is due to a change in the new revision). The serial is connected to the USB1 UART.
With the crossover I get no response from the board. It is listed as /dev/ttyUSB0 but if I connect to it via litex_term or picocom I get no response. Running litex_term crossover --csr-csv build/ulx3s/csr.csv results in a timeout error.
$ litex_term crossover --csr-csv build/ulx3s/csr.csv --safe
Exception in thread Thread-2 (crossover2pty):
Traceback (most recent call last):
File "/usr/lib64/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/usr/lib64/python3.11/threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "/home/klemmer/Desktop/litex/litex/tools/litex_term.py", line 121, in crossover2pty
if self.rxfull.read():
^^^^^^^^^^^^^^^^^^
File "/home/klemmer/Desktop/litex/litex/tools/remote/csr_builder.py", line 40, in read
datas = self.readfn(self.addr, length=self.length)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/klemmer/Desktop/litex/litex/tools/litex_client.py", line 88, in read
init = self.receive_packet(self.socket, addr_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/klemmer/Desktop/litex/litex/tools/remote/etherbone.py", line 406, in receive_packet
chunk = socket.recv(header_length - len(packet))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: timed out
On the server side, I get Connected with 127.0.0.1:38120 after starting litex_term.
Am I missing something that has to be set up before?
Anyway, thanks for creating and maintaining this repository/litex. It is super cool that this works on so many board so easily!
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to add a Litescope analyzer to the ULX3S configuration for use on an ULX3S 85 r3.
For this, I'm following this tutorial from the Litex wiki.
As a first step, I am trying to set up a UARTBone bridge as described here.
I updated the ULX3S board configuration to this (framebuffer commented to reduce synth time, I got the same result with it enabled):
I build, upload, and start the server using the following commands:
Without the crossover I was able to boot into Linux from serial and from the SD card following the instruction (however I had to change "sdcard" to "spisdcard" which I guess is due to a change in the new revision). The serial is connected to the USB1 UART.
With the crossover I get no response from the board. It is listed as
/dev/ttyUSB0
but if I connect to it via litex_term or picocom I get no response. Runninglitex_term crossover --csr-csv build/ulx3s/csr.csv
results in a timeout error.On the server side, I get
Connected with 127.0.0.1:38120
after starting litex_term.Am I missing something that has to be set up before?
Anyway, thanks for creating and maintaining this repository/litex. It is super cool that this works on so many board so easily!
The text was updated successfully, but these errors were encountered: