Go Down

Topic: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches (Read 114 times) previous topic - next topic

standardUser

Jantje
You say :
"You must be active on other sites as this is your first post here."

For 1 month, I am just reading books to get a Arduino knowledge and trying to have an optimal IDE in order to begin the Arduino programming. But it is really my first post on Arduino forums.
I have also tested the Atmel Studio 6 (Mac - VMWare Fusion - Windows 7) - nice IDE, but Eclipse works on the Mac.
Have a nice day!

Jantje

@standardUser
It is a compliment.
The quality of your post indicates to me that you know how to ask a question.  So basically: "You only have 1 post but you are not a noob."
Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

sampi

Jantje,

I had earlier posted about not being able to upload from Eclipse using the Arduino plugin. Currently I can upload but I am not getting any output in the serial monitor.

I used a simple code like

#include "sketch1.h"


void setup()
{

   Serial.begin(115200);
   Serial.print("hello");
}

void loop()
{
}

Can you please help.

I am not getting any error message or warning.

Jantje

It is possible the monitor opens to late.
Try this code
Code: [Select]
#include "sketch1.h"


void setup()
{
  delay(1000);
   Serial.begin(115200);
   Serial.print("hello");
}

void loop()
{
  delay(1000);
  Serial.print("hello again");
}
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

sampi


sampi

I was earlier using plugin version v2. but currently I am using 1.2.4. When I am trying to compile a simple code like
#include "sam1.h"

//The setup function is called once at startup of the sketch
void setup()
{
   Serial.begin(115200);
   Serial.print("test");
// Add your initialization code here
}

// The loop function is called in an endless loop
void loop()
{
//Add your repeated code here
}


the code fails....

Method Serial could not be ressolved.
Symbol print could not be ressolved.

Please help. I am using Arduino Mega 2560 with arduino ide 1.0.5

sampi

I am having problem in uploading as well. It shows
AVRDude doesn't support the project target MCU(AtMega 2560)

This problem is happening in Linux(Ubuntu 12.04). But it works fine with Windows.

I have tried withboth versions of the plugin !.2.4 and 1.2.5

Jantje

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

sampi

Thanks a lot Jantje. Sorry I missed out the post in earlier page. :) :p

boubil

Hi

I'm having difficulties building my project (very basic - inspired from the Morse example).

OS : Windows 7
Eclipse C++ Version: Juno Service Release 2
Arduino IDE : 1.0.5
PlugIn : 1.2.4

My project includes 3 personal librairies (very basic)
There are no problems or warning by during the build process I get a message :
Code: [Select]
16:11:22 **** Incremental Build of configuration Release for project Alarme ****
make all
Building file: D:/Documents/Arduino/programmes/libraries/Sortie/Sortie.cpp
Invoking: AVR C++ Compiler
make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x4217b3)

16:11:22 Build Finished (took 644ms)


During the build I see the same message for the malloc file too but the message doesn't remain

Even the blink program does the same


What's going wrong ?

Thanks for your help

Nathalie





Jantje

Nathalie
This defeneatly not the way it should work.

Why are you not using the latest version?
Have you configured the plugin as described in http://eclipse.baeyens.it/Install.html?
Can you open the preferences as in step 4.2. close the preferences; reopen and tick and untick "use arduino ide tools in eclipse" and select ok. If that doesn't fix it please provide me with an image of 4.2 of the install instructions?
Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

boubil

Thanks for answering.

Quote
Why are you not using the latest version?


Latest version of what ?

Eclipse ? I tried to install kepler yesterday (3 times) but I couldn't get it work with arduino. I had problems with includes (#include "arduino.h" was not even understood !) so I got the juno as explained in the install instruction.

I followed the instructions.
The only difference is about the indexer, I don't have the input box "files to index up-front" (see attachment)

There aren't any error messages in the error panel.

boubil

I just tried to re-install kepler. Works better today.
I created a new project (empty) and tried to build it , I get exactly the same problem

Jantje


Thanks for answering.

Quote
Why are you not using the latest version?


Latest version of what ?

The plugin.

The settings look ok. Is it working in the Arduino IDE?
Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Jantje

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Go Up