When using CCS 6.1.2.00014 under CentOS 6 64-bit to attempts to load a program to a CC3200 configured for SWD mode fail with the following errors:
Cortex_M4_0: GEL Output: Memory Map Initialization Complete Cortex_M4_0: GEL Output: Target Reset Cortex_M4_0: Trouble Writing Memory Block at 0x20004000 on Page 0 of Length 0x3888 Cortex_M4_0: File Loader: Verification failed: Target failed to write 0x20004000 Cortex_M4_0: GEL: File: /home/Mr_Halfword/workspace_v6_1/CC3200_hello/Debug/CC3200_hello.out: Load failed.
The target is an ArduCAM CC3200 UNO Board for Energia, which has been jumpered for SWD mode as per the Pin Out Diagram in the referenced link. While I haven't got the schematic for this board, from looking at the installed components believe the emulation circuit has been copied from the CC3200-LAUNCHXL.
The target configuration file has been set to a "Stellaris In-Circuit Debug Interface" connection and a "CC3200-SWD" Device.
The error has been seen on both a simple "hello world" example and TI-RTOS examples.
The error seems to be related to the combination of CCS 6.1.2.00014 under Linux with the CC3200 in SWD mode since:
a) With the CC3200 in SWD mode CCS 6.1.2.00014 under Windows can successfully download a program.
b) With the CC3200 in JTAG mode CCS 6.1.2.00014 under Linux can successfully download a program.
Other software components, with same versions on Windows and Linux, are:
- CC32xx Driver Support 1.0.7
- CC32xx Device Support 1.0.7
- Debug Server 6.1.0.1449
- TI Emulators 6.0.83.1
- Stellaris Emulators 2.0.3.12770
Are the errors with the combination of CCS under Linux with a CC3200 in SWD mode repeatable with a CC3200-LAUNCHXL?