uwcms / cms-calo-layer1

Xilinx Microblaze Projects for RCT Upgrade
2 stars 8 forks source link

/opt/AMC13/ecad_activate_amc13.sh needs python 2.6 at 904 #21

Closed ekfriis closed 11 years ago

ekfriis commented 11 years ago

I think it got killed by a Quattor update. I can't find it with yum in SLC - I'll keep looking, but any tips are appreciated @jtikalsky

ekfriis commented 11 years ago

For the record, here is the error I get:

$ /opt/AMC13/ecad_activate_amc13.sh 16
/usr/bin/env: python2.6: No such file or directory
ekfriis commented 11 years ago

@pklabbers has fixed this. It gives the expected (slightly strange) output now:

[friis@vmepc-e1x07-13-01 cms-calo-layer1]$ /opt/AMC13/ecad_activate_amc13.sh 16
Using IP address 223 for Virtex
Using IP address 222 for Spartan
Serial: 16
Status: 11 - Unknown Status
Status 9 Expected
Unexpected status recieved!

Running cat /var/log/clock_init.log on the CTP6 shows that the clocks are now configured correctly:

~ # cat /var/log/clock_init.log
SETTING REGISTER MAP
REGISTER MAP IS SET
Waiting for Input Clock...
Detected.
Waiting for PLL Lock...
Acquired.
Configuration Complete.

Thanks Pam!!

jtikalsky commented 11 years ago

This output is fine. When I wrote this script, I didn't have any data on what the status register codes that were valid are. If 11 is good, feel free to add it to the python script as 'expected', but the warning at the end of that script has no strong meaning, given this.

On 10/16/2013 03:21 AM, Evan K. Friis wrote:

@pklabbers https://github.com/pklabbers has fixed this. It gives the expected (slightly strange) output now:

[friis@vmepc-e1x07-13-01 cms-calo-layer1]$ /opt/AMC13/ecad_activate_amc13.sh 16 Using IP address 223 for Virtex Using IP address 222 for Spartan Serial: 16 Status: 11 - Unknown Status Status 9 Expected Unexpected status recieved!

Running |cat /var/log/clock_init.log| on the CTP6 shows that the clocks are now configured correctly:

~ # cat /var/log/clock_init.log SETTING REGISTER MAP REGISTER MAP IS SET Waiting for Input Clock... Detected. Waiting for PLL Lock... Acquired. Configuration Complete.

Thanks Pam!!

— Reply to this email directly or view it on GitHub https://github.com/uwcms/cms-calo-layer1/issues/21#issuecomment-26400247.