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.

C6678 EVM install problem



I got a C6678 EVM and installed all the software from the DVD provided in the package.  This gave me CCS 5.02 and MCSDK 2.00.00.04.

I found 5.02 doesn't support the C6678 very well and there was a patch on ti.com to provide GEL files and some other things, so I installed those.

Now I'm stuck that somehow I don't have the PDK for the C6678.  I am stuck trying to do this example: http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_User_Guide#Example_1_-_Building_and_running_a_simple_single_core_application because it can't find the include files it needs like "ti\platform\platform.h".

Is there a separate download I need to get the PDK, or should I just reinstall all the software I got from the DVD and get the latest from ti.com?  Is the PDK supposed to be in the MCSDK?  I don't have any ti\platform directory on my system and nothing named PDK on the DVD.  Thanks for any help that can save me a few more failed attempts.

  • The PDK is part of the MCSDK.  If you installed the MCSDK, the PDK should appear in C:\Program Files\Texas Instruments\pdk_c6678_1_0_0_##

    If you do not have the above directory then have not installed the latest MCDSK.  You can download the latest version from http://focus.ti.com/docs/toolsw/folders/print/bioslinuxmcsdk.html.  The getting started guide you are working from is the correct guide.

    The GEL and platform definitions are present in ccs 5.0.3 without requiring a patch.  Since you have installed the patch, then you probably don't need to reinstall CCS.  However, 5.0.3 is available from http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v5#Downloads if you choose to reinstall.

  • James,

    The first thing to do is upgrade to the production releases of BIOS-MCSDK and CCS; the versions on the DVD are early "Beta" versions.

    As John indicates above, CCS 5.0.3 (build 28) does not require any extra step to install the EVM GEL files. There is a link to the CCS version that was validated with the BIOS MCSDK release on the BIOS MCSDK release download page (also indicated above in John's reply).

    Raj

  • I attempted to uninstall 5.0.2 and install 5.0.3 but now I have a lot of Eclipse problems.

    In the error log I get messages like

    eclipse.buildId=M20100909-0800
    java.version=1.5.0_14
    java.vendor=Sun Microsystems Inc.4628.log.txt
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments:  -os win32 -ws win32 -arch x86


    Error
    Mon Aug 29 14:07:43 EDT 2011
    Plug-in com.ti.ccstudio.debug.ui was unable to load class com.ti.ccstudio.debug.internal.ui.breakpoint.togglers.ToggleBreakpointsTargetFactory.

    org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle com.ti.ccstudio.debug.ui (570).
        at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:121)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
        at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
        at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
        at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
        at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
        at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
        at org.eclipse.core.internal.expressions.PropertyTesterDescriptor.instantiate(PropertyTesterDescriptor.java:92)
        at org.eclipse.core.internal.expressions.TypeExtension.findTypeExtender(TypeExtension.java:91)
        at org.eclipse.core.internal.expressions.TypeExtension.findTypeExtender(TypeExtension.java:124)
        at org.eclipse.core.internal.expressions.TypeExtension.findTypeExtender(TypeExtension.java:124)
        at org.eclipse.core.internal.expressions.TypeExtension.findTypeExtender(TypeExtension.java:124)
        at org.eclipse.core.internal.expressions.TypeExtensionManager.getProperty(TypeExtensionManager.java:114)
        at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:96)
        at org.eclipse.ui.internal.services.EvaluationResultCache.evaluate(EvaluationResultCache.java:74)
        at org.eclipse.ui.internal.services.ExpressionAuthority.evaluate(ExpressionAuthority.java:165)
        at org.eclipse.ui.internal.services.EvaluationAuthority.addEvaluationListener(EvaluationAuthority.java:79)
        at org.eclipse.ui.internal.services.EvaluationService.addEvaluationListener(EvaluationService.java:47)
        at org.eclipse.ui.internal.handlers.HandlerProxy.registerEnablement(HandlerProxy.java:213)
        at org.eclipse.ui.internal.handlers.HandlerProxy.<init>(HandlerProxy.java:192)
        at org.eclipse.ui.internal.handlers.HandlerPersistence.readHandlersFromRegistry(HandlerPersistence.java:311)
        at org.eclipse.ui.internal.handlers.HandlerPersistence.reRead(HandlerPersistence.java:219)
        at org.eclipse.ui.internal.handlers.HandlerPersistence.read(HandlerPersistence.java:167)
        at org.eclipse.ui.internal.handlers.HandlerService.readRegistry(HandlerService.java:186)
        at org.eclipse.ui.internal.handlers.HandlerServiceFactory.create(HandlerServiceFactory.java:61)
        at org.eclipse.ui.internal.services.WorkbenchServiceRegistry.getService(WorkbenchServiceRegistry.java:103)
        at org.eclipse.ui.internal.services.ServiceLocator.getService(ServiceLocator.java:174)
        at org.eclipse.ui.internal.Workbench$46.runWithException(Workbench.java:1848)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
    Caused by: org.osgi.framework.BundleException: Exception in com.ti.ccstudio.debug.ui.CCSDebugUIPlugin.start() of bundle com.ti.ccstudio.debug.ui.
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
        at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
        at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
        at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
        ... 60 more
    Caused by: java.lang.NoClassDefFoundError: com/ti/ccstudio/core/PathManager
        at com.ti.ccstudio.debug.ui.CCSDebugUIPlugin.start(CCSDebugUIPlugin.java:103)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
        ... 66 more

    In the C file editor I get the error

    java.lang.NoClassDefFoundError: com/ti/ccstudio/managedbuild/core/util/ManagedBuildCoreUtils
        at com.ti.ccstudio.project.core.internal.CCSScannerInfoCollector$DiscoveredPathInfo.getIncludePaths(CCSScannerInfoCollector.java:71)
        at org.eclipse.cdt.build.internal.core.scannerconfig.CfgDiscoveredPathManager.resolveCacheBaseDiscoveredInfo(CfgDiscoveredPathManager.java:201)
        at org.eclipse.cdt.build.internal.core.scannerconfig.CfgDiscoveredPathManager.getDiscoveredInfo(CfgDiscoveredPathManager.java:176)
        at org.eclipse.cdt.managedbuilder.internal.dataprovider.ProfileInfoProvider.getEntryValues(ProfileInfoProvider.java:65)
        at org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildEntryStorage.getDiscoveredEntries(BuildEntryStorage.java:201)
        at org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildEntryStorage.putEntriesToLevel(BuildEntryStorage.java:189)
        at org.eclipse.cdt.core.settings.model.util.AbstractEntryStorage.initCache(AbstractEntryStorage.java:71)
        at org.eclipse.cdt.core.settings.model.util.AbstractEntryStorage.getEntries(AbstractEntryStorage.java:34)
        at org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildLanguageData.getEntries(BuildLanguageData.java:158)
        at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultLanguageData.getEntriesToCopy(CDefaultLanguageData.java:98)
        at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultLanguageData.createStore(CDefaultLanguageData.java:89)
        at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultLanguageData.copySettingsFrom(CDefaultLanguageData.java:82)
        at org.eclipse.cdt.internal.core.settings.model.CLanguageSettingCache.copySettingsFrom(CLanguageSettingCache.java:48)
        at org.eclipse.cdt.internal.core.settings.model.CLanguageSettingCache.<init>(CLanguageSettingCache.java:37)
        at org.eclipse.cdt.internal.core.settings.model.CFolderDescriptionCache.copyLanguageData(CFolderDescriptionCache.java:72)
        at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultFolderData.copyDataFrom(CDefaultFolderData.java:56)
        at org.eclipse.cdt.internal.core.settings.model.CFolderDescriptionCache.<init>(CFolderDescriptionCache.java:38)
        at org.eclipse.cdt.internal.core.settings.model.CConfigurationDescriptionCache.copyFolderData(CConfigurationDescriptionCache.java:193)
        at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultConfigurationData.copySettingsFrom(CDefaultConfigurationData.java:113)
        at org.eclipse.cdt.internal.core.settings.model.CConfigurationDescriptionCache.loadData(CConfigurationDescriptionCache.java:99)
        at org.eclipse.cdt.internal.core.settings.model.CProjectDescription.loadDatas(CProjectDescription.java:196)
        at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.loadProjectDescription(XmlProjectDescriptionStorage.java:486)
        at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.getProjectDescription(XmlProjectDescriptionStorage.java:231)
        at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescriptionInternal(CProjectDescriptionManager.java:416)
        at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:398)
        at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:393)
        at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:386)
        at org.eclipse.cdt.internal.core.model.CProject.computeSourceRoots(CProject.java:603)
        at org.eclipse.cdt.internal.core.model.CProject.computeChildren(CProject.java:624)
        at org.eclipse.cdt.internal.core.model.CProject.buildStructure(CProject.java:588)
        at org.eclipse.cdt.internal.core.model.Openable.generateInfos(Openable.java:265)
        at org.eclipse.cdt.internal.core.model.CElement.openWhenClosed(CElement.java:430)
        at org.eclipse.cdt.internal.core.model.CElement.getElementInfo(CElement.java:309)
        at org.eclipse.cdt.internal.core.model.CElement.getElementInfo(CElement.java:299)
        at org.eclipse.cdt.internal.core.model.Parent.getChildren(Parent.java:55)
        at org.eclipse.cdt.internal.core.model.CProject.getSourceRoots(CProject.java:480)
        at org.eclipse.cdt.internal.core.model.CModelManager.create(CModelManager.java:328)
        at org.eclipse.cdt.core.model.CoreModel.create(CoreModel.java:121)
        at org.eclipse.cdt.internal.ui.editor.CDocumentProvider.createTranslationUnit(CDocumentProvider.java:794)
        at org.eclipse.cdt.internal.ui.editor.CDocumentProvider.createFileInfo(CDocumentProvider.java:835)
        at org.eclipse.ui.editors.text.TextFileDocumentProvider.connect(TextFileDocumentProvider.java:478)
        at org.eclipse.cdt.internal.ui.editor.CDocumentProvider.connect(CDocumentProvider.java:778)
        at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4056)
        at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:217)
        at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1444)
        at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:169)
        at org.eclipse.cdt.internal.ui.editor.CEditor.internalDoSetInput(CEditor.java:1393)
        at org.eclipse.cdt.internal.ui.editor.CEditor.doSetInput(CEditor.java:1358)
        at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3043)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
        at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
        at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2600)
        at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3061)
        at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3088)
        at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
        at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:271)
        at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1429)
        at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:942)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
        at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

     

  • Well, uninstall, then delete Program Files/Texas Instruments, then reinstall might have worked better.

  • I finally am able to run the LED example from MCSDK.  However I don't get any output on the serial cable. 

  • James,

    Are you using the serial port through the USB?  Or through the cable to the 9-pin com port on your PC?  Which terminal program are you using?  What are the connection parameters (i.e. Baud Rate, Parity, Flow Control, etc).

    If you are using Hyperterm, you might want to try another free terminal emulator like teraterm.  Hyperterm doesn't seem to be as robust as many others.

    Regards,

    Dan

  • James,

    I forgot to add, if you are using the serial connector through the USB, you won't see any output from power up. Windows doesn't enumerate the USB port in time for the terminal emulator to get synched with the data coming from the target.  This will work if you use the reset button. 

    So, power the board on.  Let windows enumerate the USB and assign a com port.  Set you terminal program up to connect  to that port, and then press the cold reset button.  You should then see the terminal output.  If you are using a straight serial connection, you won't have this problem.


    Regards,

    Dan

     

  • I was getting no output through the normal serial cable route.  Now I see the USB getting enumerated by Windows and that catches the output better.

    Now trying to load my own Hello World program based on the LED example and getting:

    Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0x7ff0: The DTDMA memory request is not serviced by the HW memory system.  This could be caused by the memory address specified does not exist in the specified  memory/cache level.   (Error -1190) @ 32768 (0x8000)

  • I've seen some flakiness using the old type serial ports with windows.  I can get the output through the serial port on one PC in my office, but not my laptop.

    That's an odd message when you are loading your own program.  Address 0x8000 is in a reserved location in the memory map.  Can you attach the .map file that was generated?

     

    Regards,

    Dan

     

     

     

  • I am not getting a map file even though I put -m"name.map", however I think I figured out what happened.  Another install issue related to trying to uninstall 5.0.2, but much less likely to happen to anyone else.  I made my own Makefile and used a path with the 8.3 Windows filetype like c:\Progra~1\TexasI~1 to refer to the TI tools folder.  When uninstalling 5.0.2 and moving the "Texas Instruments" folder to a new location, it retained the TexasI~1 abbreviation and the 5.0.3 install went into TexasI~2.  After fixing my Makefile to use TexasI~2, I don't get that weird error anymore and it runs. 

    Thanks for the checks.

  • Hi James,

    where do you get the LED example? I cannot find one in my directory.

  • I didn't find (or look) for source files.  I just cut and paste code from the MCSDK Users manual into CCS.

    http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_User_Guide#Example_1_-_Building_and_running_a_simple_single_core_application

     

    Edit: oops wrong link