Forum Discussion
Altera_Forum
Honored Contributor
21 years agoThanks for these suggestions, Jesse - I will double check timings but something bothers me in this "timing" hypothesis:
Notice - my code does not work not only when executed from SRAM but it also does not work directly from CFI flash. In the successful scenario, when I execute my code out of internal ram, where it was copied from CFI flash, the copier program has been added automaticaly in front of my code by the nios linker. In this case the code worked great so the copier was able to run directly from CFI Flash and copy succesfuly content of the memory into internal ram - why my code has problems with running from the same CFI flash? Also, I have actually slowed down the cpu clock already to check timing is not an issue here - forgot to mention this before - I added frequency divider in front of it, so instead of running full speed (18.88MHz) it run 2 times slower. It did not help with my 70ns SRAM chips, but right now I plan to play a little more with timing and maybe I will hit the sweet spot and start from there... I am affraid I could have several different issues with multiple symptoms in this design http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif How to sort things up - I am not sure...