This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F 可以使用UNIFlash下载用户程序吗

Expert 2290 points
Other Parts Discussed in Thread: UNIFLASH, CC2640R2F

CC2640R2F可以通过XDS110和UNIFlash下载片上OAD的用户程序吗?

  • 可以使用SmartRF Studio 7来下载,在CC2640R2F蓝牙5.0中,BLE5-Stack仅支持片外OAD

  • 我使用的时BLE4.2的
  • 好的,BLE4.2支持片上OAD
  • SmartRF Studio 7怎么下载用户程序
  • SmartRF Studio使用说明:www.ti.com.cn/.../swru194b.pdf

    如果回答解决了您的疑问,请帮忙确认答案,谢谢

  • 我是希望将xxx_oad.bin文件下载到板子, 在文档中没有找到程序下载的说明
  • 刚理解错了,以为你要修改寄存器配置,下载bin格式文件可以使用Uniflsh,也可以直接使用CCS下载.out文件
  • UniFlash有使用说明吗? 我使用的时候出错, 下载不成功.
  • 使用UniFlash下载出现下面的错误:

     [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:43] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:44] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:44] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:44] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:44] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:44] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:44] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:44] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:44] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:44] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:44] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:44] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:45] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:45] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:45] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:45] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:45] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:45] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:45] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:45] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:46] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:46] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:46] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:46] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:46] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:46] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:46] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:46] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:46] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:46] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:47] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:47] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:47] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:47] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:47] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:47] [ERROR] Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:47] [ERROR] Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.1.1.00002)
    [2020/5/7 上午11:20:47] [ERROR] Cortex_M3_0: Unable to determine target status after 20 attempts
    [2020/5/7 上午11:20:47] [ERROR] Cortex_M3_0: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
    [2020/5/7 上午11:20:47] [ERROR] Cortex_M3_0: Failed to write configuration block to target. Block 0 (addr=0x20000A44) Error: Could not write 0x20000A44: target is not connected
    [2020/5/7 上午11:20:47] [ERROR] Cortex_M3_0: File Loader: Memory write failed: Failed to write configuration block to target.

  • 根据错误提示,应该是固件更新问题或USB连接问题或XDS的序列号问题;
    你有安装CCS吗,可以直接使用CCS下载
  • 我是使用IAR, 没有用CCS.

    我是用的的UniFlash中的xds110固件,  XDS的序列号应该正常吧.

  • 序列号正常,请问你使用的是TI官方的板子,还是自己制作的,我这边试了下,可以正常烧录

  • 不是官方的板子, 可能是使用触点下载的时候接触不好.
  • 其他程序是否可以正常下载,若不能,检查一下硬件电路问题
  • SmartRF Programmer2这个软件可以下载hex文件, 使用UniFlash下载不了bin文件,
    SmartRF Programmer2和UniFlash这两个软件使用XDS110的固件不一致.
  • 下载时需要更新固件,Uniflash可以下载bin,hex,out格式文件