element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Imported Arduino Project Not Working
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 16 replies
  • Answers 8 answers
  • Subscribers 392 subscribers
  • Views 1396 views
  • Users 0 members are here
  • energia
  • tiva c
  • grideye
  • msp430
  • arduino
Related

Imported Arduino Project Not Working

kas.lewis
kas.lewis over 8 years ago

Hello,

 

I am attempting to run an Arduino project on on of my TI boards. I have a Maxim 1-Wire demo board that uses an Arduino for as its platform, not having one I decided to try a TI board. I load the required Libraries but I get an interesting issue. Even though there are two OneWire and I point it to the one I want to use it only finds some header files and not others. I have tried pointing to teh needed files with exact paths with no luck. To be sure I tried complaining teh same project in the Arduino IDE and there are no issues at all, include the needed libraries and it compiles. If someone could help explain what I am missing and why it finds some library files and not others that would be great.

 

Thanks

Kas

 

I know this is a repost but as I was unsure where to post it I have reposted it, If you could clarify the correct place I would be more than happy to remove any duplicate posts.

 

C:\Users\Kas\Desktop\energia-1.6.10E18\arduino-builder -dump-prefs -logger=machine -hardware "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware" -hardware "C:\Users\Kas\AppData\Local\Energia15\packages" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\tools-builder" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430" -tools "C:\Users\Kas\AppData\Local\Energia15\packages" -built-in-libraries "C:\Users\Kas\Desktop\energia-1.6.10E18\libraries" -libraries "C:\Users\Kas\Documents\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430F5529LP -ide-version=10610 -build-path "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino"
C:\Users\Kas\Desktop\energia-1.6.10E18\arduino-builder -compile -logger=machine -hardware "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware" -hardware "C:\Users\Kas\AppData\Local\Energia15\packages" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\tools-builder" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430" -tools "C:\Users\Kas\AppData\Local\Energia15\packages" -built-in-libraries "C:\Users\Kas\Desktop\energia-1.6.10E18\libraries" -libraries "C:\Users\Kas\Documents\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430F5529LP -ide-version=10610 -build-path "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino"
Using board 'MSP-EXP430F5529LP' from platform in folder: C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430
Using core 'msp430' from platform in folder: C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430
Detecting libraries used...
"C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "nul"
"C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "nul"
Generating function prototypes...
"C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
In file included from C:\Users\Kas\Documents\Energia\libraries\OneWire-master\src\OneWire.h:37:0,

                 from C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino:40:

C:\Users\Kas\Documents\Energia\libraries\OneWire-master\src\/Masters/Masters.h:38:42: fatal error: Masters/DS248x/DS2484/DS2484.h: No such file or directory

compilation terminated.

exit status 1
Error compiling for board  MSP-EXP430F5529LPMSP-EXP430F5529LP

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 8 years ago +3 suggested
    Hi Kas, I reckon possibly what's going on is that the path should be DS248x/... in the #include if the #include is using double-quotes, otherwise it is expecting the folder path to have two 'Masters' folders…
  • balearicdynamics
    balearicdynamics over 8 years ago +1 suggested
    Hello Kas, I have used in past (and already I have it installed on my computer) both energia (developed by TI from the original Arduino IDE) and the original Arduino IDE. Please edit your post and set…
  • rsc
    rsc over 8 years ago +1 suggested
    There's a typo in this line "master\src\/Masters/Masters.h:38:42: fatal error:" look at "src\/" Scott
Parents
  • koudelad
    0 koudelad over 8 years ago

    Based on the error message provided:

     

    "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"

    In file included from C:\Users\Kas\Documents\Energia\libraries\OneWire-master\src\OneWire.h:37:0,

                     from C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino:40:

    C:\Users\Kas\Documents\Energia\libraries\OneWire-master\src\/Masters/Masters.h:38:42: fatal error: Masters/DS248x/DS2484/DS2484.h: No such file or directory

     

    It seems that MAXREFDES131_GUI_Firmware.ino includes OneWire.h and that header file includes DS2484.h, which is missing or not readable to the compiler.

    Try to locate all the files and make sure the include directive is used correctly and looks in the correct path (local vs. global includes folders).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • kas.lewis
    0 kas.lewis over 8 years ago in reply to koudelad

    Hello David,

     

    Thank for the suggestion, I have tried using the #include directive to point directly to all the needed files with no success. I have compiled the exact same code with the same libraries etc, in the Arduino IDE with no issues. I can see that there is a DS2484.h file and I have pointed to it and still it won't compile. If you have any further suggestions I would be happy to try them. I would really like to get this working on a TI platform if it is at all possible.

     

    Kas

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 8 years ago in reply to kas.lewis

    Kas this may depend on the libraries that are provided for Arduino and not another board; please is possible to ask you to post the source to see what librarie you are using? Maybe something wrong goes when you are using another board. What is the board you are using from TI instead of the expected Arduino ?

     

    I ask this because I suppose that the problem is not strictly related to the wrong include file; it seems not missing but the problem is some king of incompatibility. Maybe I am wrong but I refer to the following line in your compilation listing:

    1. In file included from C:\Users\Kas\Documents\Energia\libraries\OneWire-master\src\OneWire.h:37:0, 
    2.                  from C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino:40:

    It says that there is a problem in the include file, not a file missing (file OneWire.h line 37). I am curious to see what is in this file.

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • kas.lewis
    0 kas.lewis over 8 years ago in reply to balearicdynamics

    Hello balearicdynamics,

     

    Thank you for the pointers as to the libraries I'm looking to use I'm working with Maxim 1-Wire Arduino demo found here. The demo for the main board can also be found here. All this being said I have managed to borrow an Arduino Uno. I would still like to be able to use either a TI MSP430F5529, MSP430FR5969, MSP432P401R or a EK-LM4F120XL. There are two OneWire.h files and to combat this I have tried pointing directly to the header files needed, but this didn't seem to help or as you say there are other issues. I have also looked into trying to rename the libraries but was not sure nor was it clear how to go about doing so while still maintaining the integrity of the library and its dependant files.

     

    If you have any further pointers based on looking on the actual demo's provided I would be very interested in hearing them.

     

    Kas

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • balearicdynamics
    0 balearicdynamics over 8 years ago in reply to kas.lewis

    Hi Kas,

     

    thank you for the coordinates of your project. For a couple of days I am on fly and on travel so I can't check systematically this problems trying to replicate it or investigate on the problems but I will try next days. In the meantime I suggest to take a look to an article I published time ago related to the MSP432 (the same family); I have found issues in the Energia IDE from Teas and some libraries was wrong so I had to make corrections and some changes. The article is here: TI Educational Boosterpack MK II and Energia

     

    I hope that in the meantime this can be helpful to solve the problems. as I always save the IDE old versions I install (just because it is not always true that the ugprades makes things better in all the cases) I can try to search the IDE version I used mentioned in that article. I have no idea in this moment if the issues I found in the article have been corrected. I was not using specifically 1-wire protocol but maybe something similar or at least comparable is related to your case. Keep me updated so I can support you trying to solve this issue.

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • balearicdynamics
    0 balearicdynamics over 8 years ago in reply to kas.lewis

    Hi Kas,

     

    thank you for the coordinates of your project. For a couple of days I am on fly and on travel so I can't check systematically this problems trying to replicate it or investigate on the problems but I will try next days. In the meantime I suggest to take a look to an article I published time ago related to the MSP432 (the same family); I have found issues in the Energia IDE from Teas and some libraries was wrong so I had to make corrections and some changes. The article is here: TI Educational Boosterpack MK II and Energia

     

    I hope that in the meantime this can be helpful to solve the problems. as I always save the IDE old versions I install (just because it is not always true that the ugprades makes things better in all the cases) I can try to search the IDE version I used mentioned in that article. I have no idea in this moment if the issues I found in the article have been corrected. I was not using specifically 1-wire protocol but maybe something similar or at least comparable is related to your case. Keep me updated so I can support you trying to solve this issue.

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • kas.lewis
    0 kas.lewis over 8 years ago in reply to balearicdynamics

    Hello Enrico,

     

    I will give the blog post a read and I will keep you posted here. And if I figure it out that too will be posted to help others who may have a similar issue.

     

    Kas

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube