(1)Error (209015): Can't configure device. Expected JTAG ID code 0x02D120DD for device 2, but found JTAG ID code 0x00000000.

今天下载代码到板子中遇到的一个比较迷的问题,一开始下载了三次都是这个问题,百度上有人说是Device选错了,我查了下我并没有选错,也有人说是电压不稳定的,这就很尴尬了。于是我将代码重新编译了一下,然后换了一根下载线来下载,发现竟然可以成功下载了,我又重新用会第一次下载的那个下载线来下载,竟然也成功了,迷之存在~

(2)

11:08:27 **** Incremental Build of configuration Nios II for project hello_led_0 ****
make all
Info: Building ../hello_led_0_bsp/
D:/software/Quartus_II_15.0/software/nios2eds/bin/gnu/H-x86_64-mingw32/bin/make --no-print-directory -C ../hello_led_0_bsp/
[BSP build complete]
Info: Linking hello_led_0.elf
nios2-elf-g++  -T'../hello_led_0_bsp//linker.x' -msys-crt0='../hello_led_0_bsp//obj/HAL/src/crt0.o' -msys-lib=hal_bsp -L../hello_led_0_bsp/   -Wl,-Map=hello_led_0.map   -O0 -g -Wall   -mno-hw-div -mhw-mul -mno-hw-mulx  -o hello_led_0.elf obj/default/hello_world.o -lm -msys-lib=m
d:/software/quartus_ii_15.0/software/nios2eds/bin/gnu/h-x86_64-mingw32/bin/../lib/gcc/nios2-elf/4.9.1/../../../../../H-x86_64-mingw32/nios2-elf/bin/ld.exe: address 0x3524 of hello_led_0.elf section `.bss' is not within region `onchip_RAM'
d:/software/quartus_ii_15.0/software/nios2eds/bin/gnu/h-x86_64-mingw32/bin/../lib/gcc/nios2-elf/4.9.1/../../../../../H-x86_64-mingw32/nios2-elf/bin/ld.exe: address 0x3524 of hello_led_0.elf section `.bss' is not within region `onchip_RAM'
d:/software/quartus_ii_15.0/software/nios2eds/bin/gnu/h-x86_64-mingw32/bin/../lib/gcc/nios2-elf/4.9.1/../../../../../H-x86_64-mingw32/nios2-elf/bin/ld.exe: section .entry loaded at [0000000000003000,000000000000301f] overlaps section .rwdata loaded at [0000000000002f28,0000000000003513]
collect2.exe: error: ld returned 1 exit status
make: *** [hello_led_0.elf] Error 1
11:08:28 Build Finished (took 1s.80ms)
   这个是今天遇到的错误提示,百思不得姐,于是一怒之下,按照百度上的一些先行者的建议,一个个的去试一下:

1、右击BSP工程--NiosII--Generate BSP

2、BSPEditor--enable_small_c_library和enable_reduced_device_drivers

我用  2  方法成功编译出来了-

最新文章

  1. ADO.NET编程之美----数据访问方式(面向连接与面向无连接)
  2. Angular 基础入门
  3. java生成带logo的二维码,自定义大小,logo路径取服务器端
  4. Scrum仪式之Sprint计划会议
  5. C# WinForm打开IE浏览器并访问网址
  6. UML_静态图
  7. 设计模式的征途—5.原型(Prototype)模式
  8. js添加多个样式属性cssText
  9. 八、VueJs 填坑日记之参数传递及内容页面的开发
  10. 阿里云 redis 通过rinetd 进行端口透传
  11. POJ 2079 Triangle [旋转卡壳]
  12. Apache Curator入门实战
  13. Oracle12c中性能优化&功能增强新特性之临时undo
  14. SQL 中 Arg的使用
  15. awk和sed (十二)
  16. 【转】每天一个linux命令(33):df 命令
  17. git的常见操作方法
  18. bean:write
  19. 批量改变图片的尺寸大小 python opencv
  20. hzwer分块九题(暂时持续更新)

热门文章

  1. 爬虫模块介绍--Beautifulsoup (解析库模块,正则)
  2. Python练习二
  3. Windows环境下C++中关于文件结束符的问题
  4. robotframework之滚动条
  5. PythonStudy——装饰器 Decorator
  6. 单机安装EFK(一)
  7. ORA-00257: archiver error. Connect internal only, until freed……
  8. 新建git仓库并与github同步
  9. js赋值后,不影响源变量的方法。
  10. Nodejs+MQTT