Difference: AMC13FlashProgramming (1 vs. 2)

Revision 206 Dec 2011 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

Flash Programming

Line: 6 to 6
 (DCC2Programmer.cc) to Python.
Changed:
<
<
Registers accessed in VME code in table below. See Wu's documentation for details of the VME registers, which will be very similar to the ones on AMC13 accessed through IPbus.

Name VME address
<-- -->
Sorted ascending
Description
VME_csr_serial 0x10 bits 31:16 Board serial number
VME_csr_addr 0x10 Status/control register (see documentation)
F_wbuf_addr 0x800-0x8ff flash write buffer
F_rbuf_addr 0xa00-0xaff flash read buffer
F_cmd_addr 0x100 flash command register
>
>
Flash control registers listed in table below.

Name IPbus address Description
F_wbuf ? flash write buffer
F_rbuf ? flash read buffer
F_cmd ? flash command register

All registers are 32 bits wide. Multiple bytes are stored with the first byte in the upper 8 bits, etc.

Word Bits 31..24 23..16 15..8 7..0
Byte Number 0 1 2 3

F_wbuf holds a sequence of command and data bytes to be sent to the flash. These must be

Flash Programming Details

Check Status

 

Handy Links

Revision 106 Dec 2011 - EricHazen

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="HcalDTC"

Flash Programming

Need to essentially port this C++ code (DCC2Programmer.cc) to Python.

Registers accessed in VME code in table below. See Wu's documentation for details of the VME registers, which will be very similar to the ones on AMC13 accessed through IPbus.

Name VME address Description
VME_csr_serial 0x10 bits 31:16 Board serial number
VME_csr_addr 0x10 Status/control register (see documentation)
F_wbuf_addr 0x800-0x8ff flash write buffer
F_rbuf_addr 0xa00-0xaff flash read buffer
F_cmd_addr 0x100 flash command register

Handy Links

-- EricHazen - 06 Dec 2011

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback