Instructions to reburn SIB EEPROMs
To create the kernel to burn into the EEPROMS:
CAUTION: Make sure your cmx environment is pristine before starting. A badly placed source .latteconfig will break this procedure.
setenv SBC_C_SBD $HOME/SIB
cmx set branch VXW --v=V6-9-1
cmx show branch VXW
VXW V6-9-1
sbc_make help
sbc_make file <package> <constituent> [--name=<name>] [--key=<key>] [--tag=<tag>]
sbc_make link <package> <constituent> --version=<version>
sbc_make help
sbc_make file VXW vxw_tornado_sio --tag=rad750
Which spits out all the following information to the screen:
Using object file /afs/slac.stanford.edu/g/glast/flight/OS/binary/VXW/V6-9-0/rad750/vxw_tornado_sio/vxw_tornado_sio.o
Creating directory /u/ey/jana/SIB/VXW/V6-9-0
Creating directory /u/ey/jana/SIB/VXW/V6-9-0/vxw_tornado_sio
Created stripped object /u/ey/jana/SIB/VXW/V6-9-0/vxw_tornado_sio/vxw_tornado_sio.o.s
Created compressed file /u/ey/jana/SIB/VXW/V6-9-0/vxw_tornado_sio/vxw_tornado_sio.o.s.z
Created header file /u/ey/jana/SIB/VXW/V6-9-0/vxw_tornado_sio/vxw_tornado_sio.o.s.z.f
File header for file /u/ey/jana/SIB/VXW/V6-9-0/vxw_tornado_sio/vxw_tornado_sio.o.s.z.f
---------------------------------------------------------
Header size: 32
Header version: 2
Header checksum: e8ac0d5e
File compressed: Yes
File checksum: a39b7347
File length: 271327
File key: 4294967295
File type: 65535
File timestamp: 144095907 (Tue Jul 26 18:38:27 2005)
File name: NONAME
Linking /u/ey/jana/SIB/links/vxw_tornado_sio --> /u/ey/jana/SIB/VXW/V6-9-0/vxw_tornado_sio/vxw_tornado_sio.o.s.z.f
To burn the EEPROMs, using file tools:
Launch target server for target_ip
file_tools_start <target_ip> <tag_type>
PBS_initialize
tffs_boot_dump 0
tffs_boot_dump 1
tffs_boot_partition 0, 0xdfe00, 0x10000, 0x10000
tffs_boot_partition 1, 0xdfe00, 0x10000, 0x10000
tffs_boot_dump 0
tffs_boot_dump 1
@cd "/nfs/slac/g/glast/vxw000/ELX/SIB/links"
@ls
tffs_boot_load 0,"vxw_tornado",0,0
tffs_boot_load 1,"vxw_symbol",0,0
tffs_boot_dump 0
tffs_boot_dump 1
FILE_sysTffsFormat 0, 0x100000
FILE_sysTffsFormat 1, 0x100000
quit
After booting and loading lcp_sumt.vx, call
FILE_initialize
To burn the EEPROMS over the 1553 from the spacecraft:
cd to links directory
< /nfs/slac/g/glast/vxw000/ELX/SIB/fix_header.vxw # Overwrites bank header
FILE_sendUpl "vxw_tornado",0,0,3 # lower bank
FILE_sendUpl "vxw_symbol", 0,0,6 # upper bank
FILE_sysTffsFormat 0,0x100000 # not sure
FILE_sysTffsFormat 1,0x100000 # not sure
Boot, then FILE_initialize
|