adc-bram example for ALPHA250-4
Hi
I'm working on the adc-bram example, after sending my bitstream file to /dev/xdevcfg, I can't execute the python test file even after correcting the ip adress.
I did installed the requirements libraries such as koheron , pyyaml , jinja2
Thanks in advance.
I used $ make CONFIG=examples/alpha250-4/adc-bram/config.yml HOST=192.168.1.100 run command to generate the project.
Is this what do you mean by make run or I am missing something
Can you show me the instruments available by going to the 192.168.1.100 address on a web browser ?
this what I've got
and after few seconds of the sending of my bitstream i can no longer reach this page
Can you tell me on which version of Ubuntu you are building the instrument ?
I am using ubunto 20.04.1
That version should be fine. Can you connect in ssh to the board and give the following logs:
-
journalctl -u koheron-server -n 200 -
journalctl -u uwsgi -n 200
I don't understand why you use the command cat /tmp/system_wrapper.bit > /dev/xdevcfg ?
Loading of the bitstream is done when starting the instrument.
Can you send the bottom of uwsgi log after you callled make run for the adc-bram instrument ?
I use the command scp system_wrapper.bit [email protected]:/tmp to send the bitstream file to the board and then cat /tmp/system_wrapper.bit > /dev/xdevcfg to load it to xdevcfg
I am not sure that I understand what do you mean with make run when and where should i use it
- I used
make CONFIG=examples/alpha250-4/adc-bram/config.yml HOST=192.168.1.100 runcommand to generate the project. - I generated the bitsream file using vivado
- and then I sent it to the board and load it to xdevcfg
Running make CONFIG=examples/alpha250-4/adc-bram/config.yml HOST=192.168.1.100 run does the following:
- Generate project & bitstreams + build instrument server + package everything together
- Send the package to the HOST
- Start instrument: Load bitstream + server
So make run is all you have to do.
Now in your case, for some reason when you call it the adc-ram instrument is not loaded on the board...
Can you show me result of the call make CONFIG=examples/alpha250-4/adc-bram/config.yml HOST=192.168.1.100 run ?
Can call make clean all and then make CONFIG=examples/alpha250-4/adc-bram/config.yml HOST=192.168.1.100 run again
and show what you have
I did a make clean all command and it seemed that it has a problem
So i deleted the folder /adc-bram located in /tmp folder manually then I did a make CONFIG=examples/alpha250-4/adc-bram/config.yml HOST=192.168.1.100 run that was the result
Note: I don't have internet access here cause I am using the ethernet port to connect the board
That's why it crashes.
What you can do is set internet access to your computer and then call make CONFIG=examples/alpha250-4/adc-bram/config.yml (no run) that will only build the instrument and fetch what is required from the net.
Once this is done you can reconnect the ethernet to the board and call make CONFIG=examples/alpha250-4/adc-bram/config.yml HOST=192.168.1.100 run, it will used what has already been downloaded.
I did the make CONFIG=examples/alpha250-4/adc-bram/config.yml command and now it crashes at this step:
You need to install the Typescript copiler tsc.
Running make setup_web should do it.
After installing tsc I've got this problem
Can you try
curl -sL https://deb.nodesource.com/setup_14.x and then make setup_web ?
still the same SyntaxError message, is it a problem with the version of tsc
I've got this error on CI and solve it upgrading node to 14.x. (https://github.com/Koheron/koheron-sdk/commit/1aced26963278226c81ae422373237a857c6ea0f)
I think I've made a mistake, the command you should run is curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -; sudo make setup_web
I did some researches in some forums and I found that I can just change the syntax ?? with || and it worked then I did a make run command then I executed the python files after installing the required libraries such as Tkinter and PIL and it worked in the end for test.py
Good if it works !
Thank you so much for your time and efforts