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.

SimpleBLEPeripheral on sensor tag



 I am working with SensorTag firmware but since it is too complex I would like to start my project using the SimpleBLEPeripheral, but I got some error during the compilation.

I changed the target and the debugger. I am using CCS 6 with RTOS 2.14.2.22 version.

Regards,

Fausto

  • Fausto,
    could you please clean and rebuild, and post the complete console output?
  • Hi Sasha,

    attached you can find all the messages of the Build console.

    The problem occurs at linking time:

    "../cc26x0f128.cmd", line 76: error #10263: FLASH memory range has already been specified

    "../cc26x0f128.cmd", line 76: error #10264: FLASH memory range overlaps existing memory range FLASH

    "../cc26x0f128.cmd", line 78: error #10263: SRAM memory range has already been specified

    "../cc26x0f128.cmd", line 78: error #10264: SRAM memory range overlaps existing memory range SRAM

    8865.error.txt

    "../cc26x0f128.cmd", line 76: error #10263: FLASH memory range has already been specified"../cc26x0f128.cmd", line 76: error #10264: FLASH memory range overlaps existing memory range FLASH"../cc26x0f128.cmd", line 78: error #10263: SRAM memory range has already been specified"../cc26x0f128.cmd", line 78: error #10264: SRAM memory range overlaps existing memory range SRAM

  • Hi Sasha,

    attached you can find the output of the console. 

    I think that the problem is at linking time:

    "../cc26x0f128.cmd", line 76: error #10263: FLASH memory range has already been specified

    "../cc26x0f128.cmd", line 76: error #10264: FLASH memory range overlaps existing memory range FLASH

    "../cc26x0f128.cmd", line 78: error #10263: SRAM memory range has already been specified

    "../cc26x0f128.cmd", line 78: error #10264: SRAM memory range overlaps existing memory range SRAM

    0081.error.txt

    "../cc26x0f128.cmd", line 76: error #10263: FLASH memory range has already been specified"../cc26x0f128.cmd", line 76: error #10264: FLASH memory range overlaps existing memory range FLASH"../cc26x0f128.cmd", line 78: error #10263: SRAM memory range has already been specified"../cc26x0f128.cmd", line 78: error #10264: SRAM memory range overlaps existing memory range SRAM

  • Fausto,
    I see references to CC26xxware that comes with TI-RTOS, but it doesn't seem you are building a TI-RTOS project. You should also consider posting to e2e.ti.com/.../538 .

    Anyway, the errors you are seeing are usually a result of multiple definitions of the memory map. It seems the memory map is defined in ../cc26x0f128.cmd, but also in another linker command file that you have on the command line. The candidates are C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SimpleBLEPeripheral/CC26xx/CCS/Config/ccsLinkerDefines.cmd and C:/ti/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/common/cc26xx/CCS/cc26xx_ble_stack.cmd. Someone on the forum I linked above could know if you need all three linker command files for your app.

  • FYI:
    As I mentioned in Fausto's E2E post on the Bluetooth LE forum, CCS will by default add a linker file (in this case cc26x0f128.cmd) when switching targets in the project settings. You need to set linker file to "None" after selecting the new target since the project already has an application specific linker file included by default.
  • It seems build all the project. I really appreciate you help. But it come up another problem. Right now I cannot validate the firmware because i cannot flash the sensor tag because i got this error:

    Error connecting to the target:
    (Error -260 @ 0x0)
    An attempt to connect to the XDS110 failed.
    The cause may be one or more of: invalid firmware update, invalid
    XDS110 serial number, or faulty USB connection. The firmware and
    serial number may be updated using the xdsdfu utility found in
    the .../ccs_base/common/uscif/xds110 directory of your
    installation. View the ReadMe.txt file there for instructions.
    (Emulation package 6.0.14.5)

    it seems that is a problem with the debugger.

    thank you
  • Fausto,

    If you are having problems with debuggers you need to post the question in the Tools forum:

    Regards,
    Svend