Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    emard
    @emard
    @Speccery SDRAM is ISSI speed grade 7 (spec'd as 133 MHz 2-2-2 ras/cas ws). On new boards ti is different than other boards but should be pin and protocol compatible. Small differences in timings are normally possible so we must test.
    This SDRAM has passed self-test and booting saxonsoc as Goran/Dobricas standard test procedure for all boards before shipping
    kost
    @kost
    @emard will investigate. thanks for reporting.
    opened issue here: kost/fujprog#9
    if you have anything else to add to help debug it - please do!
    Paul Ruiz
    @pnru_gitlab
    @emard I read that as: (i) clock speed can be 133MHz; and (ii) tRCD = 2 clocks, tCAS = 2 clocks and write latency is 2 clocks. If I read that correctly (i.e. tRCD = 15ns, etc.) it is a seriously fast grade 7 chip.
    emard
    @emard
    @kost nothing special with old compiled ujprog -t -p/dev/ttyUSB0 it works as terminal for e.g. esp32 or linux. Same ujprog newly compiled doesn't work, also fujprog doesn't work I guess someting in build env changed
    Erik Piehl
    @Speccery
    @pnru_gitlab now that you're here, let me ask you a quick question. For better or worse I upgraded to macOS Catalina, and now I'm having difficulties with ujprog. I think you used a Mac too - is this working for you? Sorry for such a simple question, I have too many computers and sometimes I don't remember which system I used the last time anymore...
    emard
    @emard
    @pnru_gitlab yes, and also memtest passes overclock up to 175-180 MHz 2-2-2 ras/cas :). The small drawback is chip heats more its 160mA chip while of course 110mA exist but at the time of assembly were expensive
    @Speccery there is also openFPGALoader that can do the same as fujprog and available as binary nightly-compiled here https://github.com/open-tool-forge/fpga-toolchain/releases
    Paul Ruiz
    @pnru_gitlab
    @Speccery I moved from ujprog to fujprog, which is the same code base, but maintained by a new crew. I can test on a Catalina machine if you like.
    Erik Piehl
    @Speccery
    Thanks to you both. Actually both ujprog and openFPGALoader complain about access to FTDI drivers
    emard
    @emard
    The resort can also be ESP32, it should already be loaded with micropython and ecp5.py. With serial console you can set ESP32 wifi password to connect to your router and then you can program FPGA over wifi using ftp.
    Paul Ruiz
    @pnru_gitlab
    Maybe MacOS went back to blocking unpriviledged access. Did you try using with sudo?
    Erik Piehl
    @Speccery
    Yes I did use sudo. And MacOS always wants to block everything, but I did change the security settings. Oh well. I am not going to debug this now, already switching to my windows box.
    Paul Ruiz
    @pnru_gitlab
    Recent MacOS does not ship with ftp by default. Available via brew
    Paul Ruiz
    @pnru_gitlab
    @emard re: sdram - that is excellent news, a 5-6 clock cycle for random access @ 175MHz means getting a 32 bit word within 40ns, using a 2-word burst read.
    Erik Piehl
    @Speccery
    Weird. When I use my older ULX3S board, I can program it on the Mac under Catalina, just by using old ujprog. It does need sudo. @pnru_gitlab fujprog does not work for me. Even if I run it with sudo, it says:
    Eriks-MacBook-Pro:build perik$ sudo ./fujprog
    ULX2S / ULX3S JTAG programmer v4.6 (git 504fb69 built Oct 6 2020 20:37:35)
    Copyright (C) Marko Zec, EMARD, gojimmypi, kost and contributors
    no root permissions, not handling kexts
    Cannot find JTAG cable.
    So currently with the freshly compiled fujprog I can't program even the old board. I wonder how it detects root permissions, which I think are necessary on the Mac.
    Goran Mahovlic
    @goran-mahovlic
    ujprog will not recognise new 3.0.8 version
    you need to change board version
    to 3.0.3 as ujprog is old and not supported
    You can first check what your old board is reporting as version
    then change on new board with something like this usb-jtag/linux-amd64/ftx_prog --product "ULX3S FPGA 12K v3.0.3"
    Erik Piehl
    @Speccery
    3.0.3. I am just in the process of modifying my old ujprog to support 3.0.8
    Goran Mahovlic
    @goran-mahovlic
    but fujprog is recomended programmer
    yes, you can also modify ujprog :)
    Erik Piehl
    @Speccery
    Sure, but for me it is not working. I want to check one step at a time, first I will see if I can fix ujprog which at least used to work
    SUCCESS! I added support for "ULX3S FPGA 85K v3.0.8" to ujprog and now that works! on the Mac, with the new board.
    Goran Mahovlic
    @goran-mahovlic
    cool!
    kost
    @kost
    @Speccery for MAC OS X, check out https://github.com/kost/homebrew-ulx3s
    you can basically say
    brew tap kost/homebrew-ulx3s
    brew install --HEAD  fujprog openfpgaloader
    currently, there is issue with nextpnr-trellis, need to fix that, but all other packages should work
    (like project-trellis and yosys)
    Erik Piehl
    @Speccery
    Did that, still problem:
    Eriks-MacBook-Pro:icy99 perik$ sudo openfpgaloader ti994a_ulx3s.bit
    unable to open ftdi device: -3 (device not found)
    Error: Failed to claim cable
    this was after installing openfpgaloader with your instructions.
    thank you @kost for the support. I will see if I can find out why fujprog does not work but the old ujprog does.
    kost
    @kost
    old ujprog is using old libusb0 as far as I can remember
    fujprog and openfpgaloader are ported to newer libftdi and libusb1
    Erik Piehl
    @Speccery
    old code uses LDFLAGS += pkg-config --libs libusb libftdi to find out libraries to link and on my machine that resolves to -L/usr/local/Cellar/libusb-compat/0.1.5_1/lib -L/usr/local/Cellar/libftdi0/0.20/lib -lusb -lftdi -lusb
    I need to come back to this issue later, now running out of time.
    kost
    @kost
    btw I think I fixed nextpnr-trellis, so every package in homebrew tap should work now.
    Erik Piehl
    @Speccery
    👍
    Paul Ruiz
    @pnru_gitlab
    @Speccery @kost Retraced my steps. I built fujprog from source on 24/8 on Catalina 10.15.3, using the provided CMake build script(s). This binary works for me on Catalina without sudo. The same binary also works for me on Mojave and High Sierra. I do not have a 3.0.8 board to test with. Over the last month this build of fujprog has worked for me without issues.
    Erik Piehl
    @Speccery
    Thanks @pnru_gitlab for the tests. Glad to hear you have it working. I got your binaries, but still same results. I sent you an e-mail. I will try to find some time to debug this - it's great to have the source code. It has already been almost a year that I worked on ujprog , before I got the ULX3S I added support for the FleaFPGAOhm. https://github.com/Speccery/tools
    e2kgh
    @e2kgh
    @Dolu1990 : how did you test the FrameBuffer? (/dev/fbdev)? Are there any simple test programs, which simply set a pixel in the frambuffer? ClearScreen or similar?
    mara
    @vmedea
    piping /dev/random or /dev/zero to it will do the trick
    😌
    kost
    @kost
    @Speccery i have managed to reproduce it on the 3.0.8 board on Mac.
    both openfpgaloader and fujprog fail to find JTAG cable connected