• 在下载SOPC代码的过程中遇到的一些错误


    (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  方法成功编译出来了-

  • 相关阅读:
    Game of War
    Unreal Engine 4 性能优化工具(Profiler Tool)
    触屏设备上的多点触碰检测C++代码实现
    独立游戏设计流程:从概念到写码的13个步骤
    ue4 多相机分屏与小地图效果实现教程
    Unreal Engine 4 笔记 2
    3dsMax模型转UE4
    以《西游记》为例 详解游戏设计归纳演绎法
    假期关于产品-设计-逻辑-市场-团队思考节选30篇
    Unreal Engine 4 笔记
  • 原文地址:https://www.cnblogs.com/571328401-/p/10657145.html
Copyright © 2020-2023  润新知