Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by david_cai@Sep 10 2006, 09:46 PM but it will be much more valuable if you figure out the root reason in detail
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18203)
--- quote end ---
--- Quote End --- Well, that's the real problem here, of course. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif And I have no clue about it, really. I am hoping someone reading this can tell me what to do. As far as I can tell, the problem exists in the file "generated.x", which appears to be made by "Altera Generated Makefile Builder". Unfortunately, this builder does not seem to be configurable at all. It only allows one unselectable project type of "Nios II Executable". Somewhere in the Project Properties, there needs to be a single checkbox that says, "Build for ROM image". Either that, or the debugger itself needs to deal with this "virtual address" that's in the ELF image and allow you to fake the situation of all RAM sections being loaded directly. Of course, if I built my own make files and linker files, it would be easy to avoid this problem. But I don't want to do this, as it defeats the entire point of tightly coupled development with SOPC builder.