Go Down

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

Jantje

There is a different variant file for micro and leonardo so I would not use leonardo to program a micro.
So try with arduino IDE 1.0.2 and enabled RXTX

Quote
When Disable RXTX is selected, does the plugin not try and reset the arduino?

Not at all. How do you go from "disabling RXTX" to "resetting"?
When you disable RXTX the plugin stops doing all com port actions. So no reset before upload (you have to press the reset button yourself) and no serial monitor. How can the plugin still upload? Because the plugin starts avrdude who does the com port actions.

Best regards
Jantje

PS If you fiddle around like you are; it is nice to warn the reader in advance.
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 -

yoda2nd

Sorry for taking so long to get back.

I tried upgrading to 1.0.2 and I am able to upload to the micro with RXTX enabled  However I still have to reset the micro before upload (press the reset button).


Jantje

Nice to hear you're got it working with the reset work around.
I have a micro now but I don't get it to work on my redhat :-(
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

For those owning a due and those wanting to use Arduino IDE 1.5.2 beta for other reasons:
I have released beta V2 that supports Arduino IDE 1.5.2. beta.
Read more at http://blog.baeyens.it/#post4

If you do not need Arduino IDE 1.5.2 beta and you already use the plugin I advice to stick to the plugin version as described at http://www.baeyens.it/eclipse untill Arduino IDE 1.5.X is no longer beta.

For people starting with the plugin V2 can be considered.

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 -

gen2thomas

Hello Jantje, thank you very much for your great plugin!

I have tested it successfully with gentoo linux now. My environment:

Portage 2.1.11.55 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo x86_64)
dev-util/eclipse-sdk-3.7.1-r11 (Indigo, seden overlay)
dev-embedded/arduino-1.0.3-r1
dev-java/icedtea-bin-7.2.3.6
sys-devel/crossdev-20120721 ('-r1' include my local patch for using multilib on AVR's)
-->cross-avr/avr-libc-1.8.0
-->cross-avr/gcc-4.6.3
-->cross-avr/binutils-2.20.1-r1
dev-embedded/avrdude-5.11.1 ('-r1' include my local patch for higher timout in case of manual reset)
!!But for my very first tests avrdude is used from Arduino-IDE!!
Arduino Eclipse Extension 1.2.4 installed via "http://www.baeyens.it/eclipse/update"

Arduino NG rev.c (tested with Blink.cpp und DoubleCounter.cpp)
Arduino Mega2560 rev. 1 (tested with Blink.cpp und DoubleCounter.cpp)
Arduino Pro Mini328 5V/16MHz (not tested yet)

For some further improvements for linux users here example entries for udev rules (will always get device "/dev/arduino"):
#Bus 005 Device 004: ID 2341:0010 Arduino SA Mega 2560 (CDC ACM)
#ATTRS{manufacturer}=="Arduino (www.arduino.cc)"
#ATTRS{product}=="Arduino Mega 2560"
SUBSYSTEMS=="usb", ATTRS{product}=="Arduino Mega 2560", ATTRS{manufacturer}=="Arduino (www.arduino.cc)", NAME="ttyACM%n", SYMLINK+="arduino"

#Bus 005 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
#ATTRS{manufacturer}=="FTDI"
#ATTRS{product}=="FT232R USB UART"
SUBSYSTEMS=="usb", ATTRS{product}=="FT232R USB UART", ATTRS{manufacturer}=="FTDI", NAME="ttyUSB%n", SYMLINK+="arduino"

Good Luck, Thomas

Go Up