Welcome! Log In Create A New Profile

Advanced

Tones Firmware Errors

Posted by Leo94 
Tones Firmware Errors
March 09, 2013 06:44PM
Hey Everyone,

I'm obviously doing something wrong. I trying to upload the firmware to my Sanguinololu 1.3b board. I have tried using Teacup, Marlin and Sprinter as well as different version of Arduino but I keep getting errors when verifying the firmware before uploading. I'm pretty sure I have followed all of the steps correctly but maybe I'm missing something.

Does anyone know what might be causing this?

Thanks,
Leo.

Edited 1 time(s). Last edit at 03/09/2013 07:18PM by Leo94.
Re: Tones Firmware Errors
March 09, 2013 06:50PM
'hundreds of errors' isn't particularly helpful. Post the first few error messages.
Re: Tones Firmware Errors
March 09, 2013 07:22PM
Sorry here you go. Oh and by hundreds I meant a few, just unnecessary over exaggerating. I edited it :L

In file included from /analog.h:15,
from analog.c:1:
/config.h:32:3: error: #error Sanguinololu has a 644P/644PA! set your cpu type in Makefile!
In file included from /temp.h:4,
from analog.c:7:
/config.h:32:3: error: #error Sanguinololu has a 644P/644PA! set your cpu type in Makefile!
In file included from /temp.h:18,
from analog.c:7:
/config.h:32:3: error: #error Sanguinololu has a 644P/644PA! set your cpu type in Makefile!
In file included from analog.c:22:
/config.h:32:3: error: #error Sanguinololu has a 644P/644PA! set your cpu type in Makefile!
In file included from analog.c:33:
/config.h:32:3: error: #error Sanguinololu has a 644P/644PA! set your cpu type in Makefile!

Edited 1 time(s). Last edit at 03/09/2013 07:30PM by Leo94.
Re: Tones Firmware Errors
March 09, 2013 07:38PM
Wait. Where did the first set of errors you posted go? Something about an error in tone.cpp?

Anyway, the current set of errors suggest you haven't set the board correctly in the arduino IDE. The IDE can't upload to Sanguino out of the box, since it uses a processor no arduino product uses, but you can install the Sanguino extensions or the Gen7 support package to provide support for the 644P processors.
Re: Tones Firmware Errors
March 09, 2013 07:53PM
Oh yeah I edited the post because I using the wrong version of Teacup, sorry for any confusion.

But back to what you said, I do have the gen 7 support package but it seems that I had the wrong board selected. I was able to compile the firmware with Gen7 with ATmega644P selected. But I thought that I would have to use ATmega1284P with the Sanguinololu 1.3b? Have I just configured Teacup wrong? Or is it correct to upload with ATmega644P selected?

Edited 1 time(s). Last edit at 03/09/2013 07:55PM by Leo94.
Re: Tones Firmware Errors
March 09, 2013 08:32PM
Teacup doesn't have a separate configuration for sanguinololu 1.3b, so Im guessing this won't cause problems. Give it a go.
Re: Tones Firmware Errors
March 09, 2013 09:13PM
Ok, I attempted uploading it a go without success. It compiled fine but when it got to the upload it nothing happened the progress bar just freezes at upload . I gave resetting the board just before the upload to but that didn't change anything.
Oh and thanks for your help Andrew.

Edited 1 time(s). Last edit at 03/11/2013 07:09PM by Leo94.
Re: Tones Firmware Errors
March 11, 2013 07:18PM
Quick update, I tried to uploading the firmware with another computer but that didn't change anything, I still have the same problem.
Re: Tones Firmware Errors
March 12, 2013 05:14AM
Quote

is it correct to upload with ATmega644P selected?

Yes.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Tones Firmware Errors
March 16, 2013 08:16AM
Hi Leo,

I'm new here and maybe it isn't of any help. But my uploadproblems disappear when I manually quit the activity of the arduino in the activity monitor of my mac. I don't know what the equivalent of that is in windows, sorry. I use Teacup to communicate. I had a different error tho. I found this solution after a long search into the problem and it works for me.

~~
Maryon
Re: Tones Firmware Errors
March 16, 2013 08:56AM
Quote

I found this solution after a long search into the problem and it works for me.

It's always helpful to describe such errors. Without it, others have to do the same long search.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Sorry, only registered users may post in this forum.

Click here to login