Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHello wombat,
I give your more detailed information. When I use the Nios II/e Core, First, I download the .sof and 7-seg all lightened. Second, I creat hello_led project, build project and RUN debug as Nios II Hardware, the infomation given in console is -------------------------------------------------------------------- Console [<terminated> Nios II Download Output ......] -------------------------------------------------------------------- Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00 Pausing target processor: OK Reading System ID at address 0x021208B8: verified Downloading 00000000 ( 0%) Downloading 01000020 ( 4%) Downloaded 1KB in 0.0s Leaving target processor paused ------------------------------------------------- Console [nios2-gdb-server output ......] ------------------------------------------------- Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00 Processor is already paused Reading System ID at address 0x021208B8: verified Listening on port 4484 for connection from GDB: 59saccepted When I set breakpoint in the program and run the Resume Button, the program run and can stop at the breakpoint. Also, the program take effect on the board and the led changed lighting. When I change the Nios II/e Core to Nios II/s Core, I compile in Quartus and download .sof to board. The 7-seg are all lightened. I creat the Hello_led project, build and Run debug as Nios II Hardware. The infor in the console is -------------------------------------------------------------------- Console [<terminated> Nios II Download Output ......] -------------------------------------------------------------------- Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00 Processor is already paused Reading System ID at address 0x021208B8: verified Downloading 00000000 ( 0%) Downloading 01000020 ( 4%) Downloaded 1KB in 0.0s Leaving target processor paused ------------------------------------------------- Console [nios2-gdb-server output ......] ------------------------------------------------- Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00 Processor is already paused Reading System ID at address 0x021208B8: verified Listening on port 4877 for connection from GDB: 59saccepted I set the breakpoint and Run the Resume Button, but the program do not run to the breakpoint and stay alt_main() all the time. It means that the Nios II/s can not run. I do not know what is wrong, can you tell how to deal with? By the way, Can Nios II/e Core run uClinux? Thank you very much.