Skip to content
GitLab
Explore
Sign in
Register
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
4f3f992f
Commit
4f3f992f
authored
Jun 23, 2017
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Directly set ADU instead of via util_apertif_beamformer --cmd 37. Made image reload optional.
parent
051685b0
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/commissioning/dish_commands.sh
+69
-20
69 additions, 20 deletions
applications/apertif/commissioning/dish_commands.sh
with
69 additions
and
20 deletions
applications/apertif/commissioning/dish_commands.sh
+
69
−
20
View file @
4f3f992f
...
@@ -101,14 +101,25 @@ python $UPE/peripherals/util_system_info.py --unb $UNBS --fn 0:3 --bn 0:3 -n 4
...
@@ -101,14 +101,25 @@ python $UPE/peripherals/util_system_info.py --unb $UNBS --fn 0:3 --bn 0:3 -n 4
python
$UPE
/peripherals/util_system_info.py
--unb
$UNBS
--fn
0:3
--bn
0:3
-n
2
python
$UPE
/peripherals/util_system_info.py
--unb
$UNBS
--fn
0:3
--bn
0:3
-n
2
###############################################################################
###############################################################################
# Call ADC initialization sequence #FIXME Strip down called command sequence
# Call ADU initialization sequence
# in ADU_functions.py.
###############################################################################
###############################################################################
python
$UPE
/apps/apertif_beamformer/util_apertif_beamformer.py
--unb
$UNBS
--bn
0:3
--fn
0:3
--cmd
371
--sp
0:3
# Set ADU normal mode
python
$UPE
/peripherals/util_adu_i2c_commander.py
--unb
$UNBS
--bn
0:3
--sp
0:3
-n
1
# Update ADU I2C sequences
python
$UPE
/apps/apertif_beamformer/util_apertif_beamformer.py
--unb
$UNBS
--bn
0:3
--fn
0:3
--sp
0:3
-v
3
--cmd
39
# Set ADU ADC[1,0] to 0 dB
python
$UPE
/peripherals/util_adu_i2c_commander.py
--unb
$UNBS
--bn
0:3
--sp
0:3
-n
5
# Set ADU led on
python
$UPE
/peripherals/util_adu_i2c_commander.py
--unb
$UNBS
--bn
0:3
--sp
0:3
-n
31
###############################################################################
###############################################################################
#
L
oad the application images (
2nd time as workaround for ADU lock issue
)
#
Optional rel
oad the application images (
reload has no effect [erko 23 jun]
)
###############################################################################
###############################################################################
#RELOAD=True
RELOAD
=
False
if
[
"
$RELOAD
"
==
"True"
]
;
then
sleep
1
# Revert to facory image so we can reflash the user firmware
# Revert to facory image so we can reflash the user firmware
python
$UPE
/peripherals/util_wdi.py
--unb
$UNBS
--fn
0:3
--bn
0:3
-n
0
python
$UPE
/peripherals/util_wdi.py
--unb
$UNBS
--fn
0:3
--bn
0:3
-n
0
...
@@ -132,6 +143,44 @@ python $UPE/peripherals/util_system_info.py --unb $UNBS --fn 0:3 --bn 0:3 -n 4
...
@@ -132,6 +143,44 @@ python $UPE/peripherals/util_system_info.py --unb $UNBS --fn 0:3 --bn 0:3 -n 4
# Print the user firmware image design names
# Print the user firmware image design names
python
$UPE
/peripherals/util_system_info.py
--unb
$UNBS
--fn
0:3
--bn
0:3
-n
2
python
$UPE
/peripherals/util_system_info.py
--unb
$UNBS
--fn
0:3
--bn
0:3
-n
2
fi
###############################################################################
# Optional set ADU lock phase (does not work yet [erko 23 jun])
###############################################################################
#SET_ADUH_CLKPHS=True
SET_ADUH_CLKPHS
=
False
if
[
"
$SET_ADUH_CLKPHS
"
==
"True"
]
;
then
# Wait some time for ADUH lock
sleep
10
# Pre-read of ADUH lock status
python
$UPE
/peripherals/util_aduh_quad.py
--unb
$UNBS
--bn
0:3
--sp
0:3
-n
4
# Second read of ADUH lock status
python
$UPE
/peripherals/util_aduh_quad.py
--unb
$UNBS
--bn
0:3
--sp
0:3
-n
0
# Enable only the ADUH clk phase that it is locked to
python
$UPE
/peripherals/util_aduh_quad.py
--unb
0:7
--bn
0:3
--sp
0:3
-n
7
--rep
3
# Read ADUH clk phase control to see selected clk phase
python
$UPE
/peripherals/util_aduh_quad.py
--unb
0:7
--bn
0:3
--sp
0:3
-n
2
# Pre-read of ADUH lock status
python
$UPE
/peripherals/util_aduh_quad.py
--unb
$UNBS
--bn
0:3
--sp
0:3
-n
4
# Second read of ADUH lock status
python
$UPE
/peripherals/util_aduh_quad.py
--unb
$UNBS
--bn
0:3
--sp
0:3
-n
0
fi
###############################################################################
# Pre read to start measurement interval for PPS count stable
###############################################################################
sleep
2
python
$UPE
/peripherals/util_ppsh.py
--unb
$UNBS
--bn
0:3
-n
10
###############################################################################
# Pre-read to start measurement interval for ADU lock stable
###############################################################################
sleep
5
python
$UPE
/peripherals/util_aduh_quad.py
--unb
$UNBS
--bn
0:3
--sp
0:3
-n
4
###############################################################################
###############################################################################
# Set Pre-Transpose
# Set Pre-Transpose
...
...
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