Other Parts Discussed in Thread: AM1808, OMAPL138
I have the Zoom AM1808 EVM (TMDXEVM1808L-1) kit from Logic PD and cannot run either the examples or the UBL from the emulator. I am using the full licensed Version: 4.1.3.00038 of Code Composer Studio. I followed the directions that came with the kit and I get errors similar to this when I try to debug and hit the run button:
ARM9_0: Error: 0xA0002060/-242 @ marker 10825 Error during: Execution, Initialization, Control,
ARM9_0: 1 other operation(s) were automatically canceled as a result
Single stepping through I can see that the error occurs on the following line of device.c
/* Set PLLEN=0 to put in bypass mode*/
PLL0->PLLCTL &= ~(0x00000001);
at one point it would run until the PLL was re-enabled
/* Set the PLLRST bit in PLLCTL to 1 to bring the PLL out of reset */
PLL0->PLLCTL |= 0x8;
Also I noticed several days ago (that's how long I've been beating my head against this wall) that the M register of CPSR was 0x10. But now it is 0x13. I'm not sure how or why that changed other than I now have the AM1808 gel specified in the target configuration. Also I just noticed that when I run the frequency settings menu item in the gel I get no text output to the console so I'm not sure if that works.
I installed the Code Composer version 4.1.1.00014 that came with the kit on a different computer and can run the examples and UBL with no problems. I compared the target configurations from both set ups and aside from the path to the gel file everything is identical. I've included it below.
I've tried everything I could think of. If anyone has suggestions I'd be glad to try them. Otherwise I'll switch over to the eval version of code composer.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">
<configuration XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0">
<instance XML_version="1.2" desc="Texas Instruments XDS100v2 USB Emulator_0" href="connections\TIXDS100v2_Connection.xml" id="Texas Instruments XDS100v2 USB Emulator_0" xml="TIXDS100v2_Connection.xml" xmlpath="connections"/>
<connection XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0">
<instance XML_version="1.2" href="drivers\tixds100v2icepick_c.xml" id="drivers" xml="tixds100v2icepick_c.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers\tixds100v2arm9.xml" id="drivers" xml="tixds100v2arm9.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers\tixds100v2etb11.xml" id="drivers" xml="tixds100v2etb11.xml" xmlpath="drivers"/>
<platform XML_version="1.2" id="platform_0">
<instance XML_version="1.2" desc="AM1808_0" href="Devices\AM1808.xml" id="AM1808_0" xml="AM1808.xml" xmlpath="Devices"/>
<device HW_revision="1" XML_version="1.2" description="AM18x - ARM9 Embedded Processor" id="AM1808_0" partnum="AM1808">
<router HW_revision="" XML_version="1.2" description="" id="device_0" isa="ICEPICK_C">
<subpath id="device_3">
<cpu HW_revision="" XML_version="1.2" description="" id="device_4" isa="ARM9">
<property Type="filepathfield" Value="..\..\..\..\..\AM1808_BSL\src\bsl\AM1808.gel" id="GEL File"/>
</cpu>
</subpath>
</router>
</device>
</platform>
</connection>
</configuration>
</configurations>