Configuration
Jumper J1 connects the Emulation Adapter reset line and the user target board reset line and is populated by default. EA also features a Reset push button (SW1).
If having problems establishing the initial debug session with the Emulation Adapter, remove J1 and try again.
Jumpers J2 and J3 select clock source for the emulation device.
Position 1-2 (default position) selects the crystal circuit oscillator on the user target board.Position 2-3 selects an external clock source (Q1 socket on the Emulation Adapter).
The Emulation Adapter may not operate when your target board’s crystal circuit is used as the clock source. Typical design guideline is that the crystal should be as close as possible to the microcontroller. The crystal on your target board might not oscillate in conjunction with the Emulation Adapter when the clock lines (TP21_2, TP21_3) between the crystal and the emulation device on the Emulation Adapter become too long, thus affecting the impedance of the crystal circuit. |
Enclosed in the Emulation Adapter package is a separately packed 16 MHz crystal. The crystal can be used as a 16MHz external clock (XOSC) source to the emulation device. If a different clock frequency is required, insert appropriate crystal into the Q1 socket and replace C24 (default 10pF populated) and C25 (default 10pF populated) accordingly. Crystal socket Q1 is per default not populated (NP). |
Crystal socket Q1below:
Soldered jumpers are by default placed to connect ARM CoreSight 20 connector trace signals to port P18 (J9 – J13). If P18 on user target board is used for any other purpose than trace, Emulation Adapter allows changing the trace source to port P22 (J4 – J8) with relocation of the jumpers. |
Soldered jumpers J4-J13 on EA on the image below:
Default position on P18 |
Optional position on P22 |
winIDEA configuration
By default, P18 port pins (P18_3 – P18_7) or P22 port pins (P22_0 – P22_4) are set as GPIO pins. To configure these pins as trace pins in winIDEA, open Hardware menu / CPU Options / Analyzer tab and add a script CYT2Bx_TraceInit.cpp in the SoC Initialization section. Via the Parameters options and depending on the user target board configuration allocate:
•TRACE CLOCK Port to PORT 18 (or PORT 22),
•TRACE DATAn PORT to PORT 18 (or PORT 22).
More information in winIDEA Help.
Emulation Adapter Power supply is configured via the unshrouded 26-pin 2.54 mm header (P2).
Signal direction |
Signal |
Pin |
Pin |
Signal |
Signal direction |
---|---|---|---|---|---|
Target board |
VDDA |
1 |
2 |
CVDDA |
Emulation device |
Target board |
VREFH |
3 |
4 |
CVREFH |
Emulation device |
Not Connected |
NC |
5 |
6 |
NC |
Not Connected |
Target board |
VDDIO_1 |
7 |
8 |
CVDDIO_1 |
Emulation device |
Target board |
VDDIO_2 |
9 |
10 |
CVDDIO_2 |
Emulation device |
Target board |
VDDD |
11 |
12 |
CVDDD |
Emulation device |
Not Connected |
NC |
13 |
14 |
NC |
Not Connected |
Not Connected |
NC |
15 |
16 |
NC |
Not Connected |
Not Connected |
NC |
17 |
18 |
NC |
Not Connected |
Not Connected |
NC |
19 |
20 |
NC |
Not Connected |
Ground |
GND |
21 |
22 |
GND |
Ground |
Ground |
GND |
23 |
24 |
GND |
Ground |
Ground |
GND |
25 |
26 |
KEY |
|
P2 Signal description
Signal Direction is described from the BlueBox perspective.
By default, all jumpers are set to connect your target power supply to the microcontroller residing on the Emulation Adapter . Only pins 1-2, 3-4, 7-8, 9-10 and 11-12 must be bridged but for the convenience and ease of use all jumpers are set, except for pins 5-6 and 25-26.
Pin 26 is the polarizer key preventing incorrect connection of the IEA-PS Power converter, when being plugged in.
If a different power source is used (e.g. a Standalone operation), remove all jumpers and apply 3V3 or 5V to:
•CVDDA (pin 2),
•CVREFH (pin 4, apply the same voltage as on VDDA),
•CVDDIO_1 (pin 8),
•CVDDIO_2 (pin 10),
•CVDDD (pin 12).
Enclosed Power supply package (Power converter and Power adapter) simply plugs into the P2 header row, providing the necessary power supply for Emulation Adapter operation.
LED D1 indicates, if power is supplied to the Emulation Adapter. Refer to the microcontroller documentation for more details about power voltage designations.
P3, P4, P5, P6 pinouts match the pinout of the emulation device (176QFP). Refer to the microcontroller documentation for pin assignment.
J14 and J15 provide grounding points on the EA.