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.

UniFlash connection error but CCS succeeds

Other Parts Discussed in Thread: UNIFLASH, TMS320F28335

UniFlash fails any operation with the following message:
"FATAL >> C28xx: Error connecting to the target: (Error -1015 @ 0x0) Device is not responding to the request. Device may be locked, or the emulator connection may be unreliable. Unlock the device if possible, and power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.872.0)"

However, I can debug and reprogramm my device in CCS. Device is TMS320F28335

I use xds100v2 JTAG emulator

Clock configuration parameters the same in both softwares (oscclk=30MHz, clkindiv=2, pllcr=10)

SW versions are:
Uniflash v2.0.0.00013
CCS 5.2.1

CCS succeeds even when UniFlash runs.  UniFlash fails not matter is CCS runs or not. 

I have tried rebooting and avoided starting CCS before trying Uniflash. No difference.

Any hint on what happens?
Also, where can I change the JTAG settings as suggested in the error message? Is it related to clock config parameters?

  • Fred - I'm moving this to the code composer forum to see if the experts there have any debug suggestions.

  • Hi Fred,

    UniFlash v2.0.0.00013 and CCS 5.2.1 use different emulation packages and this looks like an emulation bug. I will try to obtain this device and verify for your. 

    Regarding running multiple instances of CCS/UniFlash, You cannot connect to the same device at the same time as they share the emulation drivers. So if you are connected to the device in CCS, trying to flash it through UniFlashwill fail, and vice versa. UniFlash only connects to the device for flash operations and will disconnect after the flash operations are done. 

    Regards,

    Victor

  • Hi Victor,

    I do not know about emulation packages.  Can you elaborate please?

    As for multiple software instances, I am well aware that they cannot to the same device at the same time.  To make sure that it was not happenning, I did not even run the software along side.  That is what I meant by "I have tried rebooting and avoided starting CCS before trying Uniflash."

    Thanks

  • Fred,

    Emulation package is the underlying binary drivers that provide us communication to the target. While I am trying to find a copy of your device, if you really need a working UniFlash for production environment, you can give it a try to the older UniFlash releases at here:http://processors.wiki.ti.com/index.php?title=Category:CCS_UniFlash_Release_Notes_Archive

    Regards,

    Victor

  • Fred,

    I have verified that the emulation package of the current version of UniFlash doesn't work with the setup you have described. I have also verified that the newest emulation package addresses this issue and the device should work fine. Please wait for the next release of UniFlash, it should be released next week.

    Regards,

    Victor