Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHello, Daixiwen!
Thank you for your patience and inspiriting advices. Of course, I will study the SignalTap chapter and try to do you advised. Now how my experiments are fulfilled. I use the Nios II Hardware Device Tutorial Design Example. At first I strictly followed the tutorial - developed the hardware project, the Qsys project and then the Nios II SBT for Eclipse project - count_binary. Then I used <project>(right click)->Run As->Nios II Hardware. As I can guess the compiled and linked application file (.elf) is loaded into the onchip memory and then leds begin to blink and the console window displays numbers from counter. I modified the projects - inserted the buttons and edge-sensitive interrupts and made a little C-code change - to provide the program exit after the button 2 was pressed. Everything works fine if "Run As" is used. My board is tied to my PC by the USB-blaster cable. Sometimes earlier I got messages about time-limited project used and then was to recompile the hardware project.. So I tried to create my own projects similar to the origin ones. The hardware and Qsys projects were created. But the software project is still not ready because I must learn how the HAL BSP can be created in order not to use the count_binary template. Everything last created works fine in the "Run As" mode. No messages concerning time limits are sent. Unfortunately any attempt to get the .hex and the new .sof files fails - the new .sof file downloads but all leds begin to shine permanently as if the old .sof was downloaded. Sorry for the not formatted tables in the last message. In the Quick Reply window the tables were displayed correctly but after posting their data blended. Regards, tduty