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