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.

CCS/CC2640R2F: CCS/CC2640R2F: Debug can't sucess !!!

Part Number: CC2640R2F
Other Parts Discussed in Thread: TIDC-SPPBLE-SW-RD

Tool/software: Code Composer Studio

Hi,

I'am trying to debug  the SPPBLE server Code to CC2640R2 LP board  but can't sucess !!! 

 

Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
Cortex_M3_0: Trouble Writing Memory Block at 0x40080c00 on Page 0 of Length 0x4: **Error**: Serial Communication failed at port: COM4, baud rate:115200! To use serial monitor, please ensure the following prerequisites are satisfied: 1. Make sure the cable is plugged into both the target and the host on the right COM port. 2. Make sure a compatible target side serial monitor is loaded and running on the target device.
Cortex_M3_0: GEL: Error while executing OnTargetConnect(): Target failed to write 0x40080C00
at *((int *) 0x40080C00)=0x1ACCE551 [cc26xx.gel:44]
at OnTargetConnect()
Cortex_M3_0: Error occurred during flash operation: Could not read unknown register: execution state prevented access
Cortex_M3_0: Trouble Reading Memory Block at 0x4003002c on Page 0 of Length 0x4: **Error**: Serial Communication failed at port: COM4, baud rate:115200! To use serial monitor, please ensure the following prerequisites are satisfied: 1. Make sure the cable is plugged into both the target and the host on the right COM port. 2. Make sure a compatible target side serial monitor is loaded and running on the target device.
Cortex_M3_0: Error occurred during flash operation: Target failed to read 0x4003002C
Cortex_M3_0: Trouble Reading Memory Block at 0x40082250 on Page 0 of Length 0x4: **Error**: Serial Communication failed at port: COM4, baud rate:115200! To use serial monitor, please ensure the following prerequisites are satisfied: 1. Make sure the cable is plugged into both the target and the host on the right COM port. 2. Make sure a compatible target side serial monitor is loaded and running on the target device.
Cortex_M3_0: Error occurred during flash operation: Target failed to read 0x40082250
Cortex_M3_0: Trouble Reading Memory Block at 0x10000054 on Page 0 of Length 0x4: **Error**: Serial Communication failed at port: COM4, baud rate:115200! To use serial monitor, please ensure the following prerequisites are satisfied: 1. Make sure the cable is plugged into both the target and the host on the right COM port. 2. Make sure a compatible target side serial monitor is loaded and running on the target device.
Cortex_M3_0: Error occurred during flash operation: Target failed to read 0x10000054
Cortex_M3_0: Trouble Reading Memory Block at 0x10000058 on Page 0 of Length 0x4: **Error**: Serial Communication failed at port: COM4, baud rate:115200! To use serial monitor, please ensure the following prerequisites are satisfied: 1. Make sure the cable is plugged into both the target and the host on the right COM port. 2. Make sure a compatible target side serial monitor is loaded and running on the target device.
Cortex_M3_0: Error occurred during flash operation: Target failed to read 0x10000058
Cortex_M3_0: Trouble Reading Memory Block at 0x1000005c on Page 0 of Length 0x4: **Error**: Serial Communication failed at port: COM4, baud rate:115200! To use serial monitor, please ensure the following prerequisites are satisfied: 1. Make sure the cable is plugged into both the target and the host on the right COM port. 2. Make sure a compatible target side serial monitor is loaded and running on the target device.
Cortex_M3_0: Error occurred during flash operation: Target failed to read 0x1000005C
Cortex_M3_0: GEL: Error calling OnPreFileLoaded(): The target is not capable of being disconnected
Cortex_M3_0: Trouble Reading Memory Block at 0x4003002c on Page 0 of Length 0x4: **Error**: Serial Communication failed at port: COM4, baud rate:115200! To use serial monitor, please ensure the following prerequisites are satisfied: 1. Make sure the cable is plugged into both the target and the host on the right COM port. 2. Make sure a compatible target side serial monitor is loaded and running on the target device.
Cortex_M3_0: Error occurred during flash operation: Target failed to read 0x4003002C
Cortex_M3_0: Trouble Reading Memory Block at 0x4003002c on Page 0 of Length 0x4: **Error**: Serial Communication failed at port: COM4, baud rate:115200! To use serial monitor, please ensure the following prerequisites are satisfied: 1. Make sure the cable is plugged into both the target and the host on the right COM port. 2. Make sure a compatible target side serial monitor is loaded and running on the target device.
Cortex_M3_0: Error occurred during flash operation: Target failed to read 0x4003002C

Cortex_M3_0: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
Cortex_M3_0: Trouble Reading Memory Block at 0x0 on Page 0 of Length 0x4: **Error**: Serial Communication failed at port: COM4, baud rate:115200! To use serial monitor, please ensure the following prerequisites are satisfied: 1. Make sure the cable is plugged into both the target and the host on the right COM port. 2. Make sure a compatible target side serial monitor is loaded and running on the target device.
Cortex_M3_0: File Loader: Verification failed: Target failed to read 0x00000000

Cortex_M3_0: GEL: File: C:\workspace\FlashROM\SPPBLEServer.out: Load failed.

Regards,

Bikash

  • Hello,

    bikash kumar said:
    Cortex_M3_0: Trouble Writing Memory Block at 0x40080c00 on Page 0 of Length 0x4: **Error**: Serial Communication failed at port: COM4, baud rate:115200! To use serial monitor, please ensure the following prerequisites are satisfied:

    It looks like you are using an alternate serial communication. Is that intentional? Assuming it is not, try changing your connection type to "Texas Instruments XDS110 USB".

    Thanks

    ki

  • Hello Ki,
    Thanks for your reply

    I am trying UART to BLE bridge; www.ti.com/.../TIDC-SPPBLE-SW-RD from here
    I want to send 20 byte data packet vice versa (Server to Client / Client to Server);

    Yes, when Propeties -->Connection changed "Texas Instruments XDS110 USB" its asking for firmware update and working ,but i'm trying UART to BLE bridge so that i have changed connection XDS110 USB to UART and changes also in CC2640F128.ccxml file.
    Please suggest the any required modification for uart case.


    Regards,
    Bikash
  • For CCS debug, you should be using a JTAG connection (XDS110). The "UARTConnection" is meant for something else:

    https://e2e.ti.com/support/tools/ccs/f/81/p/566884/2081777#2081777

    bikash kumar said:
    I am trying UART to BLE bridge; www.ti.com/.../TIDC-SPPBLE-SW-RD from here
    I want to send 20 byte data packet vice versa (Server to Client / Client to Server);

    I would suggest posting in the Bluetooth forum as the device experts can help you best:

    https://e2e.ti.com/support/wireless-connectivity/bluetooth/

    Thanks

    ki