Forum Discussion
7 Replies
- Altera_Forum
Honored Contributor
Well, you didn't specify some details about your fpga board. How do you download your program, bye JTAG connector or active serial ?
- Altera_Forum
Honored Contributor
I download my program with quartus programmer(jtag mode),and the message console displayed success,but the program didn't run at all.
- Altera_Forum
Honored Contributor
How do you know it isn't running?
Regards, Thiago - Altera_Forum
Honored Contributor
Is you software in on-chip memory? In that case did you use the correct HEX file during the Quartus compilation?
Is it in external RAM? In that case did you use the nios2-download software or the IDE to download it? What exception and reset vectors addresses did you set up? - Altera_Forum
Honored Contributor
I didn't use a cpu,I just use verilog code,as follows
module CommTest(clk,point,rst,sdram); input clk; input rst; output [3:0]point; output sdram; wire [3:0] point; SDRAM_PLL PLL0(.inclk0(clk),.c0(sdram)); assign point = 4'b1010; endmodule I use JTAG to download,it displayed successfully downloaded,but when I detect the signal of the corresponding pin,all four pins are high. - Altera_Forum
Honored Contributor
Did you check the CONFIG_DONE signal from the FPGA?
Is the "point" port assigned to the correct pins? Do you have any warning when you compile the design? - Altera_Forum
Honored Contributor
I'm not sure why you need the SDRAM_PLL part in there to debug. Get rid of it and just stick to your "point" wire. Make it as simple as possible. Check that you connected your signal names to pin names (in pin settings) otherwise Quartus will randomly place them wherever it pleases.