Show Posts
Pages: [1] 2 3
1  Forum 2005-2010 (read only) / Syntax & Programs / Re: Arduino programming with a higher-level language? on: June 21, 2010, 07:42:54 am
Awesome! Thanks for your time guys.
2  Forum 2005-2010 (read only) / Syntax & Programs / Re: Arduino programming with a higher-level language? on: June 21, 2010, 07:12:57 am
Thanks! Last question before I tap Google rather than you smiley

Presumably I can't use the existing IDE to dev in C++ and need to use another environment?
3  Forum 2005-2010 (read only) / Syntax & Programs / Re: Arduino programming with a higher-level language? on: June 21, 2010, 06:42:43 am
Lol!

Electronics has always fascinated me, programming with physical objects! How cool is that?!

Limited memory would frustrate me because OOP will compile to a larger program?

Not knocking the existing IDE btw, it's an appropriate and elegant solution for the platform.
4  Forum 2005-2010 (read only) / Syntax & Programs / Arduino programming with a higher-level language? on: June 21, 2010, 06:19:11 am
Hello

I'm an experienced object-oriented programmer and find programming the Arduino with the basic IDE somewhat frustrating. Is it possible to use a higher-level language, preferably object-oriented?

I'm under the impression that the underlying language is C so presumably C++ is possible?

If so, how much more of the "electronics" will I be exposed to? I'm a programmer but I'm not an electronics engineer!

Thanks
Jim
5  Forum 2005-2010 (read only) / Development / Re: Problems with Eclipse installing AVR plug-in on: July 21, 2010, 08:01:06 am
... and just to add, persevere because it's worth it. The Arduino IDE is painful if you're used to something like Eclipse.
6  Forum 2005-2010 (read only) / Development / Re: Problems with Eclipse installing AVR plug-in on: July 21, 2010, 07:59:42 am
Bah! Sorry that didn't help Grifo, how annoying for you!

Iirc I think I ended up doing a manual install of AVR too (by dropping everything into "dropins" folder and restarting Eclipse)

But like I say when it does install it's very obvious, the AVR button appears in the tool bar. I say this because for a time I wondered whether it had installed but wasn't showing because I was missing something else and all that sort of voodoo.

I'll have a proper think later and if I can remember anything else I'll post.
7  Forum 2005-2010 (read only) / Development / Re: Problems with Eclipse installing AVR plug-in on: July 21, 2010, 07:13:21 am
Could be an OSX issue ... or just them daft computers up to their crazy old tricks as usual!
8  Forum 2005-2010 (read only) / Development / Re: Problems with Eclipse installing AVR plug-in on: July 21, 2010, 06:47:21 am
You mean you haven't had problems with Helios and AVR plugin?
9  Forum 2005-2010 (read only) / Development / Re: Problems with Eclipse installing AVR plug-in on: July 21, 2010, 05:38:00 am
Hi

God it took me FOREVER!!!!

But I got there in the end smiley

Robert's walkthrough is correct. It was just version conflicts. When the AVR plugin installs correctly it's seamless, there's no mystery to it or jumping through hoops.

The current version of the AVR plugin doesn't seem to like the current version of Eclipse.

Try with Eclipse Galileo

http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/galileosr2

As for configuration I found both Robert's walkthrough and the Arduino playground walkthrough helpful

http://www.arduino.cc/playground/Code/Eclipse

Cheers
Jim
10  Forum 2005-2010 (read only) / Development / Problems with Eclipse installing AVR plug-in on: June 30, 2010, 03:36:43 pm
Hello

So I've been following an eclipse/AVR plug-in installation walkthrough here

http://robertcarlsen.net/2009/10/31/arduino-in-eclipse-989

and am hitting a problem immediately.

I've

Installed Eclipse (tried both most recent version Helios and version in walkthrough, Galileo)

Then used "Install New Software" to get, CDT/Eclipse C/C++, Development Tools, and then the AVR plug-in at http://avr-eclipse.sourceforge.net/updatesite/

I've then allowed Eclipse to restart and closed it again and downloaded CrossPack-AVR-20100115 and installed it and opened terminal.app and entered avr-help to confirm those tools are on the system

Restarting Eclipse the walkthrough (and others) then seem to suggest that I should be able to select new c project and "Select Empty Project " under "AVR Cross Target Application" and also find AVR preferences under Eclipse/preferences but ...

Neither are there! No reference to AVR projects in either New Project or preferences! New Project only offers various "Empty Project" or "Hello World" variants under Toolchain: MacOSX GCC. Eclipse appears to be aware of the AVR plug-in as a reinstall through new software says it's already there, there's an AVR icon under About Eclipse and references to it in the details therein and there are various avr named files within the Eclipse application folder.

I've tried lots of variations of clean install/uninstall/manual install/re-boot every step etc etc to no avail!

I'm running MacOSX 10.5.8. Java is up to date. I have an install off Eclipse/FDT elsewhere on the system (an extended version of Eclipse for Flash/ActionScript development) but I can't imagine they're in conflict. I can use normal Arduino IDE without problems btw.

Wassup?! I'd love to use Eclipse to do Arduino programming as it's what I use for my Flash/ActionScript development.

Thanks
Jim
11  Forum 2005-2010 (read only) / Development / Re: Eclipse/AVR: stk500 programmer is not responding on: August 08, 2010, 07:51:26 am
Ok

This is indeed an operating system issue.

I installed Windows XP under Parallels on my MacBook and set up Eclipse/AVR plugin/WinAVR and ...

... works like a charm! No need to fiddle around with the reset button or other voodoo.

Presumably this relates to this warning

"Automatic (Software) Reset - This setup has other implications. When the Duemilanove is connected to either a computer running Mac OS X or Linux, it resets each time a connection is made to it from software (via USB). For the following half-second or so, the bootloader is running on the Duemilanove. While it is programmed to ignore malformed data (i.e. anything besides an upload of new code), it will intercept the first few bytes of data sent to the board after a connection is opened."

I guess this is what is killing the communication between OSX Eclipse/AVR and the Arduino

Using Parallels/XP is Ok but I'd still rather the convenience of running under OSX. Anybody know how to stop this issue of automatic reset under OSX/Linux as above?

(Cutting the reset trace didn't help under OSX and *did* make the Arduino inaccessible from the normal IDE)
12  Forum 2005-2010 (read only) / Development / Eclipse/AVR: stk500 programmer is not responding on: July 27, 2010, 03:35:07 pm
Hello

I'm having the fairly common problem with Eclipse and the AVR plug-in where uploading to the board is only sometimes successful. It often fails with

stk500_recv(): programmer is not responding

I've Googled extensively and found no consistent solution. It's not my board or cable as I have no problem uploading with the Arduino IDE.

Sometimes it'll work if I press the reset button just after the first few packets are sent. Not ideal obviously!

The most pertinent post I found referred to the Duemilanove documentation

"Automatic (Software) Reset - This setup has other implications. When the Duemilanove is connected to either a computer running Mac OS X or Linux, it resets each time a connection is made to it from software (via USB). For the following half-second or so, the bootloader is running on the Duemilanove. While it is programmed to ignore malformed data (i.e. anything besides an upload of new code), it will intercept the first few bytes of data sent to the board after a connection is opened. If a sketch running on the board receives one-time configuration or other data when it first starts, make sure that the software with which it communicates waits a second after opening the connection and before sending this data."

I am indeed using OSX an a Duemilanove.

It continues by saying

"The Duemilanove contains a trace that can be cut to disable the auto-reset. The pads on either side of the trace can be soldered together to re-enable it. It's labeled "RESET-EN". You may also be able to disable the auto-reset by connecting a 110 ohm resistor from 5V to the reset line; see this forum thread for deta"

I don't have a 110 ohm resistor to hand but a 100 ohm failed to help. Also I don't quite understand the implications of cutting the trace. Will it solve my problem or does it just mean I have to press reset to upload at all and does it mean it'll effect using the Arduino IDE?

Any thoughts anybody? Such a shame to have sorted Eclipse to program my Arduino (which was painful as it is) and not be able to upload any code!

Please help!

Thanks
Jim
13  Forum 2005-2010 (read only) / Development / Re: First PCB design/etch. What went wrong? on: September 02, 2010, 06:08:19 pm
@Tim: Yeah could do! I'm just being fussy smiley and I wanted to confirm what I should have done to avoid the issue.

Thanks everyone for your help
14  Forum 2005-2010 (read only) / Development / Re: What is the difference between an electrolytic... on: August 30, 2010, 08:10:42 pm
One thing that hasn't been mentioned is that electrolytics have polarity. You need to get them the right way round. Both your schematic and the caps themselves should be marked.
15  Forum 2005-2010 (read only) / Interfacing / Re: Question about some conventions in IC pin names on: August 09, 2010, 02:47:57 am
Thank you gentleman
Pages: [1] 2 3