Back to results
US 10,372,616 B2Granted
Microcontroller performing address translations using address offsets in memory where selected absolute addressing based programs are stored
AssigneeRenesas Electronics America Inc.
InventorJon Matthew Brabender
Life of this patent
Estimating the term…
Abstract
A method and apparatus for microcontroller (MCU) memory relocation. The MCU includes a central processing unit (CPU) and memory, but lacks a memory management unit (MMU). In one embodiment of the method, a first program is selected for execution by the CPU. The first program is one of a plurality of programs stored in the memory of the MCU. Each of the programs includes position dependent instructions. The programs are compiled from source code written in position dependent code.
Claims3
An apparatus comprising:
- a microcontroller unit (MCU) wherein the MCU is an integrated circuit that comprises:
- a central processing unit (CPU);
- a memory storing a plurality of programs that are executable by the CPU;
- an address translation unit for selectively translating addresses generated by the CPU;
- wherein each of the programs comprises position dependent instructions, and
- wherein the MCU further comprises a reset program stored in the memory, and
- wherein the reset program is executable by the CPU in response to assertion of a reset signal, wherein the CPU selects a first of the programs for execution by the CPU in response to executing the reset program, and
- wherein the address translation unit comprises an adder and memory for storing an address offset, wherein the adder is configured to add the address offset to addresses generated by the CPU, and
- wherein the address translation unit comprises a comparator for comparing the X most significant bits of addresses generated by the CPU with X predetermined bits, wherein the adder is configured to generate a translated address by adding the address offset to an address generated by the CPU, wherein the address translation unit comprises a selector for selecting the address generated by the CPU or the translated address, wherein the selector selects the translated address when the X most significant bits of the address generated by the CPU compares equally with the X predetermined bits, and wherein the selector selects the address generated by the CPU when the X most significant bits of the address generated by the CPU does not compare equally with the X predetermined bits.
6 more elements
Dependencies are inferred from the claim text.