Forum Discussion
Altera_Forum
Honored Contributor
21 years agoUPDATE:
I've rebuilt the Nios 2 without the EPCS controller and now I get the following message when trying to debug with the ISS: <div class='quotetop'>QUOTE </div> --- Quote Start --- Error! : Unable to load memory block at address 0x80000 from ELF file Debug/soft_keys.elf Fatal Error! : Memory map is not consistent with memory image file - check that file 'Debug/soft_keys.elf' is compiled and linked for system 'D:\workspace\doleksy\MC\mc\FPGA\Soft_Keys_2_Debug\LOCAL_NIOS.ptf'[/b] --- Quote End --- This is the same as with the EPCS except the address it is trying to load code at is 0x80000 instead of 0x80020. When I try to debug with the actual hardware, it downloads the code and then continually resets. The first two lines of my main are:printf("HELP ME!!!\n");
printf("========================================================================\n\n"); I have breakpoints on these two lines and on the next line. None of the breakpoints get triggered. I know that there are some issues with using printf in a multi-threaded application, but the OS (MicroC/OS-II) hasn't started yet. Any ideas? Thanks ahead of time.