
8
mikroBoard for ARM 144-pin
MikroElektronika
page
3. Programming the microcontroller
The microcontroller can be programmed with a bootloader or the JTAG programmer. The use of bootloader is enabled due
to the bootloader code that is loaded into the microcontroller. In order to program the microcontroller with the bootloader,
it is necessary to connect the board to a PC via the CN3 connector and USB cable, Figure 3-1. A .hex code is transferred
from the PC to the microcontroller by using some of the bootloader programs, such as Flash Magic.
The CN3 USB connector is connected to the UART module built into the microcontroller via FTDI module (FT232RL).
When the mikroBoard for ARM 144-pin operates as a stand-alone device, it is necessary to place jumper J2 on the
board. If the board is connected to the EasyARM v6 development system, jumper J2 should be removed.
Figure 3-1
: USB connector for programming
A
B
FP1
FERRITE
VCC-3.3
VCC-EXT
OSCI
DTR#
OSCO
TXD
TEST
VCC
RTS#
DSR#
AGND
RESET#
VCCIO
DCD#
NC
GND
RXD
CTS#
CBUS1
USBDM
GND
CBUS2
GND
USBDP
NC
CBUS3
CBUS1
3V3OUT
RI#
CBUS4
FT232RL
U2
VCC-FTDI
C19
100nF
VCC-3.3
C21
100nF
C20
C18
100nF
100nF
VCC-FTDI
E2
10uF
D2
P0.1
RESET
P0.14
P0.0
R17
100
100
100
100
R20
R19
R18
MBRS340T3
CN3
USB-ID ID 4
GND 5
USBDP D+ 3
USBDM D- 2
VCC-USB VBUS 1
USB MINI-B
J2
STANDALONE
VCC
VCC-FTDI
VCC-3.3
VCC-1.8
VCC-1.8
VCC-1.8
LPC2214
P1.27
V18 GND V3 P3.23 P3.22 P0.
0
P1.31 P3.21 P3.20 P3.19 P3.18 P3.17 P0.
1
P0.
2
V3 P1.26 P3.16 GND P3.15 P3.14 V3
P3.13
GND
P0.
3
P3.12
P0.
6
P0.
4
P3.
11
P0.
7
P1.25
P3.10
P1.24
P0.
5
P3.
9
P3.
8
P3.
7
V18A XT
AL1
XT
AL2
P1.28 GND
GNDA-PPL
P2.21 P2.20
RESET
P2.19 P2.18 P2.17 P2.16 P2.15 P2.14 GND P2.13 P1.29 P2.12 P2.
11
V3
P2.
5
P0.20
P2.
9
P1.30
P0.19
P2.
8
V3
P0.18
P2.
7
GND
P2.10
P2.
6
V18 P2.
4
P2.22
P2.3
GND
P2.2
P2.1
V3
GND
P1.20
P0.17
P0.16
P0.15
P2.0
P3.30
P3.31
P1.21
V3
GND
P0.14
P1.0
P1.1
P3.0
P3.1
P0.11
P0.10
P3.2
P1.23
V3
P1.22
P3.3
P0.9
P0.13
P3.4
P0.8
P0.12
GND
P3.5
P3.6
V3
GND
P0.21
P0.22
P0.23
P1.19
P0.24
GND
P2.23
P2.24
P2.25
P2.26
V3A
P1.18
P2.27
P2.28
P2.29
P2.30
P2.31
P0.25
GND
V3
NC
P3.29
P0.29
P0.27
P3.28
P0.30
P1.17
P3.27
P1.16
P0.28
P3.26
P3.25
P3.24
Figure 3-2
: USB UART module connection schematic