Any one have a link to a tutorial to upload the marlin firmware to

Any one have a link to a tutorial to upload the marlin firmware to the Sanguinololu?

I don’t know how up-to-date this still is, but two years ago when i was building my first printer, you’d have to add the files from the underlying sanguino project ( http://sanguino.cc/ , http://sanguino.cc/useit ) to your Arduino installation before being able to upload a firmware. Popular firmwares, including Marlin, then allow you to select a pre-made pin map for the Sanguinololu.

I have a sang board and programming was a nightmare. Apparently your Arduino core needs to put into consideration the bootloaderr used. Mine was apparently optiboot. Someone on the eventorbot forums documented how to install sprinter. I used it successfully, but had to use a different core for marlin or repeteir

Ill check on all that. I’m not even sure there is a bootloader

The AVR chip must have a boot loader, but it is generally installed on built boards. Otherwise you’d need to use an ISP to flash it. Sorry, I had misspoke. Setting up which board you have in the Arduino IDE was where it got tricky. You need to make sure you’re using a core that matches the code base of Marlin, but also set up the board.txt (I think that’s the name) to set up the correct communication parameters for the board. I’m in the process of migrating my settings from sprinter to marlin. Once I do I can probably give you copies of my files. You’ll probably figure it out by then though

I do have an ISP just in case. I downloaded marlin and added the Sanguino folder to my Arduino/hardware directory.

I verified and that went fine then I tried to upload and I get the following error.

avrdude: stk500_getsync(): not in sync: resp=0x00

I tried the one at 16mhz but not sure its running at 16mhz as I dont see an external oscillator on the board.

I then tried 8mhz but I get the following error.

stepper.cpp: In function ‘short unsigned int calc_timer(short unsigned int)’:
stepper.cpp:263: error: ‘speed_lookuptable_fast’ was not declared in this scope
stepper.cpp:270: error: ‘speed_lookuptable_slow’ was not declared in this scope

@Mike_Ashcraft the Sangulululu (screw that horrible name!) should have an oscillator, clocked at 16MHz, under the Atmega.
Now, for that stk500… error: I’m sure everyone has seen that at one point in his Arduino history. Flashing the bootloader via the ISP and then trying again would be my best guess here.

That did the trick after burning the bootloader using my usbasp I was able to upload the marlin sketch and connect with pronterface!

Well that was not as bad as I thought it might be though good thing I had the usbasp.

I’m sure I will need to fix some thing in the marlin config but its nice that I know how to do every step now.

I really appreciate the help and I’m sure ill need more too

Awesome, glad it was less painful for you