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.
Hi,
When I build the MSP430 User Experience with CC1100 code I get error in the CCS V5.2 Error Log window. The message says "Error" and that is it.
When I double clock on Error I get this Exception Stack Trace:
java.nio.channels.ClosedByInterruptException
at java.nio.channels.spi.AbstractInterruptibleChannel.end(Unknown Source)
at sun.nio.ch.FileChannelImpl.size(Unknown Source)
at org.eclipse.cdt.internal.core.parser.scanner.FileCharArray.create(FileCharArray.java:44)
at org.eclipse.cdt.internal.core.parser.InternalParserUtil.createFileContent(InternalParserUtil.java:238)
at org.eclipse.cdt.internal.core.parser.InternalParserUtil.createExternalFileContent(InternalParserUtil.java:225)
at org.eclipse.cdt.core.parser.FileContent.createForExternalFileLocation(FileContent.java:95)
at org.eclipse.cdt.core.parser.FileContent.createForExternalFileLocation(FileContent.java:87)
at org.eclipse.cdt.internal.core.parser.SavedFilesProvider.getContentForInclusion(SavedFilesProvider.java:41)
at org.eclipse.cdt.internal.core.parser.scanner.CPreprocessor$1.checkFile(CPreprocessor.java:102)
at org.eclipse.cdt.internal.core.parser.scanner.CPreprocessor$1.checkFile(CPreprocessor.java:1)
at org.eclipse.cdt.internal.core.parser.scanner.CPreprocessor.findInclusion(CPreprocessor.java:969)
at org.eclipse.cdt.internal.core.parser.scanner.CPreprocessor.executeInclude(CPreprocessor.java:1254)
at org.eclipse.cdt.internal.core.parser.scanner.CPreprocessor.executeDirective(CPreprocessor.java:1070)
at org.eclipse.cdt.internal.core.parser.scanner.CPreprocessor.internalFetchToken(CPreprocessor.java:729)
at org.eclipse.cdt.internal.core.parser.scanner.CPreprocessor.fetchToken(CPreprocessor.java:471)
at org.eclipse.cdt.internal.core.parser.scanner.CPreprocessor.nextToken(CPreprocessor.java:565)
at org.eclipse.cdt.internal.core.dom.parser.AbstractGNUSourceCodeParser.fetchToken(AbstractGNUSourceCodeParser.java:266)
at org.eclipse.cdt.internal.core.dom.parser.AbstractGNUSourceCodeParser.nextToken(AbstractGNUSourceCodeParser.java:290)
at org.eclipse.cdt.internal.core.dom.parser.AbstractGNUSourceCodeParser.acceptInactiveCodeBoundary(AbstractGNUSourceCodeParser.java:351)
at org.eclipse.cdt.internal.core.dom.parser.AbstractGNUSourceCodeParser.declarationList(AbstractGNUSourceCodeParser.java:1314)
at org.eclipse.cdt.internal.core.dom.parser.AbstractGNUSourceCodeParser.parseTranslationUnit(AbstractGNUSourceCodeParser.java:1284)
at org.eclipse.cdt.internal.core.dom.parser.AbstractGNUSourceCodeParser.translationUnit(AbstractGNUSourceCodeParser.java:1279)
at org.eclipse.cdt.internal.core.dom.parser.AbstractGNUSourceCodeParser.parse(AbstractGNUSourceCodeParser.java:651)
at org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage.getASTTranslationUnit(AbstractCLikeLanguage.java:148)
at org.eclipse.cdt.internal.core.model.TranslationUnit.getAST(TranslationUnit.java:809)
at org.eclipse.cdt.internal.core.model.TranslationUnit.getAST(TranslationUnit.java:764)
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.rtsc.xdctools.ui.contentassist.RTSCHelpProvider.getFunctionSummaries(RTSCHelpProvider.java:71)
at org.eclipse.rtsc.xdctools.ui.contentassist.RTSCHelpProvider.getFunctionInfo(RTSCHelpProvider.java:153)
I need help on this one, I have no clue what this means. Please help:)
I am running the 90 day trial version of CCS V5.2.0
Regards,
Ed
Hi Ed,
I think we may need a bit further information to debug this one.
- do other msp examples build and work? Or do you see this with anything you try to build?
- do you only have MPS430 support installed? What OS do you use?
- what exactly do you see in the build console?
- which example are you trying? How did you import it?
Any further information and details would help us.
Best Regards,
Lisa
The original MSP-EXP430F5529 example code built and successfully downloaded to the target. I took the existing source code and integrated the CC1100 example code. I corrected all the integration incompatibilities for the most part.
I am running Vista Ultimate SP1.
I previously install IAR for another development board 6 months back, along with TI Packet Sniffer and Smart RF Studio.
No new software has been installed since CCS and MSP430 related downloads were installed.
The build console output for last view lines. There were no warnings or erros in the "Problems tab".
'Building file: C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CTS/structure.c'
'Invoking: MSP430 Compiler'
"C:/ti/ccsv5/tools/compiler/msp430_4.1.0/bin/cl430" -vmspx --abi=eabi -O2 --opt_for_speed=4 -g --include_path="C:/ti/ccsv5/ccs_base/msp430/include" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/RF_HAL" --include_path="C:/ti/ccsv5/tools/compiler/msp430_4.1.0/include" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/../F5xx_F6xx_Core_Lib" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/../FatFs" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/../MSP-EXP430F5529_HAL" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/../CTS" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/../USB" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/../USB/USB_API/USB_CDC_API" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/../USB/USB_API/" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/../USB/USB_config" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/../USB/USB_API/USB_Common" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/../USB/USB_API/USB_HID_API" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/../USB/USB_API/USB_MSC_API" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/../USB/USB_User" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/../UserExperienceDemo" --include_path="C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CCS/../UserExperienceDemo/Puzzle" --gcc --define=__MSP430F5529__ --diag_warning=225 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --large_memory_model --printf_support=minimal --preproc_with_compile --preproc_dependency="CTS/structure.pp" --obj_directory="CTS" "C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CTS/structure.c"
'Finished building: C:/ti/msp430/MSP-EXP430F5529_UE_1_30_00_00/src/CTS/structure.c'
' '
gmake: Target `all' not remade because of errors.
**** Build Finished ****
The example code is MSP-EXP430F5529_UE_1_30_00_00, which built successfully out of the box. I copied the CC1101 example code to this project.
Here is screen capture.
I corrected all the MSP430 CC1100 integration errors with exception of this __SFR_FARPTR in dma.c file. I #defined the all functions and code in dma.c file since none of the functions were called in the source code in this project.
I hope this help.
Ed,
Please ignore java errors that you see in Error Log view. They should not have any impact on your project. That gmake error usually means that one of the source files had an error and linking step was aborted. I would suggest cleaning and rebuilding your project and then look at console view (which should now contain all compiler invocations for every source file in your project) and see if you can spot an error there. It is possible that Problem View parser is missing something that console is printing. If you do find that this is the case, where there is an error in console but not in problems view, then please let us know the console output (specifically the error string) so that we may fix this.
Thanks,
martin