Pages: 1 ... 15 16 [17] 18 19 ... 23   Go Down
Author Topic: New optiboot; beta testers welcome...  (Read 106305 times)
0 Members and 1 Guest are viewing this topic.
Smithfield, Rhode Island
Offline Offline
God Member
*****
Karma: 3
Posts: 843
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

Germany
Offline Offline
Full Member
***
Karma: 10
Posts: 230
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 135
Posts: 6782
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 544
Posts: 27352
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Germany
Offline Offline
Full Member
***
Karma: 10
Posts: 230
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 135
Posts: 6782
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

They all have two uarts...
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17301
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: March 09, 2012, 02:03:37 pm by retrolefty » Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 544
Posts: 27352
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17301
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: March 09, 2012, 02:18:48 pm by retrolefty » Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 544
Posts: 27352
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17301
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 544
Posts: 27352
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17301
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Smithfield, Rhode Island
Offline Offline
God Member
*****
Karma: 3
Posts: 843
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 544
Posts: 27352
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Is it only downloading sketches where the signature becomes important?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: 1 ... 15 16 [17] 18 19 ... 23   Go Up
Jump to: