|
|
Número de pieza | SH7268 | |
Descripción | Boot From the Serial Flash Memory Using SPI Multi I/O Bus Controller | |
Fabricantes | Renesas | |
Logotipo | ||
Hay una vista previa y un enlace de descarga de SH7268 (archivo pdf) en la parte inferior de esta página. Total 61 Páginas | ||
No Preview Available ! SH7268/SH7269 Group
Boot From the Serial Flash Memory
Using SPI Multi I/O Bus Controller
APPLICATION NOTE
R01AN0663EJ0101
Rev. 1.01
Feb 16, 2012
Summary
SH7268/SH7269 SPI multi I/O bus controller (SPIBSC) has the function to directly fetch the program data on a serial
flash memory and execute them (external address space read mode). This application note offers explanations
Target Device
SH7268/SH7269 MCU (In this document, SH7268/SH7269 are described as "SH7269".)
When using this application note with other Renesas MCUs, careful evaluation is recommended after making
modifications to comply with the alternate MCU.
Contents
1. Introduction....................................................................................................................................... 2
2. Overview of the Serial Flash Boot.................................................................................................... 3
3. Applications ...................................................................................................................................... 8
4. Sample Program Listing................................................................................................................. 26
5. Using the Downloader.................................................................................................................... 52
6. References ..................................................................................................................................... 57
R01AN0663EJ0101 Rev. 1.01
Feb 16, 2012
Page 1 of 58
http://www.Datasheet4U.com
1 page SH7268/SH7269 Group
Boot From the Serial Flash Memory
Using SPI Multi I/O Bus Controller
The loader program enables the read mode in the external address space of SPIBSC. By this setting, the application
program stored in the serial flash memory can be allocated in the external address space. After this setting, the SH7269
branches to the entry function of the application program. Figure 2 shows the operation image of the loader program.
SH7269
Internal ROM to boot
Internal ROM program
to boot
(6 ) Execute the loader program
Renesas Serial
Peripheral
Interface
Channel 0
(RSPI 0)
Internal high- speed RAM
H’FFF 8 0000 Loader program
( 8KB)
H’FFF 8 1FFF
(7 )Set the external address
space to read mode
SPI multi I/O
bus controller
( SPIBSC)
Serial flash memory
Loader program
( 8KB)
Application program
(9 ) Read the corresponding area to
store in the read buffer of SPIBSC
(8 ) Fetch the application program
mapped in the SPI multi I/O
bus space
(10) Execute the read instruction
( Read request )
Figure 2 Operation Image of the Loader Program
R01AN0663EJ0101 Rev. 1.01
Feb 16, 2012
Page 5 of 58
5 Page SH7268/SH7269 Group
Boot From the Serial Flash Memory
Using SPI Multi I/O Bus Controller
3.1.9
Enabling Read Mode in External Address Space
Read mode should be enabled in SPIBSC external address space to allocate application program in the SPI multi I/O
bus space.
3.1.10 Application Program Stack Pointer Setting
The loader program specifies the value stored in the first 12 to 15 bytes in the application program in the stack pointer
(R15).
3.1.11 Application Program Jump to the Entry Function Address
The loader program jumps to the entry function address stored in the first 8 to 11 bytes in the application program.
3.1.12 Register State after Executing Loader Program
Table 4 lists the each register state after executing the loader program. The unlisted registers are set the same value as
described in SH7268 Group, SH7269 Group User’s Manual for Hardware.
Table 4 Resister State after Executing Loader Programs (1)
Register Abbr
General register
Program counter
Stack pointer
Status register
Vector base register
Floating-point status/
Control register
Frequency control register
Standby control register 3
Standby control register 4
Standby control register 5
Standby control register 6
Standby control register 7
Standby control register 8
System control register 5
eviated
R0 to R14
PC
SP(R15)
SR
VBR
FPSCR
Setting value
Indefinite
Depends on the
setting
Depends on the
setting
Indefinite
H'FFF8 1B00
H'0004 0001
FRQCR
STBCR3
STBCR4
STBCR5
STBCR6
STBCR7
STBCR8
SYSCR5
H'1015
H'1A
H'00
H'00
H'00
H'12
H'09
H'0F
Common control register
Bit rate setting register
Data read control register
Data read command register
Data read enable setting register
SPI mode control register
SPI mode command register
CMNCR
SPBCR
DRCR
DRCMR
DRENR
SMCR
SMCMR
H'00FF F320
H'0000 0100
H'0001 0101
H'00EB 0000
H'0222 47E0
H'0000 0004
H'006B 0000
Remarks
Entry function address of the
application program
Stack pointer setting value of
the application program
IMASK bit is B’1111
Single precision operation
Round mode : to 0
Enables writing in large -
capacity internal RAM
R01AN0663EJ0101 Rev. 1.01
Feb 16, 2012
Page 11 of 58
11 Page |
Páginas | Total 61 Páginas | |
PDF Descargar | [ Datasheet SH7268.PDF ] |
Número de pieza | Descripción | Fabricantes |
SH7263 | 32-Bit RISC Microcomputer | Renesas |
SH7268 | Video Display Controller 4 Driver Users Manual | Renesas |
SH7268 | 32-Bit RISC Microcomputer | Renesas |
SH7268 | Digital Video Decoder Driver Users Manual | Renesas |
Número de pieza | Descripción | Fabricantes |
SLA6805M | High Voltage 3 phase Motor Driver IC. |
Sanken |
SDC1742 | 12- and 14-Bit Hybrid Synchro / Resolver-to-Digital Converters. |
Analog Devices |
DataSheet.es es una pagina web que funciona como un repositorio de manuales o hoja de datos de muchos de los productos más populares, |
DataSheet.es | 2020 | Privacy Policy | Contacto | Buscar |