apollo-lhc / ApolloSM_plugin

ApolloSM control class and BUTool plugin
2 stars 5 forks source link

Weird "status" read issue #3

Open felexchen opened 4 years ago

felexchen commented 4 years ago

The command:

status 3 CM usually prints out Process done CM IOS_ENABLED OVERRIDE_PWR_GOOD PWR PWR_GOOD STATE UC
CM1 0 0 0 1 0
CM1_REQ 0 0 0

SW VER: -1

but today about half an hour after Dan and I used the svfplayer command:

svfplayer /fw/CM/top_K.svf XVC1

on SM006 we got Process done 000000000000000CM|0IOS_ENABLED|0OVERRIDE_PWR_GOOD|0PWR|0PWR_GOOD|0STATE|0UC| 000000000000000--|------------|------------------|----|---------|------|---| CM1| 0| | 0| 0| 1| 0| CM1_REQ| | 0| 0| | | 0|

SW VER: -1

-Felex

felexchen commented 4 years ago

Today 10/7/19 I manually programmed the Kintex FPGA with the following commands and the same thing happened:

cmpwrup svfplayer /fw/CM/CM_Kintex.svf XVC1

xsvftool-gpio, part of Lib(X)SVF (http://www.clifford.at/libxsvf/). Copyright (C) 2009 RIEGL Research ForschungsGmbH Copyright (C) 2009 Clifford Wolf clifford@clifford.at Lib(X)SVF is free software licensed under the ISC license. Modified for use in Apollo platform by Michael Kremer, kremerme@bu.edu

playing /fw/CM/CM_Kintex.svf JTAG setup succesful JTAG shtdown succesful. SVFplayer ran without errors.

write CM.CM1.C2C.INITIALIZE 1 Write to register CM.CM1.C2C.INITIALIZE write CM.CM1.C2C.INITIALIZE 0 Write to register CM.CM1.C2C.INITIALIZE write C2C1_AXI_FW.UNBLOCK Mask write to C2C1_AXI_FW.UNBLOCK write C2C1_AXILITE_FW.UNBLOCK Mask write to C2C1_AXILITE_FW.UNBLOCK status 3 CM Process done 000000000000000CM|0IOS_ENABLED|0OVERRIDE_PWR_GOOD|0PWR|0PWR_GOOD|0STATE|0UC| 000000000000000--|------------|------------------|----|---------|------|---| CM1| 1| | 1| 1| 4| 1| CM1_REQ| | 0| 1| | | 1|

SW VER: -1

status 3 CM Process done CM IOS_ENABLED OVERRIDE_PWR_GOOD PWR PWR_GOOD STATE UC
CM1 1 1 1 4 1
CM1_REQ 0 1 1

SW VER: -1

-Felex

felexchen commented 4 years ago

Now, 15 minutes later, it's not happening with the same commands.