![Cypress FR81S CY91520 Series Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/cypress/fr81s-cy91520-series/fr81s-cy91520-series_recommendation-for-hardware-setup_2706175025.webp)
Recommendation for Hardware Setup 32-Bit FR81S Family
Document No. 002-09375 Rev. *B
25
5
Flash Programming Connection
This chapter shows which connections are needed for programming.
5.1
Overview
There are three different ways of programming the internal flash memory of this series.
▪
Serial programming via Uart0
▪
Serial programming via MDI interface
▪
Parallel programming interface.
5.2
Serial programming via UART0
In order to program the internal memory flash of the MCU via Uart0, the only needed part is a cable to connect the PC
with the MCU Usart0 module, to achieve that nowadays you can do it in different ways; using a regular serial cable if a
DB9 serial connector is present in the computer or using a more modern USB cable (i.e. FTDI: TTL-232R
http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm
). With the USB cable the achieved baud rate is higher due
to the higher speed of USB communication.
Figure 30. Principal Schematic for serial programming via Usart0 (with USB Cable)
To enable the serial programming using this method, you have to configure the Mode pins in an appropriate way (see
Figure 30) according to the Table 3.
USB
TTL-232R
FTDI: TTL-232R
MB91F52x
1n
RESET
2k
X0A
X1A
X0
X1
AVRH
VSS
32
.7
6
8k
H
z
4
M
H
z
12p
12p
10p
10p
5V
SOT0_0
SIN0_0
C
4u7
P006
MD0
MD1
Vcc
AVcc
AVss/AVRL
1
00
k
RSTX
NMIX
2
K
7
5V
2
K
7
33
k
5V
2K
7
CY91F52x