Altera_Forum
Honored Contributor
21 years agoSDRAM for program code
HI (again)
I’m bulding a multiprocessor system with 2 cpu’s, using 2x Jtag Uart, SDRAM for program memory and 2x onchip memory blocks for rwdata and a dualport memory for communication between the cpu’s. The system compiles but when trying to debug the system with the standard “Hello World” application, I run into problems. My setup is: (Using Nios dev. Kit 1S10, Quartus 4.2 we and NiosII 1.1 eval ) SDRAM: Base address: 0x0 End address: 0x00FFFFFF CPU 0: Reset address: 0x00B000000 Exception address: 0x00C000020 CPU 1: Reset address: 0x00D000000 Exception address: 0x00E000020 IDE: .text an .rodata are set to SDRAM .rwdata are set to onchip memory When running debug for a single CPU ( not multiprocessor collection) I get the following message when connecting to the debug module after the code is uploaded: warningcannot insert breakpoint 1
error accessing memory address 0xc00360 (undocumented errorno: -1) Have tried to debug several projects but get the same message, except pointing at different memory addresses. Any help? Going trough the summary from the “Fitter”(QuartusII) I found the following warnings: warning: can't pack node multicpu2:inst|sdram:the_sdram|za_data[24] to i/o pin
warning: can't pack register multicpu2:inst|sdram:the_sdram|za_data[24] -- no packable connection to input pin
warning: can't pack node multicpu2:inst|sdram:the_sdram|za_data[15] to i/o pin
warning: can't pack register multicpu2:inst|sdram:the_sdram|za_data[15] -- no packable connection to input pin
warning: can't pack node multicpu2:inst|sdram:the_sdram|za_data[23] to i/o pin
warning: can't pack register multicpu2:inst|sdram:the_sdram|za_data[23] -- no packable connection to input pin
warning: can't pack node multicpu2:inst|sdram:the_sdram|za_data[7] to i/o pin
and so on….. Thanks Stian