Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Goran Mahovlic
    @goran-mahovlic
    @Speccery I must say it was not so easy to pack 1000 boxes, but it was done with special care :)
    Erik Piehl
    @Speccery
    @goran-mahovlic thank you very much for the effort! 🙏
    Goran Mahovlic
    @goran-mahovlic
    It was my pleasure!
    cutting and pasting each stripe :)
    Erik Piehl
    @Speccery
    :) Yes and the result is just a beauty!
    By the way, I recently designed a built a bunch of ESP32 boards. I needed an UART for those designs, and I went with the FT231XS thanks to the ULX3S. Works like a charm. Lot of hand soldering :) in that project for me.
    kost
    @kost
    emard
    @emard
    @Speccery glad you liked ft231x design! I have long time not checked your ti99/4a, did you get sdram working?
    Erik Piehl
    @Speccery
    @emard well not that I got the 2nd ULX3S I am trying to get back to the project. So unfortunately I haven't been working on this recently, but will work on it now.
    emard
    @emard
    @kost thanx for the fresh tools! fujprog -t works but fujprog -t -P/dev/ttyUSB0 for me doesnt work. ujprog works with -t and with -t -P..
    @Speccery have some fun with new board, it has 16MB flash in ESP32.
    Erik Piehl
    @Speccery
    @emard thanks I will for sure. Was it so that the SDRAM here is different from the earlier board? Will it work the same way?
    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.