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

picocom terminal no control the lights or something. #18

Open
CarlFK opened this issue May 27, 2024 · 1 comment
Open

picocom terminal no control the lights or something. #18

CarlFK opened this issue May 27, 2024 · 1 comment
Labels

Comments

@CarlFK
Copy link
Owner

CarlFK commented May 27, 2024

https://github.com/CarlFK/pici/wiki/Getting-Started
links to
https://f4pga-examples.readthedocs.io/en/latest/xc7/counter_test.html
which says

On the picocom terminal, you can control the counter behaviour to stop it, or let it count backwards, by toggling values of the EMIO pins of the ARM Processing System (PS).

You can control the counter enable signal with:

gpio set 54
gpio clear 54

If GPIO 54 is set, the counter is disabled. It is enabled if the GPIO 54 is cleared. The result should be as follows:
(image)

I build the counter test, scp top.bit to the pi, load it:

openFPGALoader -b arty top.bit

The lights blink as expected, so it is loaded. But this doesn't echo anything and I suspect it isn't working:

picocom /dev/ttyUSB1

I type gpio set 54 and nothing echos and the lights keep blinking.

@CarlFK CarlFK added the f4pga label Sep 6, 2024
@mithro
Copy link
Contributor

mithro commented Sep 6, 2024

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