Altera_Forum
Honored Contributor
16 years agoGarbage at reset
Guys, for long time I'm experiencing an interresting behavior of NIOS, but now I said enough is enough, I have to report, perhaps some of you has some solution and tell me what I'm doing wrong. The case is simple, here is a pseudo code like something:
void main() { printf("start\n"); subroutine calls, etc. printf("done'n"); while (1) () } When I hit run as NIOS HW in NOIS IDE or in ECLIPSE, first time runs fine, but if I hit couple of times the reset button, what is tied to NIOS RESETn pin, I get this output on the console: start done e start done ne start done one start done done start done Sometimes I get more garbage. Another problem is (what I suppose being tied to this one above) I realized that if I have bunch of IPs (eg. VIP stuffs) in my NIOS, the reset does not do full reset, or so. If there are many IPs the reset does not work. I have to hit again the "run as NIOS hw", then works. Does anyone of you have some useful hint to these problems?