Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- I would connect the debugger and step through the code to see where it dies. Perhaps there is some initialization phase that gets incorrectly skipped, eg., check the .bss area is cleared, etc. --- Quote End --- I think what's happening is that the boot loader from the EPCS block in Qsys doesn't know when to stop and keeps copying the contents of FLASH to RAM. It's all shared memory between my LCD displays and my NIOS code and eventually the boot loader starts copying FLASH contents into the block of memory used for the LCD frame buffer. So to me it looked like my program was doing something since the LCD displays were updating with garbage but it's actually just the boot loader going off the rails. Now to figure out why the boot loader gets the size wrong... Mark.