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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer
225 Views
Registered: ‎05-25-2016

Microblaze not starting at top of main() - help

Hello,

I'm having a hard time understanding why my application doesn't seem to start at the top of main().  When I launch the debugger I see the disassembly which I've attached shows the reset vector branches to address 80 which is 0x50 in hex that makes no sense to me since this seems to be another IMM instruction in the middle of a random function.  The current instruction pointer in the C window points to a static I2C_Wait function.  This also makes no sense.  Shouldn't the reset vector send the cpu to the top of main?

 

155.jpg
156.jpg
0 Kudos
1 Reply
Explorer
Explorer
218 Views
Registered: ‎05-25-2016

Re: Microblaze not starting at top of main() - help

Also, in the .map file - what does the .group and .debug_macro attribute mean?

0 Kudos