--- Quote Start ---
originally posted by wbqyy@Apr 14 2006, 02:58 AM
the .exception code should be located in the ext_ram.
and i also met the same question about the print word in the console
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14354)
--- quote end ---
--- Quote End ---
Thank you for your replies. I have checked my objdump file and can see where the exceptions should reside. From what i can see this file looks ok and the exception address falls within valid address space.
I have re-run my program but removed the printf and replaced it with some code that increments a variable. When I run this program in debug mode I cannot get the code to break in main at all when my exception address is set to be located in ext_ram in SOPC Builder. Identical code will break if i set the exception address to be located in SDRAM. This is the only difference between the two builds.
This leads me to believe that it is not a printf problem and is completely down to the exception address being located away from SDRAM.
My code is downloaded through the JTAG port using the USB Blaster and i have put no code into flash. I run or debug the program as NIOS II HARDWARE
Any more tips and advice that you can give would be greatly appreciated. I dont think it should be this difficult!!!
Thanks again
Conners