Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- I'd try building something where main() is just 'return 0;' - that is about as small as things can be! One problem is that you don't really know what the IDE (etc) is actually doing. My build system directly runs gcc and ld with a linker script that contains exactly what I want. It might be that the '.exceptions' section contains a the interrupt code - which should be at the address specified in the sopc builder (cpu property). However the linker could generate a jump instruction at that location - in which case the interrupt code could be anywhere in memory. --- Quote End --- i see this is what i get after trying to build this simple program: http://www.imageupload.org/thumb/thumb_51615.jpg (http://www.imageupload.org/?d=665a17cd1) http://www.imageupload.org/?d=665a17cd1 can i attach anything that would help you locate the cause of this problem?