Help needed in getting Marlin firmware onto CR10 (Melzi board)

573 views
Skip to first unread message

formunkey

unread,
May 22, 2017, 7:51:05 AM5/22/17
to North East Makers
Hello

I spoke to a couple of you at the Makerfaire about the trouble I was having trying to get a new copy of Marlin firmware on my Prusa clone, well I've kept at it to no avail. Would anyone be able to meet me at the Makerspace and help me get the file uploaded?

Thanks.

jason(@formwurx.co.uk)

Brian Degger

unread,
May 22, 2017, 7:54:15 AM5/22/17
to north-ea...@googlegroups.com
Have you tried this or is this what you need help with? 


--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-makers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
----------------------------------------
Brian Degger
twitter: @drbrian

----------------------------------------

formunkey

unread,
May 22, 2017, 5:47:38 PM5/22/17
to North East Makers
Hi Brian

Thanks for the response. That's the instructable I've been following, the bootloader goes on fine, after that nothing. A friend who knitted arduino and C has helped me out but he can't work out the problem either. I'm halt to bring it in if you have the time to take a look?

Cheers
Jason

Brian Degger

unread,
May 23, 2017, 5:01:56 AM5/23/17
to north-ea...@googlegroups.com
Hi Jason,
I will be in later Wednesday around 8pm, so only time for a quick look.   

Just trying to understand what you mean by 'nothing'. 
Can you get the standard arduino 'blink' sketch to work on it? 

cheers,
Brian



--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-makers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dan Nixon

unread,
May 23, 2017, 5:15:44 AM5/23/17
to north-ea...@googlegroups.com
Are you verifying the contents of the flash afterwards?
Do you get any LED activity when you power it up after flashing the bootloader?
Have you tried a dedicated AVR ISP rather than the Arduino implementation? (an AVR ISP costs less than an Arduino anyway)
Did you select the correct board/MCU (verifying that this is what is actually on your board too)?
Have you tried just flashing the firmware via ISP rather than the bootloader (which is really not needed).

Dan

--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-mak...@googlegroups.com.

Jason Spiller

unread,
May 23, 2017, 7:04:31 AM5/23/17
to north-ea...@googlegroups.com
Hi Guys

I get lights active on the melzi board, the sketch compiles fine, it errors out when trying to upload. I have no screen activity on the printers lcd (just the regular backlight). The instructable says to use an older version of arduino ide (1.0.5 I think) but when I use that one there is no programmer available, even though I have all the right files and folders in the right libraries, so I use the most recent version and that one gives me the errors. I really am in the dark on this,  I don't generally tinker in this manner as electronics and coding are not my forte.

I live up in Northumberland so if I'm going to bring it through I'd ideally like to spend time going through it and getting up and running. I only bought it for a building project and I've had the thing for 2 months and only got 1 weeks worth of work out of it so far.

Cheers
Jason

Dan

To unsubscribe from this group and stop receiving emails from it, send an email to north-east-makers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "North East Makers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/north-east-makers/t5sD2ConzSE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to north-east-makers+unsubscribe@googlegroups.com.

David Pye

unread,
May 23, 2017, 7:09:03 AM5/23/17
to north-ea...@googlegroups.com
I have run into similar problems.

Can you tell us the exact upload error?

Last time I encountered this it was to do with what bootloader version the arduino expected.

David 

Jason Spiller

unread,
May 23, 2017, 7:21:44 AM5/23/17
to north-ea...@googlegroups.com
Hi David 

It was a repeating error, 10 repeats (or attempts) to upload. If memory serves it was saying there was no response from the melzi board. 

Will McElderry

unread,
May 24, 2017, 3:44:39 AM5/24/17
to Makerspace
Sounds like an stk500 timeout, which basically means no communication.

As I understand things the instructable seems to say to program the isp programmer, then don't use it (step three, second set of numbers, item 6)

I don't understand how you manage to program the bootloader at all with this method, so it seems likely I've missed something, but:

I'd do thinks slightly differently when flashing the bootloader than the instructables:

1. There should be no need to power the melzi by usb when the 5v and gnd lines are connected between the programmer arduino and melzi, so do not plug the melzi in to usb

2. Keep programming the bootloader via the programmer comm port, not the melzi comm port! (critically important imo)

3. Avoid your *programmer* resetting when you connect - temporarily disable reset on connect for you board.
Sometimes there's a jumper, other times you'll want to check what voltage is on the reset pin with a multimeter and connect the reset pin to the same voltage source on the programmer breakout pins. I'd suggest a direct wire connection for most programmer arduinos, but search to see what's suggested for your board first - some say a low value resistor is better, or simply disable the dtr signal if you are using an external usb uart.


There are a lot of other potential options, but those are what I'd try first.

I wont be in tonight, but you may find my blog post on some more advanced bootloading useful to check against:


Not all of it is directly relevant, but it may help to debug things if you want a more in depth understanding.

Good luck!

W.




To unsubscribe from this group and stop receiving emails from it, send an email to north-east-mak...@googlegroups.com.

Dan Nixon

unread,
May 24, 2017, 4:05:06 AM5/24/17
to north-ea...@googlegroups.com
Keep programming the bootloader via the programmer comm port, not the melzi comm port! (critically important imo)
10/10, best Instructable ever... such accurate, very logic

It would probably be better to use use the "official" documentation: http://reprap.org/wiki/Melzi (why an Instructable needs to even exist is beyond me).

Dan

Dan

To unsubscribe from this group and stop receiving emails from it, send an email to north-east-mak...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "North East Makers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/north-east-makers/t5sD2ConzSE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to north-east-mak...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-mak...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "North East Makers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/north-east-makers/t5sD2ConzSE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to north-east-mak...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Will McElderry

unread,
May 24, 2017, 4:23:06 AM5/24/17
to Makerspace
The official melzi bootloader instructions say that you need to power the melzi by usb. That's a surprise, but it repeats it, so I guess you do need the USB connection.

In that case I'd suggest not connecting the 5v from programmer 'duino to 5v on the melzi. Make sure there is a ground - ground connection.

W.

Dan Nixon

unread,
May 24, 2017, 5:08:11 AM5/24/17
to north-ea...@googlegroups.com
Probably because a lot of people have issues with ISP programmers with limited target current (or no target power at all, not aware of any that don't though).

Dan

David Pye

unread,
May 24, 2017, 5:14:11 AM5/24/17
to north-ea...@googlegroups.com
I've run into this and when I had this exact problem it was because the bootloader version being programmed onto the board wasn't the same version as specified in the arduino boards.txt file, so it was 'talking' the wrong version protocol when trying to upload.

Jason - I appreciate you wanted someone to sit down with you and hopefully you'll find someone, but my availability is a bit sketchy for the next couple of weeks which is why I haven't formally volunteered to help you.

If nobody else has stepped up by then and you havent cracked it I am happy to assist.

Regards

David

Dan

To unsubscribe from this group and stop receiving emails from it, send an email to north-east-makers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "North East Makers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/north-east-makers/t5sD2ConzSE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to north-east-makers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-makers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "North East Makers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/north-east-makers/t5sD2ConzSE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to north-east-makers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-makers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-makers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-makers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-makers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-makers+unsubscribe@googlegroups.com.

formunkey

unread,
May 30, 2017, 1:53:40 PM5/30/17
to North East Makers
Hi To All

Well, I've looked at the advice that I've received here, unfortunately I'm still no further on. If anyone would be able to meet me at the space for a few hours, Wednesday or Thursday evening (I'm available on Saturday mornings as well), I would be most grateful.

Regards
Jason
Dan

To unsubscribe from this group and stop receiving emails from it, send an email to north-east-mak...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "North East Makers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/north-east-makers/t5sD2ConzSE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to north-east-mak...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-mak...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "North East Makers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/north-east-makers/t5sD2ConzSE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to north-east-mak...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-mak...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-mak...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-mak...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-mak...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "North East Makers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to north-east-mak...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages