Difference: AMC13FlashProgramming (1 vs. 8)

Revision 809 Apr 2015 - DavidZou

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

Flash Programming

Line: 12 to 12
 
0x200000 AMC13T2 AMC13T2vX.mcs Current Spartan-6 firmware ps vs
0x400000 AMC13T1 AMC13T1vX.mcs Current Virtex-6 firmware pk (or pv) vk (or vv)
Changed:
<
<
Use the commands listed in the table in the AMC13Tool utility for programming. Current firmware (MCS files) are available in Wu's Directory.
>
>
Use the commands listed in the table in the AMC13Tool2 utility for programming. Current firmware (MCS files) are available in Wu's Directory.
 

Reference Links

Revision 716 Mar 2015 - DavidZou

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

Flash Programming

Line: 7 to 7
 NOTE: Table needs to be updated with new firmwares

Offset Name File Name Notes Program Command Verify Command
Changed:
<
<
0x0 Header AMC13T2Header.mcs 80 byte header which "never" changes pfh vfh
0x100000 Golden T2 AMC13T2Golden.mcs Backup Spartan firmware pbs vbs
>
>
0x0 Header AMC13T2Header.mcs AMC13T2Header_6slx25t.mcs AMC13T2Header_6slx45t.mcs 80 byte header which "never" changes pfh vfh
0x100000 Golden T2 AMC13T2Golden.mcs AMC13T2Golden_6slx25t.mcs AMC13T2Golden_6slx45t.mcs Backup Spartan firmware pbs vbs
 
0x200000 AMC13T2 AMC13T2vX.mcs Current Spartan-6 firmware ps vs
0x400000 AMC13T1 AMC13T1vX.mcs Current Virtex-6 firmware pk (or pv) vk (or vv)

Revision 613 Feb 2015 - DavidZou

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

Flash Programming

The AMC13 flash memory is divided into 4 regions as follows:

Added:
>
>
NOTE: Table needs to be updated with new firmwares
 
Offset Name File Name Notes Program Command Verify Command
Changed:
<
<
0x0 Header AMC13T2Header.mcs 80 byte header which "never" changes PFH vfh
0x100000 Golden T2 AMC13T2Golden.mcs Backup Spartan firmware PBS vbs
0x200000 AMC13T2 AMC13T2vX.mcs Current Spartan-6 firmware PS vs
0x400000 AMC13T1 AMC13T1vX.mcs Current Virtex-6 firmware PV vv
>
>
0x0 Header AMC13T2Header.mcs 80 byte header which "never" changes pfh vfh
0x100000 Golden T2 AMC13T2Golden.mcs Backup Spartan firmware pbs vbs
0x200000 AMC13T2 AMC13T2vX.mcs Current Spartan-6 firmware ps vs
0x400000 AMC13T1 AMC13T1vX.mcs Current Virtex-6 firmware pk (or pv) vk (or vv)
  Use the commands listed in the table in the AMC13Tool utility for programming. Current firmware (MCS files) are available in Wu's Directory.

Revision 518 Jun 2012 - EricHazen

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

Flash Programming

Changed:
<
<
Preliminary Python tools (using PyChips) which support AMC13 flash programming:
>
>
The AMC13 flash memory is divided into 4 regions as follows:
 
Changed:
<
<
  • amc13_python_2012-01-05.tar.gz -- Initial pre-release. To use, install PyChips, change to amc13_python/src_amc13 and enter "python p_flash_v4.py". These tools assume the default I/P address of 192.168.1.20 for the AMC13.
>
>
Offset Name File Name Notes Program Command Verify Command
0x0 Header AMC13T2Header.mcs 80 byte header which "never" changes PFH vfh
0x100000 Golden T2 AMC13T2Golden.mcs Backup Spartan firmware PBS vbs
0x200000 AMC13T2 AMC13T2vX.mcs Current Spartan-6 firmware PS vs
0x400000 AMC13T1 AMC13T1vX.mcs Current Virtex-6 firmware PV vv
 
Added:
>
>
Use the commands listed in the table in the AMC13Tool utility for programming. Current firmware (MCS files) are available in Wu's Directory.
 
Changed:
<
<

Handy Links

>
>

Reference Links

 

Revision 410 Jan 2012 - EricHazen

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

Flash Programming

Line: 6 to 6
 
  • amc13_python_2012-01-05.tar.gz -- Initial pre-release. To use, install PyChips, change to amc13_python/src_amc13 and enter "python p_flash_v4.py". These tools assume the default I/P address of 192.168.1.20 for the AMC13.
Deleted:
<
<
Need to essentially port this C++ code (DCC2Programmer.cc) to Python.

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.

Flash Programming Details

Check Status

 

Handy Links

Revision 305 Jan 2012 - EricHazen

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

Flash Programming

Added:
>
>
Preliminary Python tools (using PyChips) which support AMC13 flash programming:

  • amc13_python_2012-01-05.tar.gz -- Initial pre-release. To use, install PyChips, change to amc13_python/src_amc13 and enter "python p_flash_v4.py". These tools assume the default I/P address of 192.168.1.20 for the AMC13.
 Need to essentially port this C++ code (DCC2Programmer.cc) to Python.
Line: 18 to 22
 
Word Bits 31..24 23..16 15..8 7..0
Byte Number 0 1 2 3
Changed:
<
<
F_wbuf holds a sequence of command and data bytes to be sent to the flash. These must be
>
>
F_wbuf holds a sequence of command and data bytes to be sent to the flash.
 

Flash Programming Details

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 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-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback