Forum Discussion
Altera_Forum
Honored Contributor
10 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 hell...
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- Did you use the 'Hello World Small' template? If you only have on-chip memory available you will have to use the small drivers that are used when using the 'small' software project template. If you haven't then during the building of your project the compiler should identify that there is insufficient memory in your system. Cheers, Alex --- Quote End --- Hi Alex, We have built with normal Hello World (not small). However if there was a memory issue, then we would have got the error while building the project itself. However, in our case, we could successfully download .sof file as well as .elf file via JTAG without any issues. Just to cross-check, we added a logic to blink a LED (connected via PIO) and routed to FPGA pin. Even this does not work. We suspect processor not entering main function at all.We have manually assigned the base address to on-chip memory. So, do we need to make any changes in linker script, if we have to assign the address manually? Help is appreciated!!