From: Ludwig Maier Date: Tue, 12 Nov 2013 18:32:49 +0000 (+0100) Subject: nxyter register updates X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=807cab95b9760a86be93a4102216c02c0dba3f93;p=daqtools.git nxyter register updates --- diff --git a/users/tum_e12/configure_eb.sh b/users/tum_e12/configure_eb.sh index ff02b4a..c081822 100755 --- a/users/tum_e12/configure_eb.sh +++ b/users/tum_e12/configure_eb.sh @@ -2,11 +2,16 @@ # MAC Address of the EB # i.e. 6C:F0:49:02:D7:45 -trbcmd w 0x8000 0x8100 0x4902d745 # Lower 32 bits of EB MAC -trbcmd w 0x8000 0x8101 0x6cf0 # Bit 15..0: Higher 16 bit of EB MAC, +#trbcmd w 0x8000 0x8100 0x4902d745 # Lower 32 bits of EB MAC +#trbcmd w 0x8000 0x8101 0x6cf0 # Bit 15..0: Higher 16 bit of EB MAC, +trbcmd w 0x8000 0x8100 0x0c:2e:81:76 # Lower 32 bits of EB MAC +trbcmd w 0x8000 0x8101 0x00:0e # Bit 15..0: Higher 16 bit of EB MAC, # IP Adress and Port of EB: (10.152.8.107:50000) -trbcmd w 0x8000 0x8102 0x0a98086b # Destination IP +#trbcmd w 0x8000 0x8102 0x0a98086b # Destination IP +#trbcmd w 0x8000 0x8103 0xc350 # Bit 15..0: Destination UDP Port +# IP Adress and Port of EB: (10.152.8.107:50000) +trbcmd w 0x8000 0x8102 0xc0a8016b # Destination IP trbcmd w 0x8000 0x8103 0xc350 # Bit 15..0: Destination UDP Port # MAC Adress of Source (trb3) @@ -14,6 +19,7 @@ trbcmd w 0x8000 0x8104 0xdead8001 # Lower 32 bits of Source MAC trbcmd w 0x8000 0x8105 0x0230 # Bit 15..0: Higher 16 bit of Source MAC # IP and Port of Source (10.152.8.17:50000) -trbcmd w 0x8000 0x8106 0x0a980811 # Source IP +#trbcmd w 0x8000 0x8106 0x0a980811 # Source IP +trbcmd w 0x8000 0x8102 0xc0a80111 # Destination IP trbcmd w 0x8000 0x8107 0xc350 # Bit 15..0: Source UDP Port trbcmd w 0x8000 0x8108 0x0578 # Bit 15..0: MTU size diff --git a/web/htdocs/nxyter/index.pl b/web/htdocs/nxyter/index.pl index d5a7ae5..03e336d 100755 --- a/web/htdocs/nxyter/index.pl +++ b/web/htdocs/nxyter/index.pl @@ -46,16 +46,17 @@ $setup[5]->{cmd} = "Nxyter-0x3800-NxyterI2C"; $setup[5]->{period} = -1; $setup[5]->{address} = 1; -$setup[6]->{name} = "OtherStuff"; -$setup[6]->{cmd} = "Nxyter-0x3800-TriggerValidate"; +$setup[6]->{name} = "DACRegister"; +$setup[6]->{cmd} = "Nxyter-0x3800-NxyterDAC"; $setup[6]->{period} = -1; -$setup[6]->{generic} = 1; +$setup[6]->{address} = 1; -xmlpage::initPage(\@setup,$page); - - - -1; +$setup[7]->{name} = "OtherStuff"; +$setup[7]->{cmd} = "Nxyter-0x3800-TriggerValidate"; +$setup[7]->{period} = -1; +$setup[7]->{generic} = 1; +xmlpage::initPage(\@setup,$page); +1; diff --git a/xml-db/database/Nxyter.xml b/xml-db/database/Nxyter.xml index b7513d0..295b297 100644 --- a/xml-db/database/Nxyter.xml +++ b/xml-db/database/Nxyter.xml @@ -239,27 +239,95 @@ - + address="0200" purpose="config" mode="rw" continuous="false"> + + + + + Nxyter Main Clock enable + + + + + Nxyter Input Polarity (0 = negative, 1 = positive) + + + + + Nxyter Testpulse Polarity (1 = negative, 0 = positive) + + + + + Nxyter Testpulse enable + + + + + Nxyter Testtrigger enable + + + + + Nxyter Testpulse Channel Group (0=0,4,.. 1=1,5,.. 2=2,6,.. 3=3,7,..) + + + + + I2C Online, i.e. Nxyter is connected + + + + + + + + + Nxyter I2C Register + + + I2C Write Token + + + + I2C Read Token + + + + Dummy Register + + + + I2C Register Value + + + + + + + - - Nxyter I2C Register + + Nxyter DAC Register - - I2C Write Token + + DAC Write Token - - I2C Read Token + + DAC Read Token - - I2C Write Token + + Channel Down - - I2c Register Value + + DAC Trim Value