_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://libera.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
keesj has quit [Server closed connection]
keesj has joined #litex
sajattack has quit [Read error: Connection reset by peer]
sajattack has joined #litex
Degi has quit [Ping timeout: 276 seconds]
Degi has joined #litex
peepsalot has quit [Remote host closed the connection]
MoeIcenowy has quit [Server closed connection]
MoeIcenowy has joined #litex
peepsalot has joined #litex
cr1901_ is now known as cr1901
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #litex
_whitelogger has joined #litex
<jeandet_> Hello, I can't get the SD card working on the ULX3S, I tried several thing, I even desoldered the ESP32, tried on others IOs with another connector. I'm using LiteX and build with Yosys/Trellis provided in OSS-CAD-Suite. It always fails with init.
<Flea86> jeandet_: Were you trying using spi or full sd mode?
<jeandet_> Mostly SD mode
<Flea86> I see. I have full sd mode working successfully with ECP5 here, though I do not use ulx3s platform
<Flea86> Does spi mode work?
<Flea86> I started off with spi mode initially myself
<Flea86> @jeandet_
<jeandet_> You can init the SDCard with bare metal code/driver?
<Flea86> I think I used linux-on-litex framework to get up and running
<Flea86> wait no, I did also try compiling a baremetal example that loaded from sd
<Flea86> I cannot recall what mode that used however
<Flea86> some spinning torus example or something :)
<jeandet_> Which also means, you could get the BIOS to init the SD card
<Flea86> Correct
<Flea86> Let me check something
acathla has quit [Server closed connection]
<Flea86> jeandet_: When you compile your SoC core, are you using --with-spi-sdcard option?
acathla has joined #litex
<Flea86> I would first try compiling your SoC using spi mode first
<Flea86> -first :)
<jeandet_> I did something similar, I have a wrapper around ulx3s target and manually call `self.add_spi_sdcard(software_debug=True)`
<jeandet_> But I only tested SPI mode with default BIOS
<Flea86> Right OK. Just so you know, I used vexriscv core for my evaluation
<Flea86> jeandet_ "But I only tested SPI mode with default BIOS" and does that work?
<jeandet_> In fact with a custom code and calling `spisdcard_init` seems to work
<jeandet_> With the BIOS it always failed to call the sdcard init CMD
<jeandet_> Note that I did those tests before removing the ESP32 which might have been the culprit then
<Flea86> I do not recall needing to manually call self.add_spi_sdcard() and just used the option switch
<Flea86> Ah okay
<Flea86> Perhaps that was the issue
<Flea86> I am not familiar with ulx3s myself
<jeandet_> yeah, so at least SPI mode works now \o/
<Flea86> but I recall the sdcard i/o is shared with esp32 pins
<Flea86> or something
<jeandet_> Yes exactly
<jeandet_> With SPI mode I don't see any function to write a block is this intended only for reading SD cards?
<Flea86> jeandet_: This is where I am currently https://dillo-browser.github.io/gallery/img/fpga-rv32.jpg :D
<Flea86> My biggest problem however, is getting buildroot to produce what I want/need (still learning..)
_catircservices has quit [Server closed connection]
_catircservices has joined #litex
d_olex_ has quit [Remote host closed the connection]
d_olex_ has joined #litex
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #litex
CarlFK has joined #litex
ElfenKaiser has joined #litex
peepsalot has quit [Quit: Connection reset by peep]
peepsalot has joined #litex
ElfenKaiser has quit [Quit: 🫀🫀🫀🫀]
_whitelogger has joined #litex