Forum Discussion
Altera_Forum
Honored Contributor
17 years agoStrange effects of UART at reset
Hello, I use an UART peripheral to communicate with a computer. If I launch the program, it works correctly, but if I reset the Nios II processor I have some problems. Here I post an simpler ex...
Altera_Forum
Honored Contributor
16 years agoDo you still have the problem?
If so, could you please confirm that you get longer output string ( by 3 characters or so ) string _each_ time you reset the CPU? At first, I thought that maybe the reset circuit had glitches and was causing the issue, but I think that would cause more random lengths, not consistently longer outputs... Also, you could look at the assembler output, it should be quite short ( at least for the main loop ). Also, you could try to change the compiler optimizer to a less optimized level.