Part Number: CC2640
Other Parts Discussed in Thread: SYSBIOS
On a custom board populated with CC2642 I have to debug it through Launchpad emulator XDS110.
1st of all I imported "project_zero" app. There are two cases arising:
1) compiling original code, no errors arise but it is impossible to debug it because of a different target. This is the diagnostic:
Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
Cortex_M3_0: Device revision '0x4' unknown for selected target. Assuming latest known revision: Rev. 2.4.
Cortex_M3_0: GEL Output: Board Reset Complete.
Cortex_M3_0: Command=20 -- addr=0x00002000 -- length=0x00001000
Cortex_M3_0: File Loader: Memory write failed: Status 0x0102: Target flashloader failed to erase sector 1. Low level function returned status 3 (Incorrect parameter value).
Cortex_M3_0: GEL: File: H:\Move\Software\ble5_project_zero_cc2640r2lp_app\FlashROM_StackLibrary\ble5_project_zero_cc2640r2lp_app.out: Load failed.
Note no linker cmmand file is available in the same tab
2) if in the property CCS general tab I change the target processor to CC2642R1F, the compilation ends with the following diagnostic:
<Linking>
"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd", line 254: error #10263: FLASH memory range has already been specified
"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd", line 254: error #10264: FLASH memory range overlaps existing memory range FLASH
"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd", line 257: error #10264: FLASH_LAST_PAGE memory range overlaps existing memory range FLASH
"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd", line 260: error #10263: SRAM memory range has already been specified
"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd", line 260: error #10264: SRAM memory range overlaps existing memory range SRAM
"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd", line 206: warning #10190-D: absolute symbol "__STACK_TOP" being redefined
"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd", line 206: warning #10190-D: absolute symbol "__STACK_TOP" being redefined
"C:/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd", line 206: warning #10190-D: absolute symbol "__STACK_TOP" being redefined
error #10010: errors encountered during linking; "ble5_project_zero_cc2640r2lp_app.out" not built
>> Compilation failure
makefile:187: recipe for target 'ble5_project_zero_cc2640r2lp_app.out' failed
gmake[1]: *** [ble5_project_zero_cc2640r2lp_app.out] Error 1
makefile:180: recipe for target 'all' failed
gmake: *** [all] Error 2
* Build Finished *
So I cannot debug either. Note the linker file in this second case is changed to cc26x2r1f.cmd
Any idea? Thanks Luigi











