To upload flasherboard firmware (the latest release file should already be on the DOM after uploading the release.hex)
(only for release after 400)
offeverything
ldfb
 
If this does not work check the card, pair and A/B by:
on all
And e.g. for DOM at position 00A do:
domterm 00A
it is very important that you never use enableFBmin
on more than one DOM at a time.
then, be sure to do an off all!
this is VERY IMPORTANT (to prevent damage to filter boxes)
 
enableFBmin
enableFBmin: LEDs may come on (steady-state) on older flasherboards.
Use enableFB unless CPLD state prevents it!  Continue [y/n]? y
getFBfw .
6
ls
Name              FLASH addr  Length      Data Length
iceboot           0x41000000  0x00070000  0x00070000
iceboot config    0x00000000  0x00000000  0x00000000
az-setup.fs       0x414B0000  0x00010000  0x00002E78
az-tests.fs       0x41290000  0x00010000  0x0000038D
configboot.sbi    0x41690000  0x00080000  0x000780CC
domapp            0x414C0000  0x000E0000  0x000D9400
domapp.sbi        0x41070000  0x00080000  0x000780CC
domcal            0x413B0000  0x00040000  0x0003B5F0
echomode          0x41630000  0x00030000  0x0002B8F0
iceboot.sbi       0x41710000  0x00080000  0x000780CC
menu              0x415A0000  0x00050000  0x000423E0
startup.fs        0x41610000  0x00010000  0x00000D55
stf-nocomm.sbi    0x410F0000  0x00080000  0x000780CC
stf.sbi           0x41170000  0x00080000  0x000780CC
stfserv           0x411F0000  0x00060000  0x0005C6E0
wiggle            0x41660000  0x00030000  0x0002CFB0
FB_CPLDV12.xsvf   0x41790000  0x00020000  0x00019739
 
s" fb-cpld.xsvf.gz" find if gunzip fb-cpld endif
XSVF executed successfully!
 
enableFB
 
getFBfw .
 
12
 
^]
Control-c
off all
 
it is very important that you never use enableFBmin
on more than one DOM at a time.
then, be sure to do an off all!
this is VERY IMPORTANT (to prevent damage to filter boxes)
 
Summary of commands you will need:
enableFB
        powers on fb, resets, enables DC/DC, initializes width/brightness/mux, clears LED flops, etc etc etc with our new validation scheme in
place.
enableFBmin
        simply powers on fb and resets CPLD, without any checks.  use this if the cpld is hosed and needs to be reprogrammed (enableFB will
fail its checks and will power the fb back off)
disableFB
        disables and powers down the fb
getFBfw
        return the fb firmware version
getFBhw
        return the fb hardware (board artwork) version
fbid type
        return the fb id
fb-cpld
        used to reprogram fb cpld, as in s" blah.xsvf" find if fb-cpld endif
127 setFBbrightness
        set the fb brightness level (127 here)
64 setFBwidth
        set the fb pulse width (64 here)
$fff setFBenables
        set the binary FB enable mask (all 12 LEDs enabled here).  The "$" specifies hex, but if you are good at translating binary masks to
decimal, you don't need this.  bit[0] is LED1, bit[1] is LED2, etc...
2 setFBmux
        mux which LED current is sent back to the mainboard (LED2 here).  An argument of 0 disables the mux, while 13 selects the TTL driver
pulse.
startFBflashing
        starts the flasher board flashing
stopFBflashing
        stops the flasher board flashing
(1 setFBdcdc, getFBdcdc)
        independent control of the DC/DC enable bit, for debug.  leaving in for now.