Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upload bitstream to Genesys2 board done but chasing LEDs animation doesn't start #366

Closed
tparng opened this issue Oct 27, 2023 · 2 comments
Labels

Comments

@tparng
Copy link

tparng commented Oct 27, 2023

I am trying to test linux-on-litex-vexriscv on Genesys2 board. When I load the bitstream with command "$ ./make.py --board=genesys2 --cpu-count=4 --load", the command runs but nothing happened on the Genesys2 board. However, after I launch Vivado and open a project and click Open Hardware Manager => Open Target =>Auto Connect, the "Programming Done LED" lights up and the chasing LEDs animation start to run. It seems that "./make.py --board=genesys2 --cpu-count=4 --load" can finish bitstream programming but does not activate the hardware to start running. Is there anything wrong with the configuration/settings ?
Thanks,

TParng

@tparng
Copy link
Author

tparng commented Oct 27, 2023

I found the solution: reduce the "adapter_khz" (in linux-on-litex-vexriscv/prog/openocd_genesys2.cfg) from 25000 down to 4000 ~ 1000. Then it works fine.

@enjoy-digital
Copy link
Member

Hi @tparng,

sorry for the delay and thanks for sharing your finding/feedback. Configuration has been working fine here are 25MHz on the Genesys2. The issue is probably related to your USB cable. I'm closing this but will think about this if I encouter this issue while using the Genesys2 and will then lower frequency if I reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants