HoloIRCUser has quit [Read error: Connection reset by peer]
gregdavill has joined #litex
jaseg has quit [Ping timeout: 260 seconds]
<gregdavill>
loxodes: I just took a look at your dma code, and opened an issue with a fix. Pretty sure you just need to flush the caches.
jaseg has joined #litex
<loxodes>
gregdavill: thanks! the fix worked for me
<loxodes>
I'm trying to understand why this fixed it - so the vexriscv cpu was caching some of the "adc_sram" memory, and reading unrelated hid the problem because that filled up the cache with something else?
<loxodes>
and adding the volatile keyword to dram_array didn't help in this case because that only works on the compiler?
<gregdavill>
Yeah, I think so. I'm not entirely sure of the logic behind how the cache lines are filled on the vex. But in general you should always invalidate the cache when using DMA and shared memory spaces.
ranzbak has quit [Ping timeout: 260 seconds]
st-gourichon-fid has joined #litex
HoloIRCUser2 has joined #litex
HoloIRCUser1 has quit [Ping timeout: 272 seconds]
HoloIRCUser1 has joined #litex
HoloIRCUser2 has quit [Ping timeout: 272 seconds]
HoloIRCUser1 has quit [Quit: HoloIRCUser1]
kgugala__ has quit [Read error: Connection reset by peer]
kgugala has joined #litex
ranzbak has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 256 seconds]
ranzbak has quit [Ping timeout: 256 seconds]
ranzbak has joined #litex
st-gourichon-f has joined #litex
st-gourichon-fid has quit [Ping timeout: 272 seconds]
st-gourichon-f has quit [Ping timeout: 240 seconds]
gregdavill_ has joined #litex
gregdavill has quit [Ping timeout: 256 seconds]
scanakci has quit [Quit: Connection closed for inactivity]
kgugala has joined #litex
kgugala_ has quit [Ping timeout: 265 seconds]
kgugala has quit [Read error: Connection reset by peer]
kgugala has joined #litex
_whitelogger has joined #litex
gregdavill_ has quit [Quit: Leaving]
Degi has quit [*.net *.split]
acathla has quit [*.net *.split]
somlo has quit [*.net *.split]
_franck_ has quit [*.net *.split]
Finde has quit [*.net *.split]
tmbinc has quit [*.net *.split]
wizzy has quit [*.net *.split]
somlo has joined #litex
Finde has joined #litex
tmbinc has joined #litex
wizzy has joined #litex
_franck_ has joined #litex
acathla has joined #litex
Degi has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 258 seconds]
kgugala_ has quit [Read error: Connection reset by peer]
kgugala has joined #litex
<kbeckmann>
Is anyone working on integrating PSRAM/qspi-ram support in litex? I have some quite low quality code that works but is good enough to verify that the chip works. (write 42Mbps / read 27Mbps at 50MHz cpu core)
<kbeckmann>
just asking before i put in an effort in making it nice. would be fun to run it at the max speed and so on.