ARM Technical Support Knowledge Articles

HOW TO LOCATE INTERRUPT SERVICE ROUTINES FOR STR71X

Applies to: ARM Development Tools

Answer


Information in this article applies to:


QUESTION

The Enhanced Interrupt Controller of STR71x devices requires all interrupt service routines (ISRs) to be located in one 64 Kbyte segment. How can I achieve this with uVision and the RealView compiler? Do I need to write a Scatter-File for this?

ANSWER

This can be done without a user defined Scatter-File. You just need to define one Read/Only Memory Area (e.g. IROM2) for your ISRs in the dialog Project — Options for Target — Target. This memory range must not cross a 64 Kbyte boundary and must be excluded from other memory areas defined in this dialog.

Then, assign the same memory area (e.g. IROM2) to all C-source files which contain ISRs. Therefore, select the file or group in the project workspace and open the dialog Project — Option for File/Group. The memory area can be selected under Memory Assignment — Code/Const.

MORE INFORMATION

SEE ALSO

Article last edited on: 2007-01-09 14:44:01

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential