110 likes | 199 Views
Firmware extension of the BLM System „Parameter & Configuration Update ”. Örs Málnási-Csizmadia. Outline. BLEPM architecture modifications Configuration & Parameter u pdate a rchitecture Write & Read of the SPI flash Parameter update through FESA. Parameter update path on DAB64x.
E N D
Firmware extension of the BLM System„Parameter&ConfigurationUpdate” Örs Málnási-Csizmadia Parameter&ConfigurationUpdate
Outline SSM & Parameter Path BLEPM architecture modifications Configuration & Parameter update architecture Write & Read of the SPI flash Parameter update through FESA
Parameter update path on DAB64x Parallel Connector RX (incl. Sync) Signal QC VME Bus Downstream Core VME Distribution MM 66/66 Errors INTERLOCK MASK TABLE VME Core mux Upstream Core BIS1/BIS2 System Self Monitoring HW Interlock StTC/Errors Combiner Card BIS1/BIS2 FIFO Interlock SB STATUS THTABLE Package Append Sensors DAB64x Param Tables Diagnostic Reader DAB64x Flash Access Diagnostic Packaging Param Core Commands Parallel Flash CmdCtrl Status Signal QC Read Param Page CTRL Param Tables FB Timings PKG ADM Parallel Connector TX BP / B-In / B-Out sort Timer BP / B-In / B-Out Decoded CTRLS CTRL Core PKG MUX T 66/66 Commands PackageSlicer Flash Pages Flash Pages PackageSlicer Prog Core MM 18/18 Parameters Parameter&ConfigurationUpdate Read Prog PageCTRL mux
Parameter & Configuration update on BLEPM ProcTC PROC TH TABLE Processing Core Optical DC FIFO Proc Unpackage GT Core RX (Optical) Signal QC T 18/18 DC FIFO num package append Parallel Connector TX MM 66/66 BLEDP SSM Errors checked package append DC FIFO num 100 MHz 40 MHz mux INTERLOCK MASK TABLE observed sample System Self Monitoring PkgDismantle BIS1/BIS2 Interlock SB Timings StTC Errors Sensors Timer BP / Beam-in / Beam-Out Diagnostic Reader TIMING TABLE Diagnostic Packaging STATUS TH TABLE Parallel Connector RX (incl. Sync) ParamTables FB PKG ADM Timing Packaging GT Core TX (Optical) BLEDP Packages Errors Controls CNT ADM mux Decoded CTRLS Signal QC CTRL Core package append T 18/18 BLEPM Param Tables ASMI Param reader T 16/16 Optical ASMI Writer DC FIFO ASMI Parallel MM 18/18 Arbiter 40 MHz 20 MHz sort Parameter&ConfigurationUpdate SPI Flash
Parameter & Configuration update architecture 40 MHz 20 MHz data DataSlicer 8 PkgDismantle ALTERA ASMI PARALLEL DC FIFO asmi_dataout asmi_scein asmi_sdoin asmi_dclk Cntr FSM controls SPI Flash datain Addresser HeaderCheck addr shift_bytes missing_pkg write addr FSM Arbiter wren read Refresh Param Table append rden sync sector_erase sync busy data_valid ASMI Writer data_out ASMI Param Reader 16 16 16 18 8 18 The ASMI PARALLEL writes data in the FLASH when the write_buffer of 256 Bytes is filled up.The PROG_PAGE must have the payload multiple by 256 Bytes. Parameter&ConfigurationUpdate
ASMI Erase & Write Start IDLE inp_vld= 1 BUS_RQST ack= 1 busy = 0 NEW_ADDR no yes ERASE busy = 1 ERASE_BUSY busy = 0 WRITE_PAGE end_of_page OR pkg_ended PAGE_DONE yes no package ended new sector WAIT_BUSY busy = 0 NEW_PAGE SSM & Parameter Path • Active Serial Memory Interface • 64 sectors • 2 Mb/ sector • Sector must be erased before writing • 256 bytes can be written / operation
ASMI Read Start IDLE read param pulse READ_RQST ack= 1 busy = 0 READ_PAGE second last word LAST_WORD Parameter&ConfigurationUpdate • Infinite bytes can be read / operation
Parameter update through FESA Parameter&ConfigurationUpdate • Write the parameters in the flash • dabinit process with an rbf file • Send two commands • Update BLEPM Param Flash • Refresh BLEPM Param Table
Thank you! Parameter&ConfigurationUpdate