Forum Discussion
Altera_Forum
Honored Contributor
21 years agoNIOSII Flash Programmer
Hi everyone, I'm trying to build a small demo application (like helo_world) that runs automatically after board reset. I'm using the Nios development Kit Cyclone Edition. I have already st...
Altera_Forum
Honored Contributor
21 years agoThe flash programmer uses its own SOF file when it's programming the flash. The base address specified on the command line here is the base address of your flash device in the flash programmer design.
See the flash programmer user guide documents/ug_nios2_flash_programmer.pdf for more details. If your design isn't working then you can step through the boot loader (which copies your code from flash to RAM) to see what's happening. In one Nios II shell you should enter:cd <where your elf file is>
nios2-download --reset-target --tcpport=2342 and in another window: cd <where your elf file is>
nios2-elf-insight <project.elf>
target remote :2342 This will all be easier in 5.0