Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21327 Discussions

some NIOS2 IDE issues

Altera_Forum
Honored Contributor II
1,372 Views

for quite a time now i have been trying to get a simple hello world tutorial to work on the de2-115 board. the tutorial is very detailed and specific for the board (myfirst_niosii). it has UART, and uses it as stdout. 

 

since NIOSII cant find any "target connections", i upload using 

nios2-download -g elf-file && nios2-terminal. 

that downloads, verifies, starts the processor and connects to target. 

 

problem is i dont get the "hello world" output i should have. Anyone got an idea why not? 

 

some other things i am struggeling with: 

-the nios2-debug gives a perl-related error at start 

-linker dont find driver files that i include in application (e.g altera_avalon_pio_regs.h). i tried to add the right path to the includes, but it didnt help. 

 

could the include issue be because im not putting project folder in the right paths relative to eachother? i use same folder for nios and quartus project, and put bsp and workspace in separate folders beneath. 

 

i run NIOSII 10.1 on win7 64 bit. 

 

help is sorely needed
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
410 Views

nevermind, I was saved by the penguin overlord

0 Kudos
Altera_Forum
Honored Contributor II
410 Views

Try with Refreshing Connection, Turning on and off the Altera board and if possible change the OS and it may help, use Xp or Vista for better updates and support, All the very best :D

0 Kudos
Reply