Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
051685b0
Commit
051685b0
authored
7 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added more useful ADUH debug commands.
parent
afd4f9a1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/apertif/doc/apertif_wsrt_useful_commands_erko.txt
+93
-2
93 additions, 2 deletions
...cations/apertif/doc/apertif_wsrt_useful_commands_erko.txt
with
93 additions
and
2 deletions
applications/apertif/doc/apertif_wsrt_useful_commands_erko.txt
+
93
−
2
View file @
051685b0
...
...
@@ -57,7 +57,7 @@ visibility_imag(end + 1,:) = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
New style:
> cd $RADIOHDL/applications/apertif/commissioning/
> python main.py --app apertif --tel
6 --unb 0
--opt no
ne
> python main.py --app apertif --tel
c,d --pol 0,1
--opt no
flash
python main.py --app <application> --tel <telescopes> --unb <uniboards> --opt <options>
. application = "apertif" or "arts_sc1"
. telescopes = 2,3,4,..,c,d
...
...
@@ -150,3 +150,94 @@ Flash original latest images (email Boudewijn 6 feb 2017) using the GUI:
Check that data runs on DW:
- watch -n 0.01 ifconfig
###############################################################################
# Trials
###############################################################################
cd $RADIOHDL/applications/apertif/commissioning/
vi dish_commands.sh
python main.py --app apertif --tel c,d --pol 0,1 --opt noflash
# read design version
ssh lcu-rtc -X "python $UPE/peripherals/util_system_info.py --unb 0:7 --fn 0:3 --bn 0:3 -n 2"
# Read and verify default iblets setting in Rsub
ssh lcu-rtc -X "python $UPE/peripherals/pi_apertif_system.py --unb 0:7 --bn 0:3 --cmd 5"
# read PPS count in BN
ssh lcu-rtc -X "python $UPE/peripherals/util_ppsh.py --unb 0:7 --bn 0:3 -n 1"
# read PPS stable in BN (twice, second time has last result)
ssh lcu-rtc -X "python $UPE/peripherals/util_ppsh.py --unb 0:7 --bn 0:3 -n 10"
sleep 10
ssh lcu-rtc -X "python $UPE/peripherals/util_ppsh.py --unb 0:7 --bn 0:3 -n 8"
# read PPS delay in BN
ssh lcu-rtc -X "python $UPE/peripherals/pi_common_pulse_delay.py --unb 0:7 --bn 0:3"
# read fiber delays in FN
ssh lcu-rtc -X "python $UPE/peripherals/pi_dp_fifo_monitor.py --unb 0:7 --fn 0:3 --reg rd_fill,wr_full,rd_empty,rd_usedw"
###############################################################################
# Read sensors
# Read Uniboard sensors (all)
ssh lcu-rtc -X "python $UPE/peripherals/util_unb_sens.py -v 3 --unb 0:7 --fn 0:3 --bn 0:3 -n 0"
# Read Uniboard sensors per type
ssh lcu-rtc -X "python $UPE/peripherals/util_unb_sens.py -v 3 --unb 0:7 --fn 0:3 --bn 0:3 -n 1" # FPGA temperatures
ssh lcu-rtc -X "python $UPE/peripherals/util_unb_sens.py -v 3 --unb 0:7 --fn 0:3 --bn 0:3 -n 2" # ETH temperatures
ssh lcu-rtc -X "python $UPE/peripherals/util_unb_sens.py -v 3 --unb 0:7 --fn 0:3 --bn 0:3 -n 3" # Current
ssh lcu-rtc -X "python $UPE/peripherals/util_unb_sens.py -v 3 --unb 0:7 --fn 0:3 --bn 0:3 -n 4" # Voltage
ssh lcu-rtc -X "python $UPE/peripherals/util_unb_sens.py -v 3 --unb 0:7 --fn 0:3 --bn 0:3 -n 4" # Power = Current * Voltage
# read ADU temperatures
ssh lcu-rtc -X "python $UPE/peripherals/util_adu_i2c_commander.py -v 3 --unb 0:7 --bn 0:3 --sp 0:3 -n 0"
###############################################################################
# Do ADU bist
# Set ADU test mode
ssh lcu-rtc -X "python $UPE/peripherals/util_adu_i2c_commander.py --unb 0:7 --bn 0:3 --sp 0:3 -n 2"
# Read the ADUH lock status (twice, second time has last result)
# . status_str = (clk_phs_select, wb_cnt, fifo_usedw, raw_phs, phase, in_clk_locked)
ssh lcu-rtc -X "python $UPE/peripherals/util_aduh_quad.py --unb 0:7 --bn 0:3 --sp 0:3 -n 4"
sleep 10
ssh lcu-rtc -X "python $UPE/peripherals/util_aduh_quad.py --unb 0:7 --bn 0:3 --sp 0:3 -n 0"
# Read the ADUH BIST verify test pattern result (twice, second time has last result)
ssh lcu-rtc -X "python $UPE/peripherals/util_aduh_quad.py --unb 0:7 --bn 0:3 --sp 0:3 -n 5"
sleep 10
ssh lcu-rtc -X "python $UPE/peripherals/util_aduh_quad.py --unb 0:7 --bn 0:3 --sp 0:3 -n 1"
###############################################################################
# Do ADU normal
# Set ADU normal mode
ssh lcu-rtc -X "python $UPE/peripherals/util_adu_i2c_commander.py --unb 0:7 --bn 0:3 --sp 0:3 -n 1"
# Update ADU I2C sequences
ssh lcu-rtc "python $UPE/apps/apertif_beamformer/util_apertif_beamformer.py --unb 0:7 --bn 0:3 --fn 0:3 --sp 0:3 -v 3 --cmd 39"
# Set ADU ADC[1,0] to 0 dB
ssh lcu-rtc -X "python $UPE/peripherals/util_adu_i2c_commander.py --unb 0:7 --bn 0:3 --sp 0:3 -n 5"
# Set ADU led on
ssh lcu-rtc -X "python $UPE/peripherals/util_adu_i2c_commander.py --unb 0:7 --bn 0:3 --sp 0:3 -n 31"
###############################################################################
# Read ADUH lock clk_phs_select and write ADUH control to enable only that clk_phs
# Check the ADUH lock status (twice, second time has last result)
# . status_str = (clk_phs_select, wb_cnt, fifo_usedw, raw_phs, phase, in_clk_locked)
ssh lcu-rtc -X "python $UPE/peripherals/util_aduh_quad.py --unb 0:7 --bn 0:3 --sp 0:3 -n 0"
# Fix clk_phs
ssh lcu-rtc -X "python $UPE/peripherals/util_aduh_quad.py --unb 0:7 --bn 0:3 --sp 0:3 -n 6"
# Read the ADUH lock status (twice, second time has last result)
# . status_str = (clk_phs_select, wb_cnt, fifo_usedw, raw_phs, phase, in_clk_locked)
ssh lcu-rtc -X "python $UPE/peripherals/util_aduh_quad.py --unb 0:7 --bn 0:3 --sp 0:3 -n 4"
ssh lcu-rtc -X "python $UPE/peripherals/util_aduh_quad.py --unb 0:7 --bn 0:3 --sp 0:3 -n 0"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment