AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Altera quartus ii 13.1 programmer3/20/2024 Than the FPGA and Nios Firmware will be loaded from EPCQ256 (Micron N25Q256A). I have included the hex-files for FPGA configuration and Nios firmware in the jic file generation. I think there is a possibility that the processor is never getting reset from SRAM after configuration. I used the NIOS flash loader from the NIOS command line to program the chip, in the order I gave in the original post. This indicates that NIOS is not executing code, but the FPGA has been properly configured. I wrote C code to blink another LED (LED3) in main()Īfter programming the EPCQ device, LED1 turns on and stays on, LED2 blinks and LED3 never turns on. I wrote HDL to blink an LED (LED2) after the FPGA configures After FPGA configuration, I output CONF_DONE to an LED (LED1) The processor will not begin executing code after configuration. The problem I am having is specifically related to NIOS. I simply convert the SOF output file to a JIC and program the EPCQ flash using JTAG. I can successfully configure the FPGA from the EPCQ device (no NIOS processor). Let me know and I will see if I can help. Is this custom hardware or a development kit? What method are you using to program the EPCQ device? So, I presume the only method you have of programming the FPGA is via JTAG. This implies the FPGA's isn't booting at all. Can it? Forget Nios, just a simple rtl only project that, for example, flashes an LED. You don't specifically say whether your hardware can successfully boot the FPGA from the EPCQ device. However, after a power cycle, all pins are in tri-state and neither the FPGA nor the Nios processor will configure. After running nios2-flash-programmer, the processor enters reset and the LEDs blink. I have another blinking LED running in main() in my Nios C code. nios2-flash-programmer -epcs -base=0x00 sw.flash flash file even if it had been programmed with quartus programmer earlier in. programmed the device using the Nios II flash programmer using nios2-flash-programmer -epcs -base=0x00 hw.flash (the epcq needs to be programmed with the. Used nios2-configure-sof (command line programmer) to configure FPGA with hw.sofġ4. Generated flash file for software with elf2flash -input=sw.elf -output=sw.flash -epcs -after=hw.flash -verbose (this is supposed to be "epcs" even though the chip is "epcq")ġ3. Generated flash files for hardware with sof2flash -input=hw.sof -output=hw.flash -epcq -verboseġ2. Power cycled - I have an LED turn on when the FPGA configures, and this LED turned onġ1. Successfully programmed and verified EPCQġ0. Converted programming file from sof to jic, specified active serial x4, added the correct p/n for the flash loader, and turned on compression (as requested by solution document)ĩ. Pointed the exception vector to on-chip-memoryħ. Pointed the reset vector of NIOS to an EPCS/EPCQ controller (connected in Qsys, with a locked base address of 0x00)Ĥ. Deleted db and incremental db in project directoryģ. Added lines STRATIXV_CONFIGURATION_SCHEME "ACTIVE SERIAL X1" and ENABLE_INIT_DONE_OUTPUT ON to project qsfĢ. when I do not want a JTAG cable connected to hardware). According to Altera, steps 6-15 would be required *each* time I make a change to either hardware OR software and I want to program to non-volatile memory (i.e. I have taken the following steps (in order). I've followed the following guideleins to boot from EPCQ or EPCS (from Altera rd11192013_118): I'm having trouble with NIOS II code executing from an EPCQ x4 flash chip (p/n Micron N25Q256A) after a power cycle.
0 Comments
Read More
Leave a Reply. |