Altera_Forum
Honored Contributor
21 years agohelp on custom board
Hello!
I'm having serious issues with a custom cyclone board. My board has a EP1CQ240C6, one flash AM29LV065, one SDRAM MT48LC4M32, one EPCS4 and a LAN91C111-NE. My system clock is 50 MHz. I've tested the hardware using vhdl programs, I can download cyclone .sof files that makes some leds blinking. I've also tested the PLL, checking the locked output. I'm using quartus 4.2 and nios-II evaluation kit 1.1. I'm downloading the files with a byteblaster-II (with a 10 cm cable). First of all, I've tried to create a flash programmer. I've followed the instructions on ug_nios2_flash_programmer.pdf At this point I have two questions: - the name of my board is "cboard", but the quartus generated a cboard_time_limited.sof. Should I change the name of this file to cboard.sof ? (If I don't do that, the IDE flash programmer doesn't find the file) - What do I do with the flash programmer cpu reset-pin ? (I've connected to vcc). After creating the flash programmer, I've created a small project using only external flash and on-chip ram (4K). I would like to run a "hello world" in flash. The next phase was starting the IDE, start a "hello world" project, defining the program memory and read-only data memory on external flash and read/write memory on on-chip memory. I've also set max-file descriptors to 4, unchecked clean exit and checked small C libraries and reduced device drives. I was able to build this project. The problem started when I tried to start the flash programmer. When I've tried to program the "hello world" program on the external flash, it started and actually downloaded the .sof file (I've turned on some leds on the flash programmer), but after that the programmer got stuck and I have to cancel the flash programming (no error messages on console). I've also tried to program generic files on external flash and even on the EPCS and the symptom is the same: the flash programmer launches the hardware configuration, but get stuck. It looks to me that it is a kind of jtag communication problem. Could someone help me on this issue? Thanks in advance.