Fujitsu MB91460 SERIES Note d'application - Page 21

Parcourez en ligne ou téléchargez le pdf Note d'application pour {nom_de_la_catégorie} Fujitsu MB91460 SERIES. Fujitsu MB91460 SERIES 26 pages. 32-bit microcontroller
Également pour Fujitsu MB91460 SERIES : Manuel de l'utilisateur (45 pages), Pour commencer (41 pages), Note d'application (23 pages), Note d'application (29 pages), Note d'application (29 pages)

Fujitsu MB91460 SERIES Note d'application
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
*/
*/
*/
*/