Commit fc573b68 authored by Federico Vaga's avatar Federico Vaga

doc: update device manual

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@vaga.pv.it>
parent 9287b3df
...@@ -9,7 +9,7 @@ programming application FPGA ...@@ -9,7 +9,7 @@ programming application FPGA
:organization: CERN :organization: CERN
:Date: 2017-10-12 :Date: 2017-10-12
:Copyright: GNU GPL, version 2 or any later version :Copyright: GNU GPL, version 2 or any later version
:Version: 0.5 :Version: 0.9.0
:Manual section: 4 :Manual section: 4
:Manual group: CERN BECOHT Toolkit :Manual group: CERN BECOHT Toolkit
...@@ -21,17 +21,20 @@ and owner root:root. The number ``[0-N]`` represents a *SVEC Module* instance. ...@@ -21,17 +21,20 @@ and owner root:root. The number ``[0-N]`` represents a *SVEC Module* instance.
It is used to program the *Application FPGA* of a `SVEC module`_ on the VME bus. It is used to program the *Application FPGA* of a `SVEC module`_ on the VME bus.
The programming procedure consists in taking an FPGA bit-stream from the user The programming procedure consists in taking an FPGA bit-stream from the user
and writing it in the Application FPGA on the SVEC Module until and writing it in the Application FPGA on the SVEC Module.
the user close the device.
Once the device has been closed the Application FPGA become active and, Once the device has been closed the Application FPGA become active and,
if valid, it will run the FPGA bit-stream provided by the user. if valid, it will run the FPGA bit-stream provided by the user.
In order to prevent accidental programming, the Application FPGA programming In order to prevent accidental programming, the Application FPGA programming
procedure is protected by the sysfs attribute ``AFPGA/lock``, usually of mode procedure is protected by the sysfs attribute ``AFPGA/lock``, usually of mode
0644 and onwer root:root. On read it returns a string representing the current 0644 and owner root:root. On read it returns a string representing the current
locking status. On write it accepts only the string "unlock" to unlock locking status. On write it accepts only the strings:
the programming procedure. Once the programming procedure has been unlocked
there is no way to lock it again. - "unlock" to unlock the programming procedure.
- "lock" to lock the programming procedure
Once the programming procedure has been completed, the device go back to the
locking status.
The complete programming procedure is: The complete programming procedure is:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment