Altera_Forum
Honored Contributor
16 years agoproblems with debug Nios
I have created the project in SOPC Nios + onchip_ram + jtag_uart + two pio_led + external IRQ + timer + pll + C code. This project with Nios works, all OK. Debug in the IDE works too. After that I in the top project with Nios have added the external module. External module consisting of several hdl files. The external module is not connected with Nios.
After that problems have appeared problems with Debug in the IDE. in console is message Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Pausing target processor: not responding. Resetting and trying again: OK Initializing CPU cache (if present) OK Downloading 00020000 ( 0%)assertion "m_state == STATE_DEBUG" failed: file "nios2 debug.cpp", line 1757 C:\altera\80\nios2eds\bin\nios2-download: line 594: 1220 Hangup nios2-gdb-server --cable 'USB-Blaster [USB-0]' --instance 0 --tcpport none --w rite-pid ./Debug/nios2-download.pid ./Debug/nios_test_led.elf.srec Sometimes in console is message Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Processor is already paused Initializing CPU cache (if present) OK Downloading 00020000 ( 0%) Downloaded 16KB in 0.8s (20.0KB/s) Verifying 00020000 ( 0%) Verify failed between address 0x20000 and 0x23CFF Leaving target processor paused Sometimes in console is message Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Pausing target processor: not responding. Resetting and trying again: FAILED Leaving target processor paused I use Q8.0 sp1. Where there can be a mistake? Thank