FreeCalypso > hg > freecalypso-docs
annotate DUART28-with-FCDEV3B @ 72:2ac10b2cde4f
DUART28-PPD-surprise article written
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 19 Jul 2021 05:01:15 +0000 |
parents | ac33ec9a07d9 |
children |
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 |
37
ac33ec9a07d9
DUART28-with-FCDEV3B: the end going to DUART28 can be either blue or grey
Mychaela Falconia <falcon@freecalypso.org>
parents:
36
diff
changeset
|
11 with two different end terminations: one end is terminated with a blue or grey |
ac33ec9a07d9
DUART28-with-FCDEV3B: the end going to DUART28 can be either blue or grey
Mychaela Falconia <falcon@freecalypso.org>
parents:
36
diff
changeset
|
12 IDC connector, the other end is terminated with a black connector into which |
ac33ec9a07d9
DUART28-with-FCDEV3B: the end going to DUART28 can be either blue or grey
Mychaela Falconia <falcon@freecalypso.org>
parents:
36
diff
changeset
|
13 individual wires are inserted from the top. The blue or grey connector goes to |
ac33ec9a07d9
DUART28-with-FCDEV3B: the end going to DUART28 can be either blue or grey
Mychaela Falconia <falcon@freecalypso.org>
parents:
36
diff
changeset
|
14 the DUART28, the black connector goes to the FCDEV3B. |
36
db344818b323
DUART28-with-FCDEV3B article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
37
ac33ec9a07d9
DUART28-with-FCDEV3B: the end going to DUART28 can be either blue or grey
Mychaela Falconia <falcon@freecalypso.org>
parents:
36
diff
changeset
|
16 The blue or grey connector going to the DUART28 board is keyed such that it can |
ac33ec9a07d9
DUART28-with-FCDEV3B: the end going to DUART28 can be either blue or grey
Mychaela Falconia <falcon@freecalypso.org>
parents:
36
diff
changeset
|
17 be inserted in only one orientation, hence that one is expected to be always |
36
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. |