Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
PyPCC
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
LOFAR2.0
PyPCC
Commits
cc4d8c62
Commit
cc4d8c62
authored
8 months ago
by
Paulus Kruger
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://git.astron.nl/lofar2.0/pypcc
parents
bd01d8b9
c34bd7ca
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#93699
passed
8 months ago
Stage: run
Stage: image
Changes
2
Pipelines
14
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
pypcc/config/CCDTR.yaml
+12
-4
12 additions, 4 deletions
pypcc/config/CCDTR.yaml
pypcc/testing/check_ip.py
+1
-1
1 addition, 1 deletion
pypcc/testing/check_ip.py
with
13 additions
and
5 deletions
pypcc/config/CCDTR.yaml
+
12
−
4
View file @
cc4d8c62
...
@@ -308,6 +308,7 @@ methods:
...
@@ -308,6 +308,7 @@ methods:
debug
:
True
debug
:
True
instructions
:
instructions
:
-
CCDTR_I2C_error
:
0
-
CCDTR_I2C_error
:
0
-
WAIT
:
2000
-
CCD_IO1_GPIO1
:
Update
-
CCD_IO1_GPIO1
:
Update
-
CCD_IO1_GPIO2
:
Update
-
CCD_IO1_GPIO2
:
Update
-
CCD_BACK_ID
:
Update
-
CCD_BACK_ID
:
Update
...
@@ -343,16 +344,23 @@ methods:
...
@@ -343,16 +344,23 @@ methods:
-
IO1.GPIO1
:
0x42
#0100 0010 CS=high
-
IO1.GPIO1
:
0x42
#0100 0010 CS=high
-
WAIT
:
200
-
WAIT
:
200
-
CCD_PLL_setup
:
0
-
CCD_PLL_setup
:
0
-
FAN_setup
:
0
-
WAIT
:
500
#ms to wait before checking lock
-
CCD_clear_lock
:
1
-
CCD_clear_lock
:
0
-
CCDTR_Update
:
0
#refresh all settings
-
name
:
FAN_setup
driver
:
I2C_CLK
debug
:
true
instructions
:
-
MAX.0x00
:
0x00
-
MAX.0x00
:
0x00
-
MAX.0x02
:
0x08
-
MAX.0x02
:
0x08
-
MAX.0x01
:
0x0F
-
MAX.0x01
:
0x0F
-
MAX.0x06
:
0x60
-
MAX.0x06
:
0x60
-
MAX.0x28
:
227
-
MAX.0x28
:
227
-
MAX.0x29
:
0x80
-
MAX.0x29
:
0x80
-
WAIT
:
500
#ms to wait before checking lock
-
CCD_clear_lock
:
1
-
CCD_clear_lock
:
0
-
CCDTR_Update
:
0
#refresh all settings
-
name
:
CCD_off
-
name
:
CCD_off
driver
:
I2C_CLK
driver
:
I2C_CLK
...
...
This diff is collapsed.
Click to expand it.
pypcc/testing/check_ip.py
+
1
−
1
View file @
cc4d8c62
...
@@ -71,7 +71,7 @@ def check_ip():
...
@@ -71,7 +71,7 @@ def check_ip():
if
ID
in
[
0
,
1
,
2
,
3
]:
#APSCT in subrack
if
ID
in
[
0
,
1
,
2
,
3
]:
#APSCT in subrack
ip_new
=
'
10.99.%i.100
'
%
ID
ip_new
=
'
10.99.%i.100
'
%
ID
logging
.
info
(
"
APSCT subrack, ip=%s
"
%
ip_new
)
logging
.
info
(
"
APSCT subrack, ip=%s
"
%
ip_new
)
if
ID
in
[
21
,
10
]:
if
ID
in
[
20
,
21
,
10
]:
ip_new
=
IP_CCD
ip_new
=
IP_CCD
logging
.
info
(
"
CCD detected, ip=%s
"
%
ip_new
)
logging
.
info
(
"
CCD detected, ip=%s
"
%
ip_new
)
...
...
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