Altera_Forum
Honored Contributor
13 years agoNios II seems stuck in reset mode, sysid and timestamp not found...
Hi,
I am trying to implement a Nios on my custom board. The nios is simple: - external clock 30MHz - external reset_n (alt_pll_locked signal) - nios II processor /s - onchip memory: 131072 bytes - sysid - jtag_uart - pio output 32bit initialize at 0x00000000 - custom driver (avalon mapped slave) I have checked on the board both clock and reset_n signals (they are use and work for other vhd modules). I written a simple program: alt_printf("hello") + IOWR(pio_base, 0, 0xFFFFFFFF) to test the nios but it doesn't work. The nios seems to be always in reset state: -> I can program the nios using "nios2-download -r file.elf" command -> I can open a jtag uart using nios2-terminal.exe But both printf() and PIO have no effect on fpga and jtag_uart. -> sysid and timestamp are "not found" so I can't go in debug mode. I have set BSP_editor settings (no small drivers, boot and run from onchip memory, enable sysid check, set sys_clk_timer, jtag_uart streams...) I never had this problem before but it is the first nios I build with Quartus 11.1 sp2. Maybe I forgot something simple but I have no clue :-/ Any idea ? Thanks for help :-) seb