SOFTUNE Workbench Getting Started
FR Family FR81S Series, Emulation System, Doc. No. 002-04887 Rev. *A
24
Figure 5-9. Fill Pattern Settings
After confirmation of new linker settings in
vectors.c
one more interrupt vector must be added for illegal
instruction interrupt (see below) and the corresponding interrupt handler must be defined.
After finishing these steps the .abs file will be filled with the pattern in unused ROM areas and the illegal
instruction handling can be checked even during debug session.
#pragma intvect
Vectors_Isr_Illegal_InstructionHandler 14
///<
Illegal Instruction
.
.
.
__interrupt
void
Vectors_Isr_Illegal_InstructionHandler
(
void
)
{
// disable interrupts
__DI
();
// halt system or wait for watchdog reset
while
(
1
)
{
__wait_nop
();
}
}