Tool/software: Code Composer Studio
Hello folks,
I'm using:
- Olimex XDS100v3 emulator
- Code Composer Studio v5.5
- Windows 7 x64
- custom made TMS320F2808 board
I've purchased an Olimex XDS100v3 emulator since official XDS100v3 site specified it as a valid product. I've installed CCS v5.5 and got started with my development. I've set an Target Configuration according to the instuctions from Olimex.
"Test connection" went in order for all chosen frequencies, as well as 1149.1 and 1149.7 options. However, the flashing of the program did not work. The flash memory couldn't get erased nor loaded. I got an error saying: C28xx: Flash Programmer: Error encountered when writing to flash memory. I've found cca million of reasons on Internet for possible cause of this error, from depletion recovery algorithm timeout to CLM locking... Using my collagues XDS100v2 programmer this was nat an issue. Apparently, Olimex programmer doesn't work...
Anyways, I looked into the XML files and saw that CCS always invokes xds100v2 driver instead of v3. For instance, ccxml (target configuration) file specifies:
<instance XML_version="1.2" href="drivers/tixds100v2c28x.xml" id="drivers" xml="tixds100v2c28x.xml" xmlpath="drivers"/>
See? The driver specified is "tixds100v2c28x.xml". Also, this file specifies connection type ""TIXDS100v2". So, my question is, does CCS even know about XDS100v3?
However, I tried to directly link my emulator using serial number. So, in Target Configuration, Advanced tab, I've set "Emulator selection" to "Select by serial number". Using program ccsv5\ccs_base\common\uscif\xds100serial.exe I found out that serial no. is FT1DTCS7 and started debugging anew. It seems that it has helped. Erasing and flashing work normally, and I enter the debugging mode seemingly fine. Is it supposed to be done this way, or is it just a hack what I did?
Regards,