helpGNU 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

Submitted by:  John Pietrasik <jpietrasik>
Submitted on:  Fri 30 Jan 2004 05:49:42 PM UTC  
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: None

Thu 05 Feb 2004 12:42:01 PM UTC, comment #1:

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:

_PAGE_30 (RX) : ORIGIN = 0x0D0000, LENGTH = 0x4000;

_page_30_physical_address = 0x308000;


.page_30 : AT (_page_30_physical_address)
* (.page_30)
} > _PAGE_30


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)?

The current page and address calculation is incompatible with my current Noral BDM hardware. Ideally, I would like define the following configuration:

sym_bank_base = 0
page_bank_size = 0x10000
page_bank_base = 0

This configuration would yield the following...

%page(sym_addr) = sym_addr >> 16;
%addr(sym_addr) = sym_addr & 0xFFFF;

John Pietrasik <jpietrasik>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



No Changes Have Been Made to This Item

Back to the top

Powered by Savane 3.1-cleanup1