User guide

9
SmartBook for Renesas R8C/Tiny Microcontrollers
www.MightyMicons.com
Following is the address scheme for the memory organization. As you can see,
the RAM area is made available at the lower end. Initial memory space, up to
02FFH is allotted for the Special Function Registers (SFR). SFR maintains all the
peripheral functions’ control registers and other registers meant for flash
programming and system management. Then the RAM area starts at 0400H and
expands upwards. The flash or program memory starts from 0FFFFH and grows
downwards. More than 64K byte is considered as expanded memory.
Now, we take up in system programming again for the discussion. The
microcontrollers come with the boot program to manage programming
operations. When this boot program is activated, the entire
flash area can be erased and then be reprogrammed using
a host computer. The boot program synchronizes the
microcontroller with the computer automatically
during data transfer operations. Apart form this
bulk erase and programming, the devices
support in system programming. You can
reprogram the contents of the flash memory
in two modes.
For this, the controller comes with built
in programming sequences. When the
D
a
t
a
4
D
e
s
i
g
n
When
the first mode
(E/W=0) is selected, the
built in programming kernel
is transferred to the RAM area
and then the program control is
shifted to this
kernel. Without
stopping the CPU,
any portion of the
flash memory can be
reprogrammed.