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/LAUNCHXL-CC2640R2: 1) not able to establish serial connection with the launcher 2)how to connect a uart connection to XDS110 debug probe (to flash another CC2640)

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: CC2640,

Tool/software: Code Composer Studio

Hi,

1)     not able to establish serial connection ,here's the setting that i have used for the serial setup

  • Baud Rate : 115200
  • Data Bits : 8
  • Stop Bits : 1
  • Parity : None
  • Flow control : None

i am using LAUNCHXL-CC2640R2 

did try with Teraterm,puTTy,minicom,ccs(terminal)  as well everything is blank ,there were no other device attached to laptop when checking(in case i would have selected a wrong port)  ,did  try by keeping the ports open on the terminal and resetting the launcher but still nothing.

2)

    Here's the setup ,I have separate embedded Platform running linux as host on which the TI CC2640 is embedded and accessable through uart to the host. The host board has external uart pins exposed which i used for JTAG recovery. The problem occurred when i flashed the BLE on the embedded platform. after that the device was not detected i.e we could not see any /dev/ttyACM on the host,so bought LAUNCHXL-CC2640R2 thought of using Flash Programmer to flash using JTAG but that didnt work also tried with the mass erase ,can we recover the BLE if so please guide me ,i have attached of the setup and error from the flash programmer.IT would be great if you could lead  me to source where i can find the connection between a uart and a XDS110 debug port. I have'nt removed and jumpers

Thanks

Rahul

  • I see at least two issues with how you have connected the debugger yo your board:

    - If you want to use a Launchpad as debugger on a custom board you have to:

    - Connect the cable to the XDS110 out connector

    - Remove the jumpers. The only jumper you should keep is the one on he XDS power selector to the right on the board (antenna pointing towards you). If you keep the jumpers on as you have done the XDS will most likely communicate with the chip on the Launchpad.

    - If you want to communicate over UART with your custom board with the PC you can use the LP as a UART to USB brigde. But to get this to work you have to connect the RxD and TxD pins from your board to the pins on the LP. 

  • Hi ,

    I followed the steps by connecting the custom board to the launcher  XDS110 port ,and removed the jumpers but still the flash programmer is not able to detect the cc2640 on the custom board ,Here is a screenshot of the launcher and the custom board attached with the jumpers removed ,the error on the flash programmer is also attached. launcher is connected to laptop via USB and custom board via XDS110 of launchpad.

    Did try mass erase on the flash programmer, but failed with error: Create XBAL object failed:Target connect failed,Failed to Create device object.

    Thanks

    Rahul

  • Have you gone through the "Board Bring up" chapter in https://www.ti.com/lit/an/swra640e/swra640e.pdf?