Go Down

Topic: New optiboot; beta testers welcome... (Read 123135 times) previous topic - next topic

skyjumper


The ZIP file is a match.  He added a HEX file.  If you want the source, I think you need to clone the repository.


Oh I see...  Thanks...

Markus_L811

Did someone get the Optoboot bootloader on an Atmel644P to work in the Arduino IDE?

I make an bootloader with the sanguino flag but this is not for the "P" variant of the Core, can someone help me?

westfw

My Sanguino came with a 644P, and the Makefile for optiboot does specify a 644P...

As far as I know, there aren't any bootloader or arduino-relevant differences between any of the P vs non-P atmega chips.

CrossRoads

Try the Optiloader 4.5 that maniacbug has working for the '1284P.
https://github.com/maniacbug/mighty-1284p
May need to change the signature bytes for 644x vs 1284x. Not sure what file you'd do that in.

I believe the parts are only different in terms of memory size after that.

If you check with maniacbug maybe he can add your chip to the files.

Part                 Signature Bytes
ATmega164A    0x1E 0x94 0x0F
ATmega164PA  0x1E 0x94 0x0A
ATmega324A    0x1E 0x95 0x15
ATmega324PA  0x1E 0x95 0x11
ATmega644A    0x1E 0x96 0x09
ATmega644PA  0x1E 0x96 0x0A
ATmega1284    0x1E 0x97 0x06
ATmega1284P  0x1E 0x97 0x05
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Markus_L811


My Sanguino came with a 644P, and the Makefile for optiboot does specify a 644P...

As far as I know, there aren't any bootloader or arduino-relevant differences between any of the P vs non-P atmega chips.



Interresting ist the second UART on the chips with the P on it.

westfw


retrolefty

#246
Mar 09, 2012, 07:57 pm Last Edit: Mar 09, 2012, 08:03 pm by retrolefty Reason: 1

They all have two uarts...



It was my understanding also the the non P 644 offered only one serial port?

Edit: Looked at the 644 datasheet and the cover page does seem to list one serial port:

http://www.atmel.com/Images/doc2593.pdf

Lefty

CrossRoads

The currently available datasheets from last summer show 2 UARTs for '644A and '644PA

ATmega164A/PA/324A/PA/644A/PA/1284/P Summary
(file size: 595899, 33 pages, revision C, updated: 06/2011)
http://www.atmel.com/Images/8272S.pdf

ATmega164A/PA/324A/PA/644A/PA/1284/P Complete
(file size: 24554094, 584 pages, revision C, updated: 06/2011)
http://www.atmel.com/Images/doc8272.pdf

I didn't look into these:

ATmega164P, ATmega324P, ATmega644P Automotive Complete
(file size: 6188428, 377 pages, revision F, updated: 09/2009)
http://www.atmel.com/Images/doc7674.pdf

ATmega164P/324P/644P Complete
(file size: 9613207, 439 pages, revision 0, updated: 07/2010)
http://www.atmel.com/Images/doc8011.pdf

ATmega164P/324P/644P Summary
(file size: 565743, 28 pages, revision O, updated: 01/2010)
http://www.atmel.com/Images/8011S.pdf
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

retrolefty

#248
Mar 09, 2012, 08:13 pm Last Edit: Mar 09, 2012, 08:18 pm by retrolefty Reason: 1

The currently available datasheets from last summer show 2 UARTs for '644A and '644PA

ATmega164A/PA/324A/PA/644A/PA/1284/P Summary
(file size: 595899, 33 pages, revision C, updated: 06/2011)
http://www.atmel.com/Images/8272S.pdf

ATmega164A/PA/324A/PA/644A/PA/1284/P Complete
(file size: 24554094, 584 pages, revision C, updated: 06/2011)
http://www.atmel.com/Images/doc8272.pdf

I didn't look into these:

ATmega164P, ATmega324P, ATmega644P Automotive Complete
(file size: 6188428, 377 pages, revision F, updated: 09/2009)
http://www.atmel.com/Images/doc7674.pdf

ATmega164P/324P/644P Complete
(file size: 9613207, 439 pages, revision 0, updated: 07/2010)
http://www.atmel.com/Images/doc8011.pdf

ATmega164P/324P/644P Summary
(file size: 565743, 28 pages, revision O, updated: 01/2010)
http://www.atmel.com/Images/8011S.pdf


But there does exist a ATmega 644/V chip, which datasheet I posted before.

From cover sheet:

Quote
• Peripheral Features
- Two 8-bit Timer/Counters with Separate Prescalers and Compare Modes
- One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture
Mode
- Real Time Counter with Separate Oscillator
- Six PWM Channels
- 8-channel, 10-bit ADC
Differential mode with selectable gain at 1x, 10x or 200x
- Byte-oriented Two-wire Serial Interface
- One Programmable Serial USART- Master/Slave SPI Serial Interface
- Programmable Watchdog Timer with Separate On-chip Oscillator
- On-chip Analog Comparator
- Interrupt and Wake-up on Pin Change


Lefty

CrossRoads

Data sheet is no longer posted, am guessing that chip is no longer in production.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

retrolefty


Data sheet is no longer posted, am guessing that chip is no longer in production.


I just downloaded it from the Atmel site 20 mins ago?

http://www.atmel.com/Images/doc2593.pdf

CrossRoads

Where'd you find it? I went thru the list of 8/32 bit devices and didn't see that.

Looks like one can still get them:
http://www.mouser.com/ProductDetail/Atmel/ATmega644-20PU/?qs=sGAEpiMZZMtkfMPOFRTOl8gKBbfUWfgv

but they cost more than the 2 UART parts:
http://www.mouser.com/ProductDetail/Atmel/ATmega644PA-PU/?qs=sGAEpiMZZMvllk5TiSMlD%2fzmzqUSIWNR

And the 1284 with twice the memory is like 21 cents more:
http://www.mouser.com/ProductDetail/Atmel/ATMEGA1284P-PU/?qs=sGAEpiMZZMtVoztFdqDXO3QpeG9FlGm9
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

retrolefty


Where'd you find it? I went thru the list of 8/32 bit devices and didn't see that.

Looks like one can still get them:
http://www.mouser.com/ProductDetail/Atmel/ATmega644-20PU/?qs=sGAEpiMZZMtkfMPOFRTOl8gKBbfUWfgv

but they cost more than the 2 UART parts:
http://www.mouser.com/ProductDetail/Atmel/ATmega644PA-PU/?qs=sGAEpiMZZMvllk5TiSMlD%2fzmzqUSIWNR

And the 1284 with twice the memory is like 21 cents more:
http://www.mouser.com/ProductDetail/Atmel/ATMEGA1284P-PU/?qs=sGAEpiMZZMtVoztFdqDXO3QpeG9FlGm9


Just went down this list: http://www.atmel.com/products/microcontrollers/avr/megaAVR.aspx

Found ATmega644 link
clicked on documents tab
There is then a summary and full datasheet pdf link


Lefty

skyjumper


Did someone get the Optoboot bootloader on an Atmel644P to work in the Arduino IDE?

I make an bootloader with the sanguino flag but this is not for the "P" variant of the Core, can someone help me?


As others have said, at least where the boot loader is concerned, Optiboot should run on the 1284P or the 644P, regardless of the number of UARTs. Did you get it to work?

CrossRoads

Is it only downloading sketches where the signature becomes important?
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up