Forum Discussion
Altera_Forum
Honored Contributor
21 years agoI guess what I really want to do at this point is debug on a system with no non-volatile memory. Is this even possible? I have made a Nios 2 design without the EPCS component so I can fit the debug module on it. This seems to almost work (see above posts).
I just ported another of my boards over to Nios 2. This board have enough memory for the EPCS and debug components. But it fails everytime I try to debug with the following message: <div class='quotetop'>QUOTE </div> --- Quote Start --- The execution of program is suspended because of error. Cannot access memory at address 0x0[/b] --- Quote End --- I thought that I read somewhere that the IDE wouldn't try to run the code in the EPCS. Am I totally off here? So, can someone tell me what settings I need to debug a Nios 2 with an EPCS device. I eventually want to load the EPCS with my code but for now I just want the IDE to download my code into RAM and run it from there. Again, let me know if I am totally off base with what I want. Oh, by the way, if I try to debug with the ISS with this second board I get the same message as before: <div class='quotetop'>QUOTE </div> --- Quote Start --- Error! : Unable to load memory block at address 0x80020 from ELF file Debug/left_edit.elf Fatal Error! : Memory map is not consistent with memory image file - check that file 'Debug/left_edit.elf' is compiled and linked for system 'D:\workspace\doleksy\MC\mc\FPGA\Edit_Control_Left_2\LOCAL_NIOS.ptf'[/b] --- Quote End --- Thanks again