(DIT IS EEN KOPIE VAN DE POST VAN BAZZZZ UIT HET SAMENKOPEN FORUM)
De stappen in het
ROOD hoef je niet meer te doen als je de Sanguinololu via Bazzzz hebt aangekocht, hij heeft de bootloader al op de FTDI chip geprogrammeerd !!!
----------------------------->
Koop een USBasp programmer voor €6,50 op ebay.
http://cgi.ebay.nl/ws/eBayISAPI.dll?Vie ... 0761428714Download Arduino IDE 0022(dat is nu de laatste versie)
http://www.arduino.cc/en/Main/SoftwareDownload de sanguino programmeer plugin:
http://code.google.com/p/sanguino/downloads/listDe uitleg om de sanguino toe te voegen aan je Arduino 0022 staat hier:
http://sanguino.cc/softwareforwindowsnu moet je de USBasp nog toevoegen aan de Arduino 0022. Doe dit door de file "programmers.txt" uit [arduino-0022][hardware][arduino] te openen en het volgende in de file toe te voegen:
usbasp.name=USBasp
usbasp.communication=usb
usbasp.protocol=usbasp
Nu pas start je het programma Arduino 0022
Sluit nu de USBasp aan op de sanguinololu.
De pinout van de USBasp is als volgt:

De pinout van de ISP header van de sanguinololu staat op de pcb zelf.
Programmeer nu via de USBASP en 6 draadjes de bootloader in de sanguinololu:

Nu kan je de USBASP lostkoppelen en de de sanguinololu via zijn usb kabel verbinden met de computer. Eerst krijg je een melding dat hij gaat zoeken voor de drivers voor de ft232(vaak krijg je deze melding dubbel omdat hij zichzelf eerst identificeert als virtuele serieele poort en daarna worden pas de drivers voor de serieele poort zelf geladen).Omdat je de sanguino plug-in gedownload hebt en gekopieerd naar de aduino map(ja toch) kan je onder de tab [boards] de sanguino selecteren:

Vergeet niet de bijbehorende serieele poort te selecteren die je computer aangemaakt heeft toen je de sanguinololu met de computer verbinding liet maken! Dit zal bijna altijd com3 of hoger zijn.
Download de firmware die je in je sanguino wilt hebben van github:
https://github.com/kliment/SprinterOpen nu vanuit Arduino 0022 de sprinter.pde.
Doe de aanpassingen in de software die je wilt. En het laatste stukje uitleg jat ik even van github:
Citaat:
Quote
11. Go to the Configuration.h file and edit the following lines:
#define MOTHERBOARD 62
62 indicates Sanguino 1.2 or superior
float axis_steps_per_unit[]
set values that match your hardware. For the special cast gears of the Bath Masterclass Prusa Mendel, these values are
float axis_steps_per_unit[] = {91.42857, 91.42857, 3200/1.25,700};
also for the mentioned hardware setup
const bool ENDSTOPS_INVERTING = false; //set to true to invert the logic of the endstops
// false because the switch SIG signal is linked to the ground
// "no touch == closed circuit == SIG connects to GND"
// see
http://reprap.org/wiki/Sanguinololu#Endstops 12. Click on the "play" button to compile. If everything goes well you should see a "Binary sketch size: " message.
13. Click on "the arrow going to the right" button to upload (you had done steps 7,8,9 before, right ?).
If everything goes well you should see the message "Done uploading".
Congratulations, you have just upgraded the firmware of your RepRap !