Pages: 1 [2]   Go Down
Author Topic: Uploading to Yun (32U4) from eclipse - How?  (Read 1893 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you, I think the bridge serial function will work out for me!

Cheers

J
Logged

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1893
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you, I think the bridge serial function will work out for me!

Cheers

J
Now I think of it. You will have to use the Arduino IDE serial monitor as this is not (yet) supported in eclipse.
Logged

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 -

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What really worked out fpr me , is to use the ssh upload and the serial eclipse console
via , in my case , (mac) tty usbmodem.

Now upload via ssh + console via usbmodem  = Im happy smiley-wink

Cheers

J
Logged

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1893
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What really worked out fpr me , is to use the ssh upload and the serial eclipse console
via , in my case , (mac) tty usbmodem.

Now upload via ssh + console via usbmodem  = Im happy smiley-wink

Cheers

J
Cool
I had to google usb modem to understand what you are talking about.
Can you show a picture of how you connected the usbmodem to the yun?
Best regards
Jantje
Logged

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 -

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe I didnt explained it very well.
My Yun is connected via usb and recognized as /dev/tty.usbmodemXXXX.
This device can be addressed in the serial console in Eclipse.

Output via serial console  is possible but not the programming.

Cheers

J


Logged

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1893
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

now I get it :-)
Logged

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 -

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This noob, too, is having problems uploading to my Yun from eclipse. When I start a new sketch, I only get the sketch project and not the one for the Arduino library. What am I not doing? Running jantje's V2.2 with Arduino IDE 1.2.6-r2 on my Windows 7 PC.
Thanks -- & I'll need baby steps!
Logged

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1893
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

When I start a new sketch, I only get the sketch project and not the one for the Arduino library. What am I not doing? Running jantje's V2.2 with Arduino IDE 1.2.6-r2 on my Windows 7 PC.
That is the main difference from a user point of view between V1 and V2 of the plugin. In V2 there is no longer a arduino project but you have a arduino folder in your project. This is necessary to support the menu structure but was initially created for the teensy.

This noob, too, is having problems uploading to my Yun from eclipse.
I'm using eclipse and yun on a weekly basis and I do not have any problems for uploading. I even modified my own openwrt solution to be compatible with the yun upload process and that works fine to.
Basically if you can upload with the Arduino IDE and you have some basic eclipse skills you should be able to upload with the eclipse plugin.

If you want more support you will need to describe the problem in detail. FI give a screenshot of the arduino project properties and the content of the upload monitor.

Best regards
Jantje

PS As you state you are a noob: Are you aware the upload does not compile the project? So you need to compile before you can upload.
Logged

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 -

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Wow, fast & fantastic feedback! Thanks.
On my MacBook Pro using V2.2 and Arduino IDE 1.5.5 (with my UNO, it's handy), I can build (hammer) and upload "Blink".
However, on my Windows7 PC using V2.2 and Arduino IDE 1.5.6-r2 (again with UNO) there is an error at the build:
Code:
10:47:09 **** Incremental Build of configuration Release for project Blink_20140319 ****
make all
Building file: ../Blink_20140319.cpp
Starting C++ compile
make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x4217b3)

10:47:09 Build Finished (took 350ms)
And, of course, I don't know what this means, much less what to do about it!
And thanks again for the help.

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ohhh, I think I got it! Moved the Arduino folder from C:\Program Files (x86) to C:\ and now it works. Onward!!!
Logged

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1893
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice to hear you got it working.
It is better to use the arduino verify as that one saves your files before building.
Logged

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 -

Pages: 1 [2]   Go Up
Jump to: