[quote user="Chester Gillon"]With the Spectrum Digital XDS100v2 I am still getting the same error when trying to run the EXPKITOMAPL138_ARM.gel script[/quote]In the "Connection Properties" of the Target Configuration, the "JTAG TCLK Frequency" for the XDS100v2 was left at "Fixed default 1.0MHz frequency" which is the default when the target configuration was created for the EXPKITOMAPL138 board type.
When the "JTAG TCLK Frequency" was changed to "Adaptive with user specified limit" and a limit of 1MHz, both CCS 5.5 and CCS 6 beta 3 were able to successfully run the EXPKITOMAPL138_ARM.gel and download a SYS/BIOS program in DDR memory.
The point which the EXPKITOMAPL138_ARM.gel failed when using a "Fixed default 1.0MHz frequency" was when the GEL script was configuring the PLL0 - and so guess the act of changing the internal PLL0 was triggering a JTAG failure due to not using adaptive clocking.
[quote user="Ki-Soo Lee"]Note that the XDS100v1 does not support ARM. People who have tried to use the onboard XDS100v1 with the ARM9 of the L138 have run into various known issues. We don't really have a good workaround for it other than recommending using an external emulator that supports ARM9 (like XDS100v2)[/quote]The XDS100v1 doesn't support adaptive clocking, whereas the XDS100v2 does support adaptive clocking. Guess that is why the XDS100v1 doesn't support ARM. Given that not selecting adaptive clocking can generate difficult to diagnose errors, when a new target configuration is created should the default be to select adaptive clocking when both:
a) The device has an ARM core which required adaptive clocking.
b) The selected emulator supports adaptive clocking