energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
794 stars 672 forks source link

DSLite Fails to Upload to Debug DevPack 1.3 #862

Closed rei-vilo closed 8 years ago

rei-vilo commented 8 years ago

After replacing the Debug DevPack 1.2 for 1.3, DSLite fails to upload to the SensorTag CC2650.

$ /Applications/IDE/Energia.app/Contents/Resources/Java/tools/common/DSLite/DebugServer/bin/DSLite load -c /Applications/IDE/Energia.app/Contents/Resources/Java/tools/common/DSLite/CC2650F128_TIXDS110_Connection.ccxml -f Builds/embeddedcomputing.elf Configuring Debugger (may take a few minutes on first launch)... Initializing Register Database... Initializing: IcePick_C Executing Startup Scripts: IcePick_C Initializing: CS_DAP_0 Executing Startup Scripts: CS_DAP_0 Initializing: Cortex_M3_0 Executing Startup Scripts: Cortex_M3_0 GEL: Cortex_M3_0: GEL Output: Memory Map Initialization Complete. Connecting... fatal: IcePick_C: Error connecting to the target: (Error -1265 @ 0x0) Device ID is not recognized or is not supported by driver. Confirm device and debug probe configuration is correct, or update device driver. (Emulation package 6.0.83.0) Failed: Operation was aborted

rei-vilo commented 8 years ago

Same happens on Energia Windows.

Connecting... error: IcePick_C: Error connecting to the target: (Error -1040 @ 0x0) A firmware update is required for the debug probe. Click the "Update" button to update the firmware and connect to the debug target. DO NOT UNPLUG THE DEBUG PROBE DURING THE UPDATE. (Emulation package 6.0.14.5) fatal: IcePick_C: Error: (Error -265 @ 0x0) The firmware updater encountered an error and could not finish. Unplug and re-plug the XDS110, and try again. If the problem remains, try updating the firmware using the xdsdfu utility found in the .../ccs_base/common/uscif/xds110 directory of the CCS installation. View the ReadMe.txt file there for instructions. (Emulation package 6.0.14.5) Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\AUX_AIODIO.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\AUX_ANAIF.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\DDI_0_OSC.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\AUX_EVCTL.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\AUX_SCE.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\AUX_SMPH.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\AUX_TDC.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\AUX_TIMER.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\AUX_WUC.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\CCFG.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\CPU_DWT.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\CPU_FPB.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\CPU_ITM.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\CPU_SCS.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\CPU_TIPROP.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\CPU_TPIU.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\CRYPTO.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\EVENT.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\FCFG1.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\FLASH.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\GPIO.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\GPT.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\I2C.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\I2S.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\IOC.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\PRCM.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\RFC_DBELL.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\RFC_PWR.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\RFC_RAT.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\SMPH.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\SSI.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\TRNG.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\UART.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\UDMA.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\VIMS.xml Parsing C:\Autres\energia-0101E0017\tools\common\DSLite\common\targetdb\Modules\CC26xx\CC2650\WDT.xml Initializing: IcePick_C Mapping registers: IcePick_C - Core Registers Mapping registers: IcePick_C - Hidden Building search data: IcePick_C Executing Startup Scripts: IcePick_C Initializing: CS_DAP_0 Mapping registers: CS_DAP_0 - Core Registers Mapping registers: CS_DAP_0 - Hidden

rei-vilo commented 8 years ago

Same happens on CCS Windows.

2016-03-11 17-49-53 capture

rei-vilo commented 8 years ago

I've reinstalled the SmartRF Flash Programmer 2 and the USB drivers on Windows.

C:\Autres\energia-0101E0017\tools\common\DSLite\DebugServer\bin\DSLite load -c C:\Autres\energia-0101E0017\tools\common\DSLite\CC2650F128_TIXDS110_Connection.ccxml -f C:\Users\ReiVilo\AppData\Local\Temp\build2251155909070400776.tmp\Blink.cpp.elf

  • No success with the SmartRF Flash Programmer 2 either.

2016-03-12 14-23-39 capture

rei-vilo commented 8 years ago

Back to Mac OS X, DSLite requires now -c and -f prepositions

Previous release accepted

DSLite load CC2650F128_TIXDS110_Connection.ccxml blink.cpp.elf

New release requires

DSLite load -c CC2650F128_TIXDS110_Connection.ccxml -f blink.cpp.elf

Actually, uploading .elf files fails: the executable doesn't run. Uploading .hex files succeeds and the executable runs fine.

DSLite load -c CC2650F128_TIXDS110_Connection.ccxml -f blink.cpp.hex

Please

Thank you!

rei-vilo commented 8 years ago

Last detail:

rei-vilo commented 8 years ago

Version number seem to be 6.2.0.1455.

$ strings DSLite | grep Version

$GNU: GCC Version 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54) $ $DSVersion: 6.2.0.1455 $

rei-vilo commented 8 years ago

Energia 1.6.10E18 no longer supports the CC2650 SensorTag.

CC2650 has been removed from Energia due to the lack of BLE support that could not be enabled because of licensing issues with the BLE stack.