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.

cannot debug the code to CC2640 5XD, help!

Other Parts Discussed in Thread: CC2640

Hi,

I am using sable-x module which has a cc2640 5xd, the build process succeed but the debug failed, the console information is listed as below

I checked that the .out file is there, then what could be the reason?

thanks!

Di

Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
Cortex_M3_0: GEL Output: Board Reset Complete.
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
Cortex_M3_0: Trouble Halting Target CPU: (Error -2062 @ 0x0) Unable to halt device. 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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
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 6.0.83.1)
Cortex_M3_0: Unable to determine target status after 20 attempts
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
Cortex_M3_0: Error occurred during flash operation: Could not read register R0: target is not connected
Cortex_M3_0: Flashloader unable to erase sector 0 (code 1507190168). Sector may be locked - try mass erase operation.
Cortex_M3_0: Error occurred during flash operation: Could not write register R5: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R6: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R0: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register PC: target is not connected
Cortex_M3_0: Error occurred during flash operation: Failed to run target
Cortex_M3_0: Error occurred during flash operation: Could not read register R0: target is not connected
Cortex_M3_0: Flashloader unable to erase sector 1 (code 1507190168). Sector may be locked - try mass erase operation.
Cortex_M3_0: Error occurred during flash operation: Could not write register R5: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R6: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R0: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register PC: target is not connected
Cortex_M3_0: Error occurred during flash operation: Failed to run target
Cortex_M3_0: Error occurred during flash operation: Could not read register R0: target is not connected
Cortex_M3_0: Flashloader unable to erase sector 2 (code 1507190168). Sector may be locked - try mass erase operation.
Cortex_M3_0: Error occurred during flash operation: Could not write register R5: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R6: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R0: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register PC: target is not connected
Cortex_M3_0: Error occurred during flash operation: Failed to run target
Cortex_M3_0: Error occurred during flash operation: Could not read register R0: target is not connected
Cortex_M3_0: Flashloader unable to erase sector 3 (code 1507190168). Sector may be locked - try mass erase operation.
Cortex_M3_0: Error occurred during flash operation: Could not write register R5: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R6: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R0: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register PC: target is not connected
Cortex_M3_0: Error occurred during flash operation: Failed to run target
Cortex_M3_0: Error occurred during flash operation: Could not read register R0: target is not connected
Cortex_M3_0: Flashloader unable to erase sector 4 (code 1507190168). Sector may be locked - try mass erase operation.
Cortex_M3_0: Error occurred during flash operation: Could not write register R5: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R6: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R0: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register PC: target is not connected
Cortex_M3_0: Error occurred during flash operation: Failed to run target
Cortex_M3_0: Error occurred during flash operation: Could not read register R0: target is not connected
Cortex_M3_0: Flashloader unable to erase sector 5 (code 1507190168). Sector may be locked - try mass erase operation.
Cortex_M3_0: Error occurred during flash operation: Could not write register R5: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R6: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R0: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register PC: target is not connected
Cortex_M3_0: Error occurred during flash operation: Failed to run target
Cortex_M3_0: Error occurred during flash operation: Could not read register R0: target is not connected
Cortex_M3_0: Flashloader unable to erase sector 6 (code 1507190168). Sector may be locked - try mass erase operation.
Cortex_M3_0: Error occurred during flash operation: Could not write 0x20000400: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R0: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R1: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R2: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R5: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R6: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register PC: target is not connected
Cortex_M3_0: Error occurred during flash operation: Failed to run target
Cortex_M3_0: Error occurred during flash operation: Could not write 0x20000400: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R0: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R1: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R2: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R5: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register R6: target is not connected
Cortex_M3_0: Error occurred during flash operation: Could not write register PC: target is not connected
Cortex_M3_0: Error occurred during flash operation: Failed to run target
Cortex_M3_0: File Loader: Verification failed: Could not read 0x00000000: target is not connected
Cortex_M3_0: GEL: File: E:\Users\Di\workspace_v6_1\SimpleBLEPeripheral\FlashROM\SimpleBLEPeripheral.out: Load failed.