Giter Site home page Giter Site logo

Comments (6)

tcal-x avatar tcal-x commented on June 1, 2024

Hi @SHIBSIE ,
Fortunately I have that board! I will see if I can reproduce the issue.

from cfu-playground.

tcal-x avatar tcal-x commented on June 1, 2024

This board is different than most in that it seems to have two separate USB / FTDI paths, one for programming and the other for UART. On boards such as Arty, the same path is used for both.

I'm still working through it myself, and don't yet have the answer for CFU Playground. But when directly building a LiteX SoC for the board, using just a LiteX installation not CFU Playground, I found that I need to connect the cable to the PROG connector to configure the FPGA, then change the cable to connect to UART to talk to the BIOS running on the FPGA. It works either by changing a single cable, or by having both connected using a hub (or using multiple USB ports on your computer). However, when both are connected, you will see both e.g. /dev/ttyUSB0 and /dev/ttyUSB1 --- you might need to try both to find the one that is being used as UART.

But, assuming you had the cable just connected to PROG, that would explain why you see no response when trying to connect.

Later I will try to see if I can get CFU Playground to work.

from cfu-playground.

SHIBSIE avatar SHIBSIE commented on June 1, 2024

Hello @tcal-x , thank you for your help. I have figured that out during my tests, but still no change. I have tried both ports and tried using a single cable and both, but still ddidnt work. I also checked to see if it is something that has to do with UART speed, but still nothing.

from cfu-playground.

tcal-x avatar tcal-x commented on June 1, 2024

One thing I found that I need to do is after the attempted connect using litex_term, press the CPU_RESET button on the board (NOT the PROG button). Then I see the LiteX boot banner, and then the CFU Playground menu.

Maybe that is all that is necessary. I was trying some other things, and this is what I got to work:

make TARGET=digilent_nexys_video UART_SPEED=115200 TTY=/dev/ttyUSB0  prog load

(and press the CPU_RESET button)

This does set a slower UART speed; I'm not sure if that's needed.

Also, there's a chance you'll need to change it to /dev/ttyUSB1 or even something else.

from cfu-playground.

tcal-x avatar tcal-x commented on June 1, 2024

I did get this to also work (with faster UART speed) (and pressing the CPU_RESET button):

make TARGET=digilent_nexys_video UART_SPEED=921600 TTY=/dev/ttyUSB0 prog load

But when I tried with the default speed (even higher), I got garbled text.

from cfu-playground.

SHIBSIE avatar SHIBSIE commented on June 1, 2024

I have tried this but unfortunately it also did not work. I was able to borrow an Arty A7 board to test with and it worked perfectly, it means the problem was not with my environment as I have suspected. Might be something with the board I don't really know. For now I am going to stick with the Arty.

Thank you for you help, really appreciated.

from cfu-playground.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.