Operation Flash boot

Talk about the Repetier Host software here (http://repetier.com)
Post Reply
taav
Printmaster!
Posts: 39
Joined: Wed Apr 03, 2013 5:59 am

Operation Flash boot

Post by taav »

Alright guys so it looks like I have a bad bootloader

So I plan on flash booting a boot loader to my rambo.

[img]http://i131.photobucket.com/albums/p283 ... 8f3e09.jpg[/img]

This is an Atmega programmer, it is compatible with Atmega 2560, which is the part type of the rambo, since that is what is selected in Arduino according to the manual right?

[img]http://i131.photobucket.com/albums/p283 ... c20a29.jpg[/img]

This is my Rambo. I insert the programmer as according to this video right?
Is it best to dismount the rambo and power it up via usb while doing this, or can i upload it with my power on the in the above picture? http://www.youtube.com/watch?v=mC4Pv15Ibco

[img]http://i131.photobucket.com/albums/p283 ... 149598.jpg[/img]

My programmer has a 10 pin connector so i need this converter to understand how to connect it to my rambo, can someone help me make sense
of this graph, It sort of confuses me. How do i tell which side is up? I got this converter graph from the guy who sold me the programmer.

Anyway before I proceed just wanna confirm and clarify how to do all this stuff .
User avatar
Toyguy
Printmaster!
Posts: 121
Joined: Sat Nov 02, 2013 1:39 pm
Location: Vermont

Re: Operation Flash boot

Post by Toyguy »

I can't comment on the specifics, not having done this, but in your graphic, notice that 2 pins are square. Those are pin 1 of the respective connectors. Also notice the small rectangular key on the left side of each connector? That should match the respective connector shell, or the silk-screen graphic where they connect. That's how you orient the diagram. Presumably, you then just wire them up matching each pin name on both connectors, and tie all the extra grounds together on the large one.
User avatar
Eaglezsoar
ULTIMATE 3D JEDI
Posts: 7159
Joined: Sun Apr 01, 2012 5:26 pm

Re: Operation Flash boot

Post by Eaglezsoar »

Toyguy is correct. Did you get a windows driver for the programmer or are you using Linux?
Normally you install the driver under windows, plug in the programmer and connect to the Rambo
via the cable using Toyguy's description on how to line up the pins. Arduino has an option to
load a new bootloader and that is what I have used in the past. Power is supplied via the USB not
the 12v power on to the Rambo. There are many tutorials on how to use these pocket AVR programmers
via Google. Just Google "using pocket AVR programmer" .
Eric
Printmaster!
Posts: 717
Joined: Sat Aug 18, 2012 4:09 am
Location: Chula Vista, CA

Re: Operation Flash boot

Post by Eric »

You can make your own cable...you've already got the pinouts, but you'd need a few parts.
It may be easier to buy the finished product. This is what you need:
https://www.sparkfun.com/products/9215

Or, you can hook it up using some single-pin jumper cables, if you have any on hand, using the pinout charts as a guide. Just get the right signals to the right pins.
taav
Printmaster!
Posts: 39
Joined: Wed Apr 03, 2013 5:59 am

Re: Operation Flash boot

Post by taav »

Hey guys my supplier said that if i use single pin jacks, then i only need to connect 1 ground to the Rambo, can you guys confirm this?

It seems sensible, but what did toyguy mean when he said you can put all the ground wires into one?
User avatar
Toyguy
Printmaster!
Posts: 121
Joined: Sat Nov 02, 2013 1:39 pm
Location: Vermont

Re: Operation Flash boot

Post by Toyguy »

Well, it's probably not necessary really - your supplier is probably correct. But typically I would make up short jumpers from one ground to the next on the large connector, ending up with two wires on the last ground in the string, one from the previous jumper and one from the small connector. Basically a daisy chain. With single pin connectors, though, getting 2 wires in may not be practical, so just use one. It should be fine - ground is ground.
User avatar
Eaglezsoar
ULTIMATE 3D JEDI
Posts: 7159
Joined: Sun Apr 01, 2012 5:26 pm

Re: Operation Flash boot

Post by Eaglezsoar »

taav wrote:Hey guys my supplier said that if i use single pin jacks, then i only need to connect 1 ground to the Rambo, can you guys confirm this?

It seems sensible, but what did toyguy mean when he said you can put all the ground wires into one?
taav, what you want to do is possible but you are going to need 6 male to female jumper wires to adapt the 10 pin connector on your programmer to the 6 pin connector on the
Rambo. Even if you have the jumper wires, you need to make sure that the wires are jumpered correctly and no mistakes are made.
Eric gave you the best option which is to purchase the correct cable for your programmer which is at https://www.sparkfun.com/products/9215
That cable has the correct 6 pin connector with a red wire that identifies pin 1 which you line up with pin 1 on the connector on the Rambo and load the bootloader.
I am concerned that without that cable you will make a mistake and forever destroy your Rambo and make a $200 mistake.
Get the correct cable, load up the windows driver for your programmer, open arduino and program the bootloader. By all the questions you are asking I can tell you
are not confident in your abilities to do this with jumper wires so let me reiterate, buy the cable Eric listed. If after you have the cable and need more help contact me
with a PM if necessary. Here is a video on how to do it once you have the cable: http://www.verious.com/article/how-to-f ... ectronics/
taav
Printmaster!
Posts: 39
Joined: Wed Apr 03, 2013 5:59 am

Re: Operation Flash boot

Post by taav »

Hi Eaglesoar

You are absolutely correct, there is no sense in turning something this delicate into what would ultimately amount to a learning session.

I will order a proper adapter and follow the video to precisely.
User avatar
Eaglezsoar
ULTIMATE 3D JEDI
Posts: 7159
Joined: Sun Apr 01, 2012 5:26 pm

Re: Operation Flash boot

Post by Eaglezsoar »

taav wrote:Hi Eaglesoar

You are absolutely correct, there is no sense in turning something this delicate into what would ultimately amount to a learning session.

I will order a proper adapter and follow the video to precisely.
Thank you. I did not want to take a chance on bricking your $200 card. I know you want to get working but I'm glad you decided to
buy the proper cable. Once you get the cable and still have a problem contact me via a PM (just highlight my name and select PM)
and I will help you as quickly as possible.
Post Reply

Return to “Repetier Host”