Welcome! Log In Create A New Profile

Advanced

Sanguinololu ATMega1284 compatibility

Posted by jldesigns.eu 
Sanguinololu ATMega1284 compatibility
August 12, 2012 07:46AM
Hello. I've found on wiki that Sanguinololu "...features an onboard Sanguino clone using the ATMEGA644P though a ATMEGA1284 is easily dropped in"

I've bought an ATMega1284 and really struggled to get it going. First problems came with uploading the bootloader. Avrdude don't like this chip cause it has different signature than ATMega1284P. Its also wired cause in Atmel datasheet those chip's are in one document and should be compatible (http://www.atmel.com/Images/doc8272.pdf). The "P" version should only be less power consuming AFAIA.

The ATMega1284 is not event listed on gcc-avr support list.

Did anybody successfully was able to start their electronics with ATMega1284 instead of ATMega1284P? Should i save my self trouble and buy ATMega1284P?

I've managed to upload a blink led program with a programmer with Force switch in avrdude parameters. The program was compiled using pure gcc-avr (no arduino) for ATMEGA1284P.

Best regards

Edited 1 time(s). Last edit at 08/13/2012 03:23AM by jldesigns.eu.
Re: Sanguinololu ATMega1284 compatibility
August 13, 2012 05:58AM
The 1284 without P is apparently a pretty rare beast. I'm wondering where you got one, I'm not aware of a seller with ones in stock.

If the force switch works, well, use it. Another option might be to upload an bootloader for the 1284P and use that. In that case it's the bootloader reporting the signature, so Arduino IDE will recognize it as 1284P. The Gen7 Arduino IDE Support 2.0 package has such a bootloader precompiled inside.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Sanguinololu ATMega1284 compatibility
August 13, 2012 10:11AM
Thanks for you're reply.

I of course tried that. No success so far.

I've tried the bootloader from Gen7 for ATMega1284, I've uploaded it manually through programmer. Uploading went well, but programming didn't work. Then I've tried to burn the bootloader through arduino but it gives error after uploading (it uploads it and then throws an error).

Well I've got it from quite a big supplier in EU. www.tme.eu.

Nevertheless now I'm in a point where I'm not sure if its just microprocessor causing the error, or possibly I have some other small mistake in PCB assembly, soldering etc.

That's why I wanted to confirm if anybody was able to get it running on that uC.

Best regards
Jakub
Re: Sanguinololu ATMega1284 compatibility
August 13, 2012 05:35PM
If you have a programmer available, it's perfectly possible to upload firmwares using that. A bootloader is just a convenience thing, doing nothing during printing.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Sanguinololu ATMega1284 compatibility
August 16, 2012 03:30PM
I am using Optiboot on my sanguino with a 1284
[code.google.com]

HTH -- Devon
Sorry, only registered users may post in this forum.

Click here to login