Flash Programming

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 for the AMC13.

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

-- EricHazen - 06 Dec 2011

Edit | Attach | Watch | Print version | History: r8 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 05 Jan 2012 - EricHazen
  • Edit
  • Attach
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