FreeCalypso > hg > freecalypso-docs
annotate DUART28-with-FCDEV3B @ 36:db344818b323
DUART28-with-FCDEV3B article written
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 13 Oct 2020 06:42:23 +0000 |
parents | |
children | ac33ec9a07d9 |
rev | line source |
---|---|
36
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 This article describes how to connect FreeCalypso DUART28 adapter to an FCDEV3B |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 target board, both the main connection of dual UART and optional boot control |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 connections. |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 Main connection: dual UART |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 ========================== |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 The main connection of two UARTs is made with a 10-wire ribbon cable. You |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 should have received the correct cable from Falconia Partners LLC together with |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 your FCDEV3B+DUART28 board kit - it is a rainbow-colored 10-wire ribbon cable |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 with two different end terminations: one end is terminated with a blue IDC |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 connector, the other end is terminated with a black connector into which |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 individual wires are inserted from the top. The blue connector goes to the |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 DUART28, the black connector goes to the FCDEV3B. |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 The blue connector going to the DUART28 board is keyed such that it can be |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 inserted in only one orientation, hence that one is expected to be always |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 correct. The black connector goes to the middle of the three headers on |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 FCDEV3B (J301), and in this case you are responsible for ensuring the correct |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 orientation. If you are using the official DUART28 to FCDEV3B cable from |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 Falconia Partners LLC, then the side with brown and red wires needs to be |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 facing toward JTAG and power input connectors. |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 Optional boot control provision |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 =============================== |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 If you wish to connect the optional boot control signals, connect two |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 individual jumper wires as follows: |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 * For PWON control, connect DUART28 CTL1 to the top pin of 2-pin header JP1 on |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 FCDEV3B, namely the pin that is closer to the adjacent PWON button. (The |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 other pin on JP1 is ground.) |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 * For RESET control, connect DUART28 CTL2 to JTAG connector J310 pin 2 on |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 FCDEV3B, which is the XDS_RESET signal. Naturally one cannot connect both |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 DUART28 CTL2 and JTAG at the same time. |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 * Ground connection between the two boards will normally be provided by the |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 main dual UART cable. |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 If you are going to connect these boot control signals, you MUST reprogram the |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 EEPROM on your DUART28 board to the DUART28C configuration and apply the |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 necessary DUART28C support patch to your Linux kernel ftdi_sio driver - |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 otherwise your hardware setup will be inoperable, with FCDEV3B getting held |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 down in reset whenever the second serial port is opened for regular serial |
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 communication. |