can't connect via network
-
- Posts: 10
- Joined: Thu May 07, 2015 9:08 am
can't connect via network
Hello,
Can somebody help me please. I've been trying to connect to my pitaya for 2 days now.
USB connection works, i can generate and acquire samples, but only in console mode.
The Pitaya gets an IP address from the dhcp server , but there's no way what so ever to connect via webbrowser
or redpitaya discovery to the device.
Is it normal you need this kind of effort to get it up running?
Please help
kind regards
Ronny
Can somebody help me please. I've been trying to connect to my pitaya for 2 days now.
USB connection works, i can generate and acquire samples, but only in console mode.
The Pitaya gets an IP address from the dhcp server , but there's no way what so ever to connect via webbrowser
or redpitaya discovery to the device.
Is it normal you need this kind of effort to get it up running?
Please help
kind regards
Ronny
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: can't connect via network
Well, usually when discovery does not work you'd find out your Red Pitaya's IP address by either looking it up in your dhcp server or by looking at the output from "ifconfig" issued through the console. Then you should be able to put http://<IP address>/ into your browser's address bar and arrive at the application selection page.
Does your Red Pitaya answer to ping ?
Could you post the console output from a reboot here ? Maybe also from ifconfig and ps afx ?
Does your Red Pitaya answer to ping ?
Could you post the console output from a reboot here ? Maybe also from ifconfig and ps afx ?
-
- Posts: 10
- Joined: Thu May 07, 2015 9:08 am
Re: can't connect via network
Thx for the information. I has taken a while, but for some reason I was unable to re-logon to red pitaya,
only re-creating my account was the solution...?
It still doesn't work. Now i tried with a static network.
If I enter the IP-adress in web browser , it connects, but I don't see any apps (see screenshot).
Hereby the output of ifconfig and ps afx, I don't know how to see the console output?
Thanks in advance
Ronny
only re-creating my account was the solution...?
It still doesn't work. Now i tried with a static network.
If I enter the IP-adress in web browser , it connects, but I don't see any apps (see screenshot).
Hereby the output of ifconfig and ps afx, I don't know how to see the console output?
Thanks in advance
Ronny
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1
- Joined: Sat Jun 06, 2015 1:41 pm
Re: can't connect via network
Maybe you have the same problem as i.
My Redpitaya doesn't work if the network is connected to a D-Link switch.
Tried with a different one and it worked.
My Redpitaya doesn't work if the network is connected to a D-Link switch.
Tried with a different one and it worked.
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: can't connect via network
Well, since you can connect to the Red Pitaya with the static setup, it's unlikely to be a hardware issue.
We had a slight misunderstanding, I wanted to see the output of the commands when executed remotely on the Red Pitaya.
You can find instructions how to establish a console connection over USB in the wiki.
If you just unpacked the ecosystem-zip onto the sdcard, it is normal that there are no apps on the Bazaar main page - the ecosystem is just the environment for the apps. See this wiki section on how to install apps with and without internet access.
We had a slight misunderstanding, I wanted to see the output of the commands when executed remotely on the Red Pitaya.
You can find instructions how to establish a console connection over USB in the wiki.
If you just unpacked the ecosystem-zip onto the sdcard, it is normal that there are no apps on the Bazaar main page - the ecosystem is just the environment for the apps. See this wiki section on how to install apps with and without internet access.
-
- Posts: 10
- Joined: Thu May 07, 2015 9:08 am
Re: can't connect via network
Thanks Nils for the information!
I finally got it running! I manually installed the apps on the sd card and now I can access them.
Thanks a lot!
I still have another question: when using 'acquire' , I think the pitaya always sample at 125MS/s
Can I make it sample at say 1MS/s (or anything else), so I can acquire a longer time with my 16384 points?
I managed to redirect the acquired samples to a file /tmp/samples.txt,
but how do I include the sample time in this file please?
Thanks again,
Ronny
Belgium
I finally got it running! I manually installed the apps on the sd card and now I can access them.
Thanks a lot!
I still have another question: when using 'acquire' , I think the pitaya always sample at 125MS/s
Can I make it sample at say 1MS/s (or anything else), so I can acquire a longer time with my 16384 points?
I managed to redirect the acquired samples to a file /tmp/samples.txt,
but how do I include the sample time in this file please?
Thanks again,
Ronny
Belgium
-
- Posts: 799
- Joined: Sat May 23, 2015 5:22 pm
Re: can't connect via network
Hi Ronny,
If you are interested, here is how it can be used:
And here is the source code of the adc-dump-32M program:
https://googledrive.com/host/0B-t5klOOy ... dump-32M.c
Cheers,
Pavel
With what precision do you need the time information?how do I include the sample time in this file please?
For some other project, I've prepared a slightly customized Red Pitaya SD card zip that can be used to record 32M ADC samples at 125 MSPS.so I can acquire a longer time with my 16384 points?
If you are interested, here is how it can be used:
- download the customized SD card image zip file
https://googledrive.com/host/0B-t5klOOy ... mp-32M.zip - copy the content of the SD card image zip to an SD card
- boot Red Pitaya with the new SD card
- run the following commands from the Red Pitaya command line:
Code: Select all
# stop web server
killall nginx
# configure FPGA
cat /opt/adc_dump.bin > /dev/xdevcfg
# make /opt writeable
rw
# record 32M ADC samples
adc-dump-32M > /opt/adc-dump-32M.txt
# make /opt read-only
ro
https://googledrive.com/host/0B-t5klOOy ... dump-32M.c
Cheers,
Pavel
-
- Posts: 10
- Joined: Thu May 07, 2015 9:08 am
Re: can't connect via network
Pavel,
thank you very much for the code, it works very good!
Is there a 'in depth' manual for red pitaya or fpga programming.
I'm no expert at this, but I think it's very interesting and I want to learn more about it?
I don't see the sample time. Is this possible?
e.g. for your case: 125 MSPS / 32 MS = 3,9 seconds of sampling
One sample point is 1 / 125 = 8 nanoseconds
So first column would be 0 ; 8 ; 16 ; 32 ... nanoseconds (relative time) or e.g.
15:10:36, 000 000 008 s
15:10:36, 000 000 016 s
...
(absolute time)
Second column= measured data
Kind regards
Ronny
ps Red Pitaya is a fantastic device, keep up the good work
thank you very much for the code, it works very good!
Is there a 'in depth' manual for red pitaya or fpga programming.
I'm no expert at this, but I think it's very interesting and I want to learn more about it?
I don't see the sample time. Is this possible?
e.g. for your case: 125 MSPS / 32 MS = 3,9 seconds of sampling
One sample point is 1 / 125 = 8 nanoseconds
So first column would be 0 ; 8 ; 16 ; 32 ... nanoseconds (relative time) or e.g.
15:10:36, 000 000 008 s
15:10:36, 000 000 016 s
...
(absolute time)
Second column= measured data
Kind regards
Ronny
ps Red Pitaya is a fantastic device, keep up the good work
-
- Posts: 799
- Joined: Sat May 23, 2015 5:22 pm
Re: can't connect via network
I have a list of interesting links atRonny Comyn wrote: I'm no expert at this, but I think it's very interesting and I want to learn more about it?
http://pavel-demin.github.io/red-pitaya-notes/links/
They helped me a lot to learn how to program the ZYNQ chip on the Red Pitaya board.
Yes, it's normal. There is no time information in my program.Ronny Comyn wrote: I don't see the sample time. Is this possible?
The time information is not that easy to implement and it depends on what precision is needed for your project and if it should be synchronized with other devices or not.
I'd say that the easiest solution would be to register the time returned by the clock_gettime() function just before starting the data acquisition. And then calculate time for each sample as (start_time + sample_number * time_between_samples). However, there will be some small random delay between the moment the program calls the clock_gettime() function and when the data acquisition really starts.
To save some disk space, it would be better to write only the start time as the first line of the output file and then calculate all the samples times in the program that would read and analyze the output file.
What do you think?
Another possible solution would be to use the high speed continuous recording project that streams the ADC data and time stamps via network to a remote computer:
viewtopic.php?f=7&t=317
viewtopic.php?f=7&t=317&start=40#p1801
-
- Posts: 10
- Joined: Thu May 07, 2015 9:08 am
Re: can't connect via network
Pavel,
thanks again!
I have 2 more questions regarding your code.
1) Is it possible to measure both channels, now I only get the data for 1 channel
2) see the enclosed graph: this is a resolver measurement on a machine,
which should be a sinus. As you see, in each cycle, pieces are missing.
Do you have any idea why this is happening?
Kind regards,
Ronny
thanks again!
I have 2 more questions regarding your code.
1) Is it possible to measure both channels, now I only get the data for 1 channel
2) see the enclosed graph: this is a resolver measurement on a machine,
which should be a sinus. As you see, in each cycle, pieces are missing.
Do you have any idea why this is happening?
Kind regards,
Ronny
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 28 guests