Fujitsu MB91460 SERIES Nota aplikacyjna - Strona 21
Przeglądaj online lub pobierz pdf Nota aplikacyjna dla Płyta główna Fujitsu MB91460 SERIES. Fujitsu MB91460 SERIES 26 stron. 32-bit microcontroller
Również dla Fujitsu MB91460 SERIES: Podręcznik użytkownika (45 strony), Pierwsze kroki (41 strony), Nota aplikacyjna (23 strony), Nota aplikacyjna (29 strony), Nota aplikacyjna (29 strony)
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
*/
*/
*/
*/