aboutsummaryrefslogtreecommitdiff
path: root/tracwiki/AlphaBoardStrategy.trac
blob: 2ee44988d81d1d77d2f89a29a8c4018aa1a3c3d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
= The Cryptech Alpha Board =

== Goal ==
Develop a first, custom HSM board that can be used to support a first set of applications as well as being used for further development of new functionality as well as security mechanisms such as tamper detection and protection, key storage etc. Deadline is to produce palpable results before summer, 2015.

* The use cases and requirements for the alpha board are specified on the [http://trac.cryptech.is/wiki/Dashboard Dashboard].
* The basic blocks of the Alpha board is [wiki:Hardware "shown here"].
* The [wiki:AlphaBoardComponents "BOM and component requirements"].
* The detailed [http://trac.cryptech.is/browser/doc/design/Alpha_board_drawing.pdf "Alpha board functional drawing"].


== Plan ==
1. Choose FPGA and ARM (done)
2. Develop BOM, requirements and functional diagram (done-ish).
3. Develop complete [wiki:AlphaSchematics "schematics"] (almost done).
4. Develop dev-board ouorselves to connect chosen ARM to FPGA on Novena, to do some early development and testing in parallell with step 5.
5. Get professional designer to do many-layer PCB from schematics. 
6. Manufacture a couple of boards (~10).
7. Bug fix hardware+software.
8. Make beta design.
9. Manufacture more boards (~50).


== Way forward ==

We currently use the Novena as a dev-board. It has a [http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&tab=Documentation_Tab&pspll=1&SelectedAsset=Documentation&ProdMetaId=PID/DC/i.MX6Q&fromPSP=true&assetLockedForNavigation=true&componentId=2&leftNavCode=1&pageSize=25&Documentation=Documentation/00610Ksd1nd%60%60Data%20Sheets&fpsp=1&linkline=Data%20Sheets "Freescale i.MX6 CPU (ARM Cortex A9)"], and a Xilinx Spartan-6 LX45 CSG324-packaged FPGA.[[BR]]

We want to over-size rather than under-size the FPGA on the Alpha board. The biggest FPGA from Xilinx/Altera that does not require tools with a commercial license that we've found is the ​Xilinx Artix-7 XC7A200T FBG484.

We've only considered ARM CPUs. Either about the size of Cortex M3 / M4 (or future M7) or Cortex A8 / A9.[[BR]]
A design with an A8/A9 turned out to be unattractive from a complexity and price point of view, so we're going to use one of the biggest M4 we could find. STM32F429.


We are currently using a Freescale proprietary interface called EIM between the ARM and the FPGA on the Novena. EIM is not available with microcontrollers from ST, so we will use a similar interface made for connecting the ARM to external memory (called FMC). This interface runs at speeds up to 90 MHz, which is more than we are going to be using with our current FPGA cores.



== Risks at this point ==

1. Taking too long deciding on what the Alpha board should contain.
2. Ordering PCB design and manufacturing boards that just does not work for our purposes.
3. Getting Alpha boards that require too much time to get working.


== Conclusion ==

Use a high-end Cortex-M4 ARM.[[BR]]
There is a huge difference in complexity between M4 and A9, mainly because of the DDR3 memory used with A9. An M4 design will both be easier to design, cheaper to both design and build and will be fast enough for all our early use cases anyways.


Do not use the exact same FPGA, as it is too small to fit everything we need.[[BR]]


Develop full schematics in-house.[[BR]]
It turned out to be hard, costly or both, to outsource this part. We will probably spend less time developing the schematics ourselves than we would spend explaining what to develop to a third party.