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.

CC2640R2F: Unable to download program to flash: Error connecting to the target: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect

Part Number: CC2640R2F
Other Parts Discussed in Thread: UNIFLASH

Dear community:

I'm using CC2640R2F for my design, recently, i move my project from CC2640R2F-RGZ (with SDK 2.2) to CC2640R2F-RSM (with SDK 2.2). After I made corresponding modification, the compiler reports error as:

IcePick_C: Error connecting to the target: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 8.0.903.2)

1. Modification: i modified the library file when using 2.2 SDK with CC2640R2F-RSM, reason: 

https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/p/715824/2645548?tisearch=e2e-sitesearch&keymatch=RFCC26XX_HWAttrs#2645548

I did as Christin Lee suggusted.

2.I modified the macro define of device and added corresponding file path to the project:

3.I also tried to complete the project on the latest SDK version AKA SDK 2.4, but it reported the same error.

  • Error -242 is usually caused by bad Jtag connection. I suggest you to check Jtag connection first.
  • Hi 

    I have checked my Jtag connection, it's ok. I also tried download hex with Uniflash and Flash Programmer2. It works well to download hex to CC2640R2F-RGZ and when it turns to CC2640R2F-RSM with the same XDS110, the problem happens, Could it be some problem with my project configuration?

  • Hello,
    Does the SDK on CCS work with the Launchpad (RGZ)?

    Have you read this thread, section "A router subpath cannot be accessed":
    software-dl.ti.com/.../ccsv7_debugging_jtag_connectivity_issues.html
  • Hi
    Thanks for your reply, the problem should be related to hardware, since i required help from another engineer remotely, he could download my hex file to the chip successfully, but with similar tools, i got failure.

    I have read the linkage u posted, i tried to use GEL script by ccs, but the menu is empty in ccs 8.3. I tried to erase flash with Flash programmer2, use "Forced mass erase" option, but it failed again... I'm pretty sure that my hardware connection is right, for it works well with RGZ, and i also check the Jtag mode, it's in concert with hardware connection.
    Would it be related to XDS firmware version? I'm using the latest firmware version of that.
    Looking forward to your reply.
  • How do you power the board?
    Do you have another board (RSM) to test on?
    Please show me the JTAG connections on your board (schematic or drawing).
  • Hi

    Sorry i missed the message yesterday.

    Eirik V said:
    How do you power the board?

    XDS110 debugger has a VCC pin, i use this pin (3.3V) to power the board.

    Eirik V said:
    Do you have another board (RSM) to test on?

    Yes, in fact, i'm using modules, so i lead out the module pin by jumper. 

    Eirik V said:
    Please show me the JTAG connections on your board (schematic or drawing).

    Sorry, i use a clamp to download program which is bought from others, so i dont have schematic.

    But i can provide you the picture of the clamp and the jumper one, as below:

  • You need to check the module schematic and verify if the external reset circuitry is in place.
  • I'm going to close this post for now then. If you have feedback within a few days you can follow up question to reopen this thread.
    If it takes longer than please post a new thread by pressing the orange button + Ask a related questions.