GNU Development Chain for 68HC11/68HC12 - Support: sr #102782, HC12 Bank Switching & Paging
You are not allowed to post comments on this tracker with your current authentication level.
sr #102782: HC12 Bank Switching & Paging
Submitter: | John Pietrasik <jpietrasik> | ||
Submitted: | Fri 30 Jan 2004 05:49:42 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Severity: | 3 - Normal | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open | Operating System: | None |
Thu 05 Feb 2004 12:42:01 PM UTC, comment #1: |
John Pietrasik <jpietrasik> |
Fri 30 Jan 2004 05:49:42 PM UTC, original submission:
Is it possible to change the values of the constants "sym_bank_base", "page_bank_size", and "page_bank_base" in the linker script file (68HC12 Tool Chain)?
|
John Pietrasik <jpietrasik> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
This request can be cancelled. I found that the logical address and the physical address for banked code can be defined separately (yielding the desired results) as follows:
MEMORY
{
...
_PAGE_30 (RX) : ORIGIN = 0x0D0000, LENGTH = 0x4000;
...
}
SECTIONS
{
_page_30_physical_address = 0x308000;
...
.page_30 : AT (_page_30_physical_address)
{
* (.page_30)
} > _PAGE_30
...
}