Altera_Forum
Honored Contributor
9 years agoHello world and simple led blink does not work
I created a Qsys system with NIOS, JTAG UART, On-chip memory(50 KB), PIO_OUT and assigned base addresses. Successfully programmed the sof file onto target board.
Now went on creating a simple hello world template and downloaded the application (.elf) via JTAG to FPGA. It does not show up, Hello world on NIOS console. Then I added a simple code to toggle a LED via PIO_OUT, even this did not work. Looks like processor is not entering the main function. I have set the reset vector to on-chip memory and the base address assigned is 0x48040000-0x4804CFFF. But processor is starting from address 0x0000019C. I am confused on this. Can anybody help me on this?