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.

CC2650STK: Flash verification failed

Part Number: CC2650STK
Other Parts Discussed in Thread: UNIFLASH, , CCSTUDIO

Part Number: CC2650 Senosrtag
pre-build image used: cc2650stk_sensortag_rel.hex
Tool/software we have used: Code Composer Studio , uniflash

Hi TI E2E Community,

I am using the cc2650 Sensortag with a default pre-build image

ccs v7 on a ubuntu 16.04 64bit pc.

In uniflash I can able to load the image successfully.But there is no expected behaviour like led blinking and advertising mode(not detected while doing lescan/Simplelink SensorTag Mobile Application). But it was working before this situation.

Issue:

So I verified the image by enabling "verify image" on uniflash and i got the following verification errors:

[ERROR] Cortex_M3_0: File Loader: Verification failed: Values at address 0x0001E000 do not match Please verify target memory and memory map.

Full log has been attached


How to resolve this ?

Best Regards,
Nachiappan Mariappan

Email: nachiappan.mariappan@cinnovator.com

12/10/2020, 12:56:45 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 12:56:46 PM] [INFO] Cortex_M3_0: MassErase(): Initializing.
[12/10/2020, 12:56:46 PM] [INFO] Cortex_M3_0: MassErase(): Issuing Board Reset.
[12/10/2020, 12:56:48 PM] [INFO] Cortex_M3_0: MassErase(): Mass erase complete.
[12/10/2020, 12:57:20 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 12:57:22 PM] [INFO] Cortex_M3_0: GEL Output: Board Reset Complete.
[12/10/2020, 12:57:31 PM] [SUCCESS] Program Load completed successfully.
[12/10/2020, 12:58:28 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 12:58:30 PM] [INFO] Cortex_M3_0: MassErase(): Initializing.
[12/10/2020, 12:58:30 PM] [INFO] Cortex_M3_0: MassErase(): Issuing Board Reset.
[12/10/2020, 12:58:32 PM] [INFO] Cortex_M3_0: MassErase(): Mass erase complete.
[12/10/2020, 12:58:37 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 12:58:40 PM] [INFO] Cortex_M3_0: GEL Output: Board Reset Complete.
[12/10/2020, 12:58:46 PM] [INFO] Cortex_M3_0: Target timed out! (Block 1)
[12/10/2020, 12:58:46 PM] [ERROR] Cortex_M3_0: Status 0xFFFFFFFF: Target flashloader has not returned any status. Unknown error!
[12/10/2020, 12:58:46 PM] [ERROR] Cortex_M3_0: File Loader: Memory write failed: Timed out waiting for target flashloader to execute command.
[12/10/2020, 12:59:05 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 12:59:07 PM] [INFO] Cortex_M3_0: MassErase(): Initializing.
[12/10/2020, 12:59:07 PM] [INFO] Cortex_M3_0: MassErase(): Issuing Board Reset.
[12/10/2020, 12:59:09 PM] [INFO] Cortex_M3_0: MassErase(): Mass erase complete.
[12/10/2020, 12:59:13 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 12:59:16 PM] [INFO] Cortex_M3_0: GEL Output: Board Reset Complete.
[12/10/2020, 12:59:22 PM] [INFO] Cortex_M3_0: Target timed out! (Block 1)
[12/10/2020, 12:59:22 PM] [ERROR] Cortex_M3_0: Status 0xFFFFFFFF: Target flashloader has not returned any status. Unknown error!
[12/10/2020, 12:59:22 PM] [ERROR] Cortex_M3_0: File Loader: Memory write failed: Timed out waiting for target flashloader to execute command.
[12/10/2020, 12:59:54 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 12:59:55 PM] [INFO] Cortex_M3_0: ReadPriBle: 24:71:89:E6:5D:81
[12/10/2020, 1:00:01 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:00:02 PM] [INFO] Cortex_M3_0: ReadSecBle: FF:FF:FF:FF:FF:FF
[12/10/2020, 1:00:08 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:00:09 PM] [INFO] Cortex_M3_0: ReadPriIeee: 00:12:4B:00:0C:65:0F:81
[12/10/2020, 1:00:22 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:00:51 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:01:17 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:01:20 PM] [INFO] Cortex_M3_0: GEL Output: Board Reset Complete.
[12/10/2020, 1:01:26 PM] [INFO] Cortex_M3_0: Target timed out! (Block 1)
[12/10/2020, 1:01:26 PM] [ERROR] Cortex_M3_0: Status 0xFFFFFFFF: Target flashloader has not returned any status. Unknown error!
[12/10/2020, 1:01:26 PM] [ERROR] Cortex_M3_0: File Loader: Memory write failed: Timed out waiting for target flashloader to execute command.
[12/10/2020, 1:01:58 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:02:00 PM] [INFO] Cortex_M3_0: GEL Output: Board Reset Complete.
[12/10/2020, 1:02:09 PM] [SUCCESS] Program Load completed successfully.
[12/10/2020, 1:02:19 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:02:24 PM] [ERROR] Cortex_M3_0: File Loader: Verification failed: Values at address 0x0001E000 do not match Please verify target memory and memory map.
[12/10/2020, 1:02:36 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:02:41 PM] [ERROR] Cortex_M3_0: File Loader: Verification failed: Values at address 0x0001E000 do not match Please verify target memory and memory map.
[12/10/2020, 1:03:03 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:04:09 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:04:11 PM] [INFO] Cortex_M3_0: MassErase(): Initializing.
[12/10/2020, 1:04:11 PM] [INFO] Cortex_M3_0: MassErase(): Issuing Board Reset.
[12/10/2020, 1:04:13 PM] [INFO] Cortex_M3_0: MassErase(): Mass erase complete.
[12/10/2020, 1:04:33 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:05:37 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:05:39 PM] [ERROR] Cortex_M3_0: File Loader: Verification failed: Values at address 0x00000000 do not match Please verify target memory and memory map.
[12/10/2020, 1:05:45 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:05:48 PM] [INFO] Cortex_M3_0: GEL Output: Board Reset Complete.
[12/10/2020, 1:05:54 PM] [INFO] Cortex_M3_0: Target timed out! (Block 1)
[12/10/2020, 1:05:54 PM] [ERROR] Cortex_M3_0: Status 0xFFFFFFFF: Target flashloader has not returned any status. Unknown error!
[12/10/2020, 1:05:54 PM] [ERROR] Cortex_M3_0: File Loader: Memory write failed: Timed out waiting for target flashloader to execute command.
[12/10/2020, 1:06:11 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:06:14 PM] [INFO] Cortex_M3_0: GEL Output: Board Reset Complete.
[12/10/2020, 1:06:23 PM] [SUCCESS] Program Load completed successfully.
[12/10/2020, 1:06:28 PM] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[12/10/2020, 1:06:33 PM] [ERROR] Cortex_M3_0: File Loader: Verification failed: Values at address 0x0001E000 do not match Please verify target memory and memory map.



  • Hi Nachiappan,

    Where do you get the cc2650stk_sensortag_rel.hex pre-build image, and what UNIFLASH CLI commands do you use in your Linux environment?  You may need CCSTUDIO v8 for full compatibility.  You are having difficulty verifying the last flash page which stores the CCFG and is typically contains configuration parameters for the ROM boot code, device hardware, and device firmware.  Please note the following resources:

    http://downloads.ti.com/ccs/esd/uniflash/docs/latest_qsguide.html#command-line-interface 
    https://software-dl.ti.com/ccs/esd/uniflash/docs/v6_1/release_notes_6.1.0.html 
    https://software-dl.ti.com/ccs/esd/documents/ccsv8_linux_host_support.html 

    Regards,
    Ryan

  • Hi Ryan
    
    I got the pre-built image from ble-sdk examples
    
    nachiappan_gopi@nachiappan:~$ ll /opt/ti/ti/simplelink/ble_sdk_2_02_01_18/examples/hex/
    total 3396
    drwxrwxr-x  2 nachiappan_gopi nachiappan_gopi   4096 Sep  8 17:44 ./
    drwxrwxr-x 10 nachiappan_gopi nachiappan_gopi   4096 Sep  8 17:43 ../
    -rw-rw-r--  1 nachiappan_gopi nachiappan_gopi 327093 Oct 27  2016 cc2650bp_simple_np_uart_pm_rel.hex
    -rw-rw-r--  1 nachiappan_gopi nachiappan_gopi 299018 Oct 27  2016 cc2650em_simple_central_rel.hex
    -rw-rw-r--  1 nachiappan_gopi nachiappan_gopi 327169 Oct 27  2016 cc2650em_simple_np_spi_pm_rel.hex
    -rw-rw-r--  1 nachiappan_gopi nachiappan_gopi 327247 Oct 27  2016 cc2650em_simple_np_uart_pm_sbl_rel.hex
    -rw-rw-r--  1 nachiappan_gopi nachiappan_gopi 279268 Oct 27  2016 cc2650em_simple_peripheral_rel.hex
    -rw-rw-r--  1 nachiappan_gopi nachiappan_gopi 324181 Oct 27  2016 cc2650lp_host_test_rel.hex
    -rw-rw-r--  1 nachiappan_gopi nachiappan_gopi 327058 Oct 27  2016 cc2650lp_simple_np_spi_pm_rel.hex
    -rw-rw-r--  1 nachiappan_gopi nachiappan_gopi 327065 Oct 27  2016 cc2650lp_simple_np_uart_pm_rel.hex
    -rw-rw-r--  1 nachiappan_gopi nachiappan_gopi 256662 Oct 27  2016 cc2650lp_simple_peripheral_rel.hex
    -rw-rw-r--  1 nachiappan_gopi nachiappan_gopi 308675 Oct 27  2016 cc2650rc_hid_adv_remote_rel.hex
    -rw-rw-r--  1 nachiappan_gopi nachiappan_gopi 345097 Oct 27  2016 cc2650stk_sensortag_rel.hex
    nachiappan_gopi@nachiappan:~$ ls /opt/ti/ti/simplelink/ble_sdk_2_02_01_18/examples/hex/cc2650stk_sensortag_rel.hex 
    /opt/ti/ti/simplelink/ble_sdk_2_02_01_18/examples/hex/cc2650stk_sensortag_rel.hex
    
    In uniflash 6.1.0 gui interface load the image successfully.But there is no expected behavior like led blinking and advertising mode(not detected while doing lescan/Simplelink SensorTag Mobile Application). 
    But it was working before this situation.

    Regards,
    Nachiappan Mariappan

    Email:nachiappan.mariappan@cinnovator.com



  • Can you read the device memory, and is it similar to your hex image contents?  Try using CCS  or a Windows PC to program the hex file and let us know if either of these options resolve the issue.

    Regards,
    Ryan