Method and systems for advanced reprogrammable boot codes and in-application programming of embedded microprocessor systems
AssigneeAsix Electronics Corporation
InventorsHsun-Yao Jan, Ting-Han Su
Life of this patent
Estimating the term…
Abstract
This invention relates to an advanced system and method of reprogrammable boot codes and In Application Programming (IAP) of embedded systems by booting up with boot loader to shadow program codes on to an internal high speed SRAM and extending contiguously to external higher space memory for runtime applications, and supporting on-line IAP to update run-time firmware or boot loader driver through network communication by utilizing advanced address remapping scheme as well as supporting In System Programming (ISP) to program initial Flash memory via ISP adaptor.
Claims17
An embedded system with efficient reconfigurable boot loader, comprising:
- a processor;
- a first memory medium coupled to said processor;
- a second memory medium coupled to said processor;
- a boot loader coupled to said first memory medium, said second memory medium and said processor, wherein said boot loader is configured to copy an operation system codes from said first memory medium to said second memory medium during a second phase of a system reset cycle and said processor executes at least a portion of said operation system codes from said second memory medium after said second phase of said system reset cycle,
- wherein said system reset cycle starts a first phase of a system reset cycle after said embedded system receiving a system reset signal,
- wherein said boot loader generates a delayed reset signal to said processor during said second phase of a system reset cycle,
- wherein said first memory medium comprise non-volatile memory and said second memory medium comprises high speed internal Boot SRAM for Boot codes execution starting from lowest address of corresponding program memory space;
- said operation system codes is stored in a memory space starting from lowest address of said first memory medium;
- said copy an operation system codes further comprises copying to a corresponding program memory space starting from lowest address of said second memory medium during;
- said second phase of said system reset cycle and said processor to execute at least a portion of said operation system codes from said corresponding memory space starting from lowest address of said second memory medium after said second phase of said system reset cycle;
- and
- said at least a portion of said operation system codes executed from said second memory medium by said processor includes a minimum set of self-sustained predefined operational tasks comprising at least one of system initiation, memory read/write access, input/output handling, application codes upgrading and network interface protocols.
An embedded system with efficient reconfigurable in application programming comprising:
- a processor;
- a first memory medium coupled to said processor;
- a second memory medium coupled to said processor;
- and
- a boot loader coupled to said first memory medium, said second memory medium and said processor;
- said boot loader is configured to copy an operation system codes from said first memory medium to said second memory medium during a system reset cycle and said processor executes at least a portion of said operation system codes from said second memory medium after said system reset cycle,
- wherein said boot loader is configured to copy run-time application codes from a memory space starting from a higher address range of said first memory medium to a corresponding memory space starting from a higher address range of said second memory medium according to configuration within said at least a portion of said operation system codes, and said processor executes said run-time application codes from corresponding memory space starting from a higher address range of said second memory medium after completion of copying said run-time application codes from said higher address range of said first memory medium to said higher address range of said second memory medium;
- a multiplexing unit (MUX) coupled to said first memory medium, said processor and an in-system programming (ISP) controller, wherein said ISP controller is configured to reprogram said first memory medium through one or more dedicated ISP port or through a memory bus of said processor, wherein said MUX is configured to switch between the said ISP controller and said memory bus of said processor to select source to reprogram said first memory medium,
- wherein said first memory medium comprise non-volatile memory and said second memory medium comprises high speed internal Boot SRAM for Boot codes execution starting from lowest address of corresponding program memory space.
An embedded system for efficient reconfigurable boot loader, comprising:
- a processor;
- a first memory medium coupled to said processor;
- a second memory medium coupled to said processor;
- a boot loader configured to copy an operation system codes from said first memory medium to said second memory medium during a system reset cycle and said processor executes at least a portion of said operation system codes by said processor from said second memory medium after a system reset cycle;
- a memory address remapping controller configured to remap a disabled memory address range to address range of said first memory medium in order to rewrite a new operation system codes into said first memory medium while said processor is executing said at least a portion of said operation system codes from said second memory medium;
- said first memory medium comprise non-volatile memory and said second memory medium comprises high speed internal Boot SRAM for Boot codes execution starting from lowest address of corresponding program memory space;
- and
- said at least a portion of said operation system codes executed from said second memory medium by said processor includes a minimum set of self-sustained predefined operational tasks comprising at least one of system initiation, memory read/write access, input/output handling, application codes upgrading and network interface protocols.
The embedded system in accordance with 13, wherein said memory address remapping controller further operates within two distinct modes:
- a normal reconfiguration mode and an address-remapping reconfiguration mode.
Dependencies are inferred from the claim text.