If you don't have a Mega2560 board, the GRBL is designed for ATMega328 based Arduinos and has been specifically modified for use on the 2560.I don't have any of the legacy "Uno"s on hand, I do have some "Leonardo"s (ATMega32AU based), and a couple of "DCcEle DCcduino" (Essentially the Uno with on-board USB.based on the ATMega328PAU).If that is compatible with a board you have on hand then I would be happy to try the process on it.I **Might** have some DIP ATMega328's on hand will have to check.I know I have some DIP ATMega32's on hand.so in a pinch, perhaps I could breadboard a DIP AVR for testing.but at the end of the day I sure would like the code to run on the Mega2560.įor the record, I have flashed and tested my Mega2560 board with both the "Bootloader" hex file created by the Arduino IDE and the "No-Bootloader" hex file created by the Arduino IDE.(obviously two different boards) no joy with either.ģ x Arduino Uno R3 with the ATMega328P-PU (DIP with Socket) and ATMega16AU USBĥ x Arduino Uno R3 with the ATMEGA328P (SMD) and CH340G USBĪll are from US suppliers, so should all be here next week.If you don't see anything "glaring" then I will just put this project on hold till the UNOs come in and I can use the EXACT set up that is "supported and documented" by the people writing the grbl code.OBVIOUSLY I should NOT have started with an ATMega2560 regardless how many RepRaps are running grbl variants. If you have the time, and wouldn't mind.if you could download the source from github and simply attempt to load it onto a Mega2560 (if you have one) and let me know if you get ANY terminal communication from it I would sure appreciate it.
I can post the various headers and C files in the libraries (would be A LOT of text), or you can simply download them from here:įrom the download, I have selected and installed the: Grbl9fMega2560 Library. In theory the GRBL firmware is flashed to the ATMEGA2560 soldered on the Arduino Mega2560 board sitting in front of me and I should be able to use a terminal interface to begin setting up my parameters.I can use extreme burner to verify the hex file flashed to the 2560 matches the hex file created by the Arduino IDE.but I am getting no response from the 2560.On ReSet, It is suppose to send: I started a "New Sketch" in the Arduino IDE, Selected the Atmega2560 and included the GRBL library (as per the GRBL wiki instructions.) I then compiled the sketch (it compiles w/o warnings), but I have not been able to upload it to the Mega2560 board via the Arduino IDE.either via the boot loader or with a programmer.However, I have been able to use the "Export Compiled Binary" feature in the Arduino IDE to create a hex file that flashes without a problem using extreme burner and an AVRASP.so there is that. I have the GRBL library installed in the folder with the rest of the Arduino libraries, and it shows up in the Arduino IDE "Library List" (I don't have any other GRBL libraries installed anywhere else). Latest "verified" Version of GRBL9f2560 from GitHub I am an absolute NooB with respect to the Arduino IDE and C programming, but I have been building projects using the AVR family of uControllers since the 90's.of course, everything I have done has been in Assembler.What I actually "need" I could have done in an afternoon writing ASM, but what I really **want** is to try and use GRBL and the Arduino IDE.so I am a week into trying to load a completely un-modified "sketch" to a mega2560 board.īrand New SainSmart Mega2560 R3 with the ATMEGA16U USB chip (as opposed to the more readily available CH340G USB Chips.there were a few posts about compatibility issues of GRBL with the CH340G USB chips, so I ordered some of the SainSmart boards in an effort to minimize potential problems.)Īrduino IDE Version 1.6.9 (fresh install)