Other Parts Discussed in Thread: CC2651R3SIPA, CC2651R3
Hello,
I am working with a CC2651R3SIPA and getting a "Load Failed" error when trying to flash the device with a combined .hex file.
The .hex file is a bootloader .hex concatenated with an application .hex (bootloader followed by application).
Here is the verbose from the error attempt:
[1/11/2023, 3:42:13 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete. [1/11/2023, 3:42:17 PM] [INFO] Cortex_M4_0: GEL Output: Memory Map Initialization Complete. [1/11/2023, 3:42:17 PM] [INFO] Cortex_M4_0: Flashloader: Verbose output enabled. [1/11/2023, 3:42:18 PM] [INFO] Cortex_M4_0: GEL Output: Memory Map Initialization Complete. [1/11/2023, 3:42:18 PM] [INFO] Cortex_M4_0: GEL Output: Board Reset Complete. [1/11/2023, 3:42:19 PM] [INFO] Cortex_M4_0: Writing Flash @ Address 0x00000000 of Length 0x0000510c [1/11/2023, 3:42:19 PM] [INFO] Cortex_M4_0: Loading flashloader to target: FlashLoaderCC26x1.out [1/11/2023, 3:42:19 PM] [INFO] Cortex_M4_0: Chunk 1: addr=0x00000000, length=8192, crc=0xB00D3471 (using block 0) [1/11/2023, 3:42:20 PM] [INFO] Cortex_M4_0: Chunk 2: addr=0x00002000, length=8192, crc=0x86EC53C8 (using block 1) [1/11/2023, 3:42:20 PM] [INFO] Cortex_M4_0: Chunk 3: addr=0x00004000, length=4364, crc=0x52237530 (using block 0) [1/11/2023, 3:42:20 PM] [INFO] Cortex_M4_0: Writing Flash @ Address 0x00010000 of Length 0x00007ff0 [1/11/2023, 3:42:20 PM] [INFO] Cortex_M4_0: Chunk 1: addr=0x00010000, length=8192, crc=0x0CEAFEDD (using block 1) [1/11/2023, 3:42:20 PM] [INFO] Cortex_M4_0: Chunk 2: addr=0x00012000, length=8192, crc=0x8AE2227D (using block 0) [1/11/2023, 3:42:20 PM] [INFO] Cortex_M4_0: Chunk 3: addr=0x00014000, length=8192, crc=0xA310B6D6 (using block 1) [1/11/2023, 3:42:21 PM] [INFO] Cortex_M4_0: Chunk 4: addr=0x00016000, length=8176, crc=0x83BD660C (using block 0) [1/11/2023, 3:42:21 PM] [INFO] Cortex_M4_0: Writing Flash @ Address 0x00017ff0 of Length 0x00007ff0 [1/11/2023, 3:42:21 PM] [INFO] Cortex_M4_0: Chunk 1: addr=0x00017FF0, length=8192, crc=0x6923B1DD (using block 1) [1/11/2023, 3:42:21 PM] [INFO] Cortex_M4_0: Chunk 2: addr=0x00019FF0, length=8192, crc=0xBFFB3AC9 (using block 0) [1/11/2023, 3:42:21 PM] [INFO] Cortex_M4_0: Chunk 3: addr=0x0001BFF0, length=8192, crc=0xD2C82A94 (using block 1) [1/11/2023, 3:42:21 PM] [INFO] Cortex_M4_0: Chunk 4: addr=0x0001DFF0, length=8176, crc=0x456B0411 (using block 0) [1/11/2023, 3:42:21 PM] [INFO] Cortex_M4_0: Writing Flash @ Address 0x0001ffe0 of Length 0x00007ff0 [1/11/2023, 3:42:22 PM] [INFO] Cortex_M4_0: Chunk 1: addr=0x0001FFE0, length=8192, crc=0x117AA4A5 (using block 1) [1/11/2023, 3:42:22 PM] [INFO] Cortex_M4_0: Chunk 2: addr=0x00021FE0, length=8192, crc=0x224A9BF7 (using block 0) [1/11/2023, 3:42:22 PM] [INFO] Cortex_M4_0: Chunk 3: addr=0x00023FE0, length=8192, crc=0x791C27AE (using block 1) [1/11/2023, 3:42:22 PM] [INFO] Cortex_M4_0: Chunk 4: addr=0x00025FE0, length=8176, crc=0x0A5F807E (using block 0) [1/11/2023, 3:42:22 PM] [INFO] Cortex_M4_0: Writing Flash @ Address 0x00027fd0 of Length 0x00007ff0 [1/11/2023, 3:42:22 PM] [INFO] Cortex_M4_0: Chunk 1: addr=0x00027FD0, length=8192, crc=0xAC283907 (using block 1) [1/11/2023, 3:42:23 PM] [INFO] Cortex_M4_0: Chunk 2: addr=0x00029FD0, length=8192, crc=0xFE092581 (using block 0) [1/11/2023, 3:42:23 PM] [INFO] Cortex_M4_0: Chunk 3: addr=0x0002BFD0, length=8192, crc=0xAED27615 (using block 1) [1/11/2023, 3:42:23 PM] [INFO] Cortex_M4_0: Chunk 4: addr=0x0002DFD0, length=8176, crc=0xD690ABE0 (using block 0) [1/11/2023, 3:42:23 PM] [INFO] Cortex_M4_0: Writing Flash @ Address 0x0002ffc0 of Length 0x00004dac [1/11/2023, 3:42:23 PM] [INFO] Cortex_M4_0: Chunk 1: addr=0x0002FFC0, length=8192, crc=0x61346C65 (using block 1) [1/11/2023, 3:42:23 PM] [INFO] Cortex_M4_0: Chunk 2: addr=0x00031FC0, length=8192, crc=0xC64D6F0A (using block 0) [1/11/2023, 3:42:23 PM] [INFO] Cortex_M4_0: Chunk 3: addr=0x00033FC0, length=3500, crc=0x48A297CB (using block 1) [1/11/2023, 3:42:24 PM] [INFO] Cortex_M4_0: Writing Flash @ Address 0x00034d70 of Length 0x00007ff0 [1/11/2023, 3:42:24 PM] [INFO] Cortex_M4_0: Chunk 1: addr=0x00034D70, length=8192, crc=0x1768F647 (using block 0) [1/11/2023, 3:42:24 PM] [INFO] Cortex_M4_0: Chunk 2: addr=0x00036D70, length=8192, crc=0x53BA6790 (using block 1) [1/11/2023, 3:42:24 PM] [INFO] Cortex_M4_0: Chunk 3: addr=0x00038D70, length=8192, crc=0xDC67495B (using block 0) [1/11/2023, 3:42:24 PM] [INFO] Cortex_M4_0: Chunk 4: addr=0x0003AD70, length=8176, crc=0x2B4E9DB9 (using block 1) [1/11/2023, 3:42:24 PM] [INFO] Cortex_M4_0: Writing Flash @ Address 0x0003cd60 of Length 0x00003440 [1/11/2023, 3:42:25 PM] [INFO] Cortex_M4_0: Chunk 1: addr=0x0003CD60, length=8192, crc=0xA094332D (using block 0) [1/11/2023, 3:42:25 PM] [INFO] Cortex_M4_0: Chunk 2: addr=0x0003ED60, length=5184, crc=0x624ACDCD (using block 1) [1/11/2023, 3:42:25 PM] [INFO] Cortex_M4_0: Writing Flash @ Address 0x00057fa8 of Length 0x00000094 [1/11/2023, 3:42:25 PM] [INFO] Cortex_M4_0: Chunk 1: addr=0x00057FA8, length=148, crc=0x6D673AD3 (using block 0) [1/11/2023, 3:42:25 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:25 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:25 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:25 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:25 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:25 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:26 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:26 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:26 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:26 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:26 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:26 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:26 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:26 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:26 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:26 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:26 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:26 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:26 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:26 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:27 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:27 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:27 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:27 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:27 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:27 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:27 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:27 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:27 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:27 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:27 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:27 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:28 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:28 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:28 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:28 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:28 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:28 PM] [ERROR] Cortex_M4_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.8.0.00235) [1/11/2023, 3:42:28 PM] [ERROR] Cortex_M4_0: Unable to determine target status after 20 attempts [1/11/2023, 3:42:28 PM] [ERROR] Cortex_M4_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 [1/11/2023, 3:42:28 PM] [ERROR] Cortex_M4_0: File Loader: Memory write failed: Could not read 0x20000B4C: target is not connected
I am selecting CC2651R3 as the device and XDS110 USB Debug Probe as the connection.
Could someone provide some assistance for how to flash this chip with a combined bootloader and application .hex file?
Thank you,
Nik