Fujitsu MB91460 SERIES Application Note - Page 21

Browse online or download pdf Application Note for Motherboard Fujitsu MB91460 SERIES. Fujitsu MB91460 SERIES 26 pages. 32-bit microcontroller
Also for Fujitsu MB91460 SERIES: User Manual (45 pages), Getting Started (41 pages), Application Note (23 pages), Application Note (29 pages), Application Note (29 pages)

Fujitsu MB91460 SERIES Application Note
The above dialog box can be reached as mentioned below...
Project -> Setup Project -> Linker -> Disposition Connection -> Set Section
b. In order to copy the section from Flash to RAM, I_RAM define in the
Start91460.asm should be set to ON.
/* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU */
/* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR */
/* ELIGIBILITY FOR ANY PURPOSES.
/*
/*---------------------------------------------------------------------------*/
;===============================================================================
; 4.4
Copy code from Flash to I-RAM
;===============================================================================
;
#set
I_RAM
;
c. In order to link the function EraseSector() to RAM, the #pragma section
directive needs to be used as follows:
/* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU */
/* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR */
/* ELIGIBILITY FOR ANY PURPOSES.
/*
/*---------------------------------------------------------------------------*/
#pragma
section CODE=IRAM
unsigned char
EraseSector
{
. . .
}
© Fujitsu Microelectronics Europe GmbH
INTERRUPTS
Chapter 3 Interrupt Recommendations and Examples
Figure 3-2: @IRAM Section Setting
(C) Fujitsu Microelectronics Europe GmbH
ON
; <<< select
should be copied
(C) Fujitsu Microelectronics Europe GmbH
(int
sec_num);
- 21 -
if
code
in
section IRAM
MCU-AN-300055-E-V10
*/
*/
*/
*/