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.

RTOS/CC2640R2F: Create XBAL object failed: Target connect failed

Part Number: CC2640R2F
Other Parts Discussed in Thread: UNIFLASH

Tool/software: TI-RTOS

My custom board is based on CC2640R2F. I'm adding AUX_AS_RAM into my project, (adding project.obj into linker) but i don't know when flashing bin.file into my custom board

my custom board is hang then i delete this file.obj in linker (AUX). everything is ok but many times, i can't connect my custom board using smartRF Flash Programmer 2. result is image 1:

Could anyone help me? Thanks

Regards

  • A bit unclear from your post:
    - If you use an example from the SDK unmodified (except for required board file modifications), are you able to flash the device ?

    - If you use CCS, are you then able to flash our device?
    - If you use Uniflash, are you then able to flash our device?
  • when i flash the device. the error as above image
    - Create XBAL object failed: target connect failed
    - Failed to create device object

    using Uniflash, I met the same problem

    Please help me, Thanks
  • It's not clear from your response:
    - If you use an example from the SDK unmodified (except for required board file modifications), are you able to flash the device ?
    - If you use CCS, are you then able to flash our device?

    If it fails for both it indicates an a hardware connection error meaning that you have to look closer to your jtag connection.
  • Hi Guru,
    jtag work well because i try with other my custom board being ok, it can flash, erase by jtag but one board is fail after i modified file.obj into aux ram.
    Thanks
  • after it failed, i can't connect by Flash programmer 2 instead of Flash programmer 2 is still detect cc2640r2F chip
  • OK, so if I understand you correctly everything works out of the box but fails when you try to add a .obj file.

    Could you describe in more detail what the .obj file contain and why you include it with the linker?

    If the inclusion of the .obj file create the issue I would suspect that it tries to change/ use wrong address space or similar.
  • solved the problem. i think maybe jtag is lock or something like that. the issue come from missing reset (JTAG)
    could you explain for me why missing reset (JTAG), i can't connect to TI's chip instead of Flash programmer 2 is still detect Ti's chip. Many thank for your support
  • The detection of the chi in Flash Programmer 2 only read out one value from the chip. For programming a two way communication is required and as part of this reset is used at the end.