Forum Discussion
Altera_Forum
Honored Contributor
14 years agohelp: niosII and pof/sof
Hello, Hopefully this has a simple solution. I have a board with an Arria GX which can be programmed with through an active serial EPCS64 using a pof file. I've created a very simple syst...
Altera_Forum
Honored Contributor
14 years agoThanks dsl
I tried your suggestion, but but was unsuccessful: Here's what I did - 1.) create basic nios2 system - OnChip ROM, 32K - initialized from onchip_rom.hex - OnChip RAM, 32k - initialized from onchip_ram.hex. - nios II/f, data cache disabled, no JTAG debug support. --- reset vector pointed to address 0x0 of ROM --- exception vector pointed to address 0x20 of ROM --- break vector pointed to address 0x20 of ROM - sysid block - system timer block - 1 PIO connected to a 10 pin debug header I have on board. 2.) Use Eclipse SBT to create a basic application which infinitely loops just incrementing an 8 bit count and does an AVALON_PIO_WR to the PIO block. (there's a usleep(10000)) at the bottom of the loop. 3.) compile Nios SBT 4.) make mem_init_generate to create onchip_ram.hex (all zeros) and onchip_rom.hex, from the elf and then add the mem_init.qip file to my QII project. 5.) build the system in QII 6.) download the .pof file to my device. 7.) attach a logic analyzer to my debug pins (PIO) and they're not toggling. -------------------------------- going to keep working on this. I really need to get NiosII working on this board.