HadCon2 + Raspi + Apfel connection | ApfelHadCon2 Connection | Apfelmatrix STL | Apfelmatrix | Apfel Apd | Apfel + Apfelmatrix |
APFEL
command set
allows to talk to (several instances of) the APFEL ASIC.
It uses a subset of the the I/O-Ports of the ATMEL μController to facilitate the communication to the proprietary protocol (q.v.Decoder.pdf) of the asic, sending a 22bit sequence for command, value, and chipId.
( → Apfel protocol code sequences) CLK
DOUT
Side Select
DIN
GND
JDINOUT1/2, JADC
I/O port | A | C | F | |||
---|---|---|---|---|---|---|
Connector | JDINOUT1 | JDINOUT2 | JADC | |||
pins | DIN1 | 1 | DIN1 | 1 | DIN1 | 1 |
DOUT1 | 2 | DOUT1 | 2 | DOUT1 | 2 | |
CLK1 | 3 | CLK1 | 3 | CLK1 | 3 | |
SS1 | 4 | SS1 | 4 | SS1 | 4 | |
DIN2 | 5 | DIN2 | 5 | DIN2 | 5 | |
DOUT2 | 6 | DOUT2 | 6 | DOUT2 | 6 | |
CLK2 | 7 | CLK2 | 7 | CLK2 | 7 | |
SS2 | 8 | SS2 | 8 | SS2 | 8 |
git checkout protocol_v0
cd APFEL_Hadcon_IOC
RELEASE
files in sub directory configure
, i.e. correct paths to EPICS base and modules * be aware, that you might have to change instead RELEASE.linux-arm.Common
RELEASE.linux-x86_64.Common
, which are included in RELEASE, but allows several architectures to be supported
make
cd iocBoot/iocapfel
cd iocBoot/iocapfel_linux-x86_64
../../bin/linux-arm/apfel st.cmd
<TOP>/startup/procServ/start_apfel_IOC_procServ.sh
and change myIOCBOOT
and myARCH
to your needs
procServ -q -n apfelControlIOC -l 4814 4813 <absolute path to TOP>/procServ/start_apfel_IOC_procServ.sh
telnet localhost 4813
CTRL+T
to toggle automatic restart
CTRL+X
to kill child process (IOC)
exit
to end the EPICS session 2. leave session: type CTRL+]
and telnet> quit
<TOP>/startup/crontab/start_procServ_EPICS_apfel.sh
and adjust myProcServScript
to your needs
mkdir -p ~/crontab/ && ln -s <TOP>/startup/crontab/start_procServ_EPICS_apfel.sh
<TOP>/startup/crontab/crontab.entry
to your crontab: xclip
: puts the content to the clipboard) cat <TOP>/startup/crontab/start_procServ_EPICS_apfel.sh | xclip -sel clip && crontab -e
https://git.gsi.de/HadCon2/Applications/APFEL/APFEL_Hadcon_CSS==
and click ==NEXT
NEXT
v2.1
FINISH
settings/
you find the file apfel-basic-preferences.epf
, right click to get via Properties its physical Location and remember it. I | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|
jpg | 20150519_102130.jpg | manage | 52 K | 2015-05-28 - 17:13 | PeterZumbruch | Apfelmatrix |
jpg | 20150519_102221.jpg | manage | 74 K | 2015-05-28 - 17:13 | PeterZumbruch | Apfel + Apfelmatrix |
jpg | 20150527_113358.jpg | manage | 166 K | 2015-05-28 - 17:19 | PeterZumbruch | Apfel Apd |
png | 20150527_113520.png | manage | 183 K | 2015-05-28 - 17:11 | PeterZumbruch | HadCon2 + Raspi + Apfel connection |
jpg | 20151120_125102.jpg | manage | 207 K | 2015-11-20 - 13:01 | PeterZumbruch | Apfelmatrix Distribution |
PNG | ApfelHadCon2-Connectors.PNG | manage | 77 K | 2015-05-28 - 17:41 | PeterZumbruch | ApfelHadCon2 Connection |
PNG | CSS-0a_open_perspective_apfel_hadcon.PNG | manage | 16 K | 2015-11-20 - 16:28 | PeterZumbruch | CSS open perspective |
PNG | CSS-0b-open_git_repository_perspective.PNG | manage | 20 K | 2015-11-20 - 16:30 | PeterZumbruch | CSS open perspective git repository |
PNG | CSS-1-git_clone_apfel_hadcon-1.PNG | manage | 64 K | 2015-11-20 - 16:30 | PeterZumbruch | CSS git clone apfel hadcon 1 |
PNG | CSS-10-new_window.PNG | manage | 15 K | 2015-11-20 - 16:35 | PeterZumbruch | CSS new window |
PNG | CSS-11-open-runtime-perspektive.PNG | manage | 22 K | 2015-11-20 - 16:36 | PeterZumbruch | CSS open perspective - runtime |
PNG | CSS-12-Top.PNG | manage | 4 K | 2015-11-20 - 16:37 | PeterZumbruch | CSS Top files 1 |
PNG | CSS-13_top.PNG | manage | 9 K | 2015-11-20 - 16:37 | PeterZumbruch | CSS Top files 2 |
PNG | CSS-14_apfel_hadcon-16.PNG | manage | 140 K | 2015-11-20 - 16:38 | PeterZumbruch | CSS apfel hadcon control |
PNG | CSS-2-git_clone_apfel_hadcon.PNG | manage | 36 K | 2015-11-20 - 16:31 | PeterZumbruch | CSS git clone apfel hadcon 2 |
PNG | CSS-3-git_clone_apfel_hadcon.PNG | manage | 40 K | 2015-11-20 - 16:31 | PeterZumbruch | CSS git clone apfel hadcon 3 |
PNG | CSS-4-git_clone_apfel_hadcon.PNG | manage | 34 K | 2015-11-20 - 16:32 | PeterZumbruch | CSS git clone apfel hadcon 4 |
PNG | CSS-4a-import_project.PNG | manage | 40 K | 2015-11-20 - 16:59 | PeterZumbruch | CSS import project 1 |
PNG | CSS-4b-import_project.PNG | manage | 39 K | 2015-11-20 - 17:01 | PeterZumbruch | CSS import project 2 |
PNG | CSS-5-git_clone_apfel_hadcon.PNG | manage | 23 K | 2015-11-20 - 16:33 | PeterZumbruch | CSS git clone apfel hadcon 5 |
PNG | CSS-6-import_preferences.PNG | manage | 56 K | 2015-11-20 - 16:33 | PeterZumbruch | CSS import preferences 1 |
PNG | CSS-7-import_preferences.PNG | manage | 16 K | 2015-11-20 - 16:33 | PeterZumbruch | CSS import preferences 2 |
PNG | CSS-8-import_preferences.PNG | manage | 32 K | 2015-11-20 - 16:34 | PeterZumbruch | CSS import preferences 3 |
PNG | CSS-9-import_preferences.PNG | manage | 33 K | 2015-11-20 - 16:35 | PeterZumbruch | CSS import preferences 4 |