高手帮忙解决以下:我的程序build能通过但是不能run
- UID
- 189500
- 性别
- 男
|
高手帮忙解决以下:我的程序build能通过但是不能run
在我自己的定制的系统当中我的程序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 我的硬件是好使用的 原先通过!!!! |
|
|
|
|
|
- UID
- 189500
- 性别
- 男
|
|
|
|
|
|
- UID
- 353574
- 性别
- 男
|
|
|
|
|
|
- UID
- 183896
- 性别
- 男
|
应该是硬件的问题吧 lz好好查查吧 时钟,管脚之类的 |
|
|
|
|
|
- UID
- 79720
- 性别
- 男
|
bulid和run没有任何关系,build仅只是在ide的环境下进行一个软件编译,不用和硬件建立任何联系的。但是run必须和硬件连接,肯定是你的硬件出了问题,出问题的地方可能有很多,包括设置和系统的构建等。建议先按照最简单的例子仿照一个后再做改动。 |
|
|
|
|
|
- UID
- 121854
- 性别
- 男
|
|
|
|
|
|
- UID
- 149512
- 性别
- 男
|
|
|
|
|
|
- UID
- 518777
- 性别
- 男
|
|
|
|
|
|
- UID
- 518777
- 性别
- 男
|
最近出现的问题: **** 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 |
|
|
|
|
|
- UID
- 79720
- 性别
- 男
|
这个问题是你的代码、数据空间设置有问题,你把它设置到了onchip,超出了空间。 |
|
|
|
|
|