UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 36497

12.1 EDK - Bootloader Fails to Load User Application if it Contains an Interrupt Routine

Description

When my bootloader contains an interrupt routine, the execution halts in a MicroBlaze embedded processor design.

Solution

This occurs because the MicroBlaze embedded processor has a fixed interrupt vector address, so, when the user application is bootloaded from Flash to DRAM, it overwrites thebootloader's vector address with the user application interrupt vector, which then corrupts thebootloader.

The solutionis to modify the bootloader to copy the vectors at the end, or to convertELF into binary and move the vectors section to the end of the binary file.

Linked Answer Records

Associated Answer Records

Answer Number Answer Title Version Found Version Resolved
25252 14.2 EDK - An error message occurs when I attempt to convert an ".elf" file to binary file using mb-objcopy N/A N/A
AR# 36497
Date Created 11/16/2011
Last Updated 12/15/2012
Status Active
Type General Article
Tools
  • EDK - 12.1