cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
virtextoo
Observer
Observer
4,357 Views
Registered: ‎06-08-2010

Reset Vector on the Microblaze

 

Upon reset Microblaze system jumps to either address 0x0 or address 0x10 upon interrupt.

 

How do you insert an instruction at address 0x0 so that when a reset is pressed you can send it to an address in RAM

where your handler is located? I read xapp482 and xapp642 and I still can't seem to see a simple example on how to do this kind of thing. Help..

 

 

Thanks.

0 Kudos
4 Replies
elzinga
Xilinx Employee
Xilinx Employee
4,329 Views
Registered: ‎08-08-2007

How is your system built so that upon a reset you want to jump to external memory?

0 Kudos
obruendl_psi
Adventurer
Adventurer
2,041 Views
Registered: ‎10-16-2017

Any update on this? I have a system where the microblaze is running from BRAM but for some application related reasons I cannot use the address range 0x00000000-0x10000000. So I would like to have my BRAM at addresses 0x10000000-0x... and I would have to set the reset vector accordingly.

0 Kudos
sadanan
Xilinx Employee
Xilinx Employee
2,040 Views
Registered: ‎10-21-2010

Hi,

You can configure the MicroBlaze IP parameter C_BASE_VECTORS to have a custom reset vector address. It's configurable in Vivado (thru 'customize IP wizard')

0 Kudos
obruendl_psi
Adventurer
Adventurer
1,980 Views
Registered: ‎10-16-2017

I could change the parameter successfully. An important detail is that the parameter is only accessible in "advanced" mode of the customization GUI. It can be selected at the very top of the GUI.

 

mb_config.png