Welcome! Log In Create A New Profile

Advanced

Mega 2560 - Pololu troubles

Posted by j_andberg 
Mega 2560 - Pololu troubles
May 31, 2012 07:04PM
Hi All:

I am having a very difficult time with the Arduino Mega 2560. My troubles are with the Pololu elecronics etched by a Mendel. I ordered a Arduino Mega 2560 board (since the original Mega was no longer available), and I built the electronics. Now my problems start. I can not get the 5D firmware to compile and/or load. More specifically:

Using the latest Mendel distribution, I can not compile it with the Arduino v23 or 1.0 compiler. I can, however load and run the "hello world" so the communication is OK.

Using an older mendel distribution and an older Arduino IDE v18 I can get it to compile. However it does not load, with the infamous avr dude error.

Stuff in the middle gives strange serial errors on compile. Note I have the board set correctly, for the later V20+ that support the Mega 2560.

I figure that someone is running the Mega 2560 with the Pololu electronics. Can anyone give me a known-to-work version number of the mendel distribution and the Arduino IDE version number? Searching on this forum has not yielded much. I hope I have not wasted the time and money on this combination...

many thanks,

john
Re: Mega 2560 - Pololu troubles
May 31, 2012 07:59PM
what shield are you using with your mega. and do you have your settings right in the arduino ide


[mike-mack.blogspot.com]
Re: Mega 2560 - Pololu troubles
May 31, 2012 11:33PM
Hi:

I am using Adrian's Pololu electronics that is etched in the reprap (although I did a toner transfer). I am not getting that far to even try connecting that up, yet. The Arduino IDE works fine for v1.0 (with the "hello world"). I am using the Mega 2560 for the IDEs that support it > v20, and Mega for the rest <v20.

j
Re: Mega 2560 - Pololu troubles
June 01, 2012 07:00AM
Quote

Now my problems start. I can not get the 5D firmware to compile and/or load.

My crystal ball is a bit dusty, so can you provide us with the exact errors? The red text in the black part of the window can be copied out there and in here. The first 10 lines are usually sufficient.

Also, there are several "famous avrdude errors" and even more solutions for them.

Another point to check is, wether FiveD firmware supports the ATmega2560 and can be compiled with Arduino IDE 1.0. I doubt so, but I might be wrong. FiveD was state of the art when this Pololu shield was designed, these days there are several others (Teacup, Sprinter, Marlin, Repetier, ...).


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Mega 2560 - Pololu troubles
August 08, 2012 06:56PM
Hi All:

I have made progress on this, but still have problems. I am using the USB driver set to COM7 and 19200 baud. I used the IDE v20 and the distribution ed2cd60. I uncommented the #define DEFAULTS MENDEL_MEGA_DEFAULTS line. The sketch then compiled and uploaded with no errors.

I then set the 5D preferences to COM7 and 19200 baud. I tried to run the reprap.bat file, and the GUI never appears. I get the attached message.

Any ideas?

thanks,

john
Attachments:
open | download - problem.jpg (60.2 KB)
Re: Mega 2560 - Pololu troubles
August 09, 2012 03:50AM
There is no serial communications. The baud rate of the firmware can differ from that of the bootloader (which is used for firmware uploading).


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Mega 2560 - Pololu troubles
August 09, 2012 06:23PM
Hi:

That was a very good idea. I looked in the 5d sketch and found the mega host_baud was different. So I changed it to the same as COM7, recomplied and uploaded. Now host, com port and sketch are the same. Still no change. The Mega RX light works when the reprap.bat runs, but not the TX light. The host GUI still does not open.

Yet there is no serial port trouble, as I can load and run the "hello world" example.

I am very confused.

john
Sorry, only registered users may post in this forum.

Click here to login