C509-L_97 SIEMENS [Siemens Semiconductor Group], C509-L_97 Datasheet - Page 269

no-image

C509-L_97

Manufacturer Part Number
C509-L_97
Description
8-Bit CMOS Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
Table 10-5
Bootstrap Loader Subroutines - Survey (cont’d)
Address Function
018A H
018F H
01B1 H
01BB H
01D6 H
Semiconductor Group
0168 H
CheckHeader
SendCheckErr
Mode0
Mode1
Mode2
Mode3
Registers
In : R0 - start address of
Out : R1 - operating mode
In : None
Out : None
In : DPTR - start address
Out : DPTR - actual
In : DPTR - address to
Out : None
In : DPTR - start address
Out : None
In : DPTR - address to
Out : None
the temporary buffer
R2/R3, DPTR -
header data
startaddress
R4/R5 - header data
datalength
R7 - header data
blocklength
C - Carry flag
of XRAM to copy a
custom program
R7 - length of the data
blocks received via
serial interface 0
address in the XRAM
start a custom
program in the XRAM
of the area in the
FLASH memory
R4/R5 - length of the
FLASH memory area
start a custom
program in the
FLASH memory
10-31
Description
Analyze the received header and save
the header data into the corresponding
registers. If the checked block is not of
type HEADER, a block error code
(FF H ) is sent to the host and the carry
flag C is set.
Send a checksum error code to the
serial interface 0
Activate operating mode 0. The header
data must be received or the registers
DPTR and R7 must be set manually,
before this routine can work correctly.
Activate operating mode 1, that is to
start custom program in the XRAM at
address in DPTR. Attention: This
routine does not return, when finished.
Activate operating mode 2, that is to
calculate a special checksum of a
FLASH memory area given by the start
address in DPTR and the area length
in R4/R5.
Activate operating mode 3, that is to
start a custom program in the FLASH
memory at address in DPTR.
Attention: This routine does not return,
when finished.
Bootstrap Loader
1997-10-01
C509-L

Related parts for C509-L_97