在我自己的定制的系统当中我的程序build能通过但是不能run
错误提示信息为:
Using cable "USB-Blaster [USB-0]", device 1, instance 0x00
Pausing target processor: not responding.
Resetting and trying again: FAILED
Leaving target processor paused
我的硬件是好使用的 原先通过!!!!
怎么就没有人帮我指点一下啊1!!
帮不了你!
bulid和run没有任何关系,build仅只是在ide的环境下进行一个软件编译,不用和硬件建立任何联系的。但是run必须和硬件连接,肯定是你的硬件出了问题,出问题的地方可能有很多,包括设置和系统的构建等。建议先按照最简单的例子仿照一个后再做改动。
你是不是没有装USB-Blaster的驱动啊?
最近出现的问题:
**** Build of configuration Debug for project hello_world_0 ****
make -s all includes
Compiling hello_world.c...
Linking hello_world_0.elf...
/cygdrive/e/altera/71/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: region onchip_mem is full (hello_world_0.elf section .text). Region needs to be 38132 bytes larger.
/cygdrive/e/altera/71/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: region onchip_mem is full (hello_world_0.elf section .bss). Region needs to be 320 bytes larger.
/cygdrive/e/altera/71/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: address 0x4140 of hello_world_0.elf section .onchip_mem is not within region onchip_mem
/cygdrive/e/altera/71/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rodata [00002020 -> 000024ff] overlaps section .exceptions [00002020 -> 000021c7]
/cygdrive/e/altera/71/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rwdata [00002500 -> 00003f2b] overlaps section .text [000021c8 -> 0000d4f3]
/cygdrive/e/altera/71/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .bss [00003f2c -> 0000413f] overlaps section .text [000021c8 -> 0000d4f3]
collect2: ld returned 1 exit status
make: *** [hello_world_0.elf] Error 1
Build completed in 16.984 seconds
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |