??? 12/17/07 10:15 Modified: 12/17/07 10:38 Read: times |
#148363 - Neither would a comparable 8051! Responding to: ???'s previous message |
Reza Fallahati said:
ATMega128 provides 128K memory (256K are also available, check Atmal AVRs)@ 16MIPS... There are modern 8051 derivatives with similar specs - and that wouldn't require a whole new toolchain! It's never straightforward to compare memory sizes across different architectures, so just saying that an AVR has "128K memory" is not useful; for a start, the AVR addresses this in 16-bit words - not bytes! Update: The ATMega128 Datasheet said: (my emphasis)
The ATmega128 contains 128K bytes On-chip In-System Reprogrammable Flash memory for program storage. Since all AVR instructions are 16 or 32 bits wide, the Flash is organized as 64K x 16. For software security, the Flash Program memory space is divided into two sections, Boot Program section and Application Program section.
The Flash memory has an endurance of at least 10,000 write/erase cycles. The ATmega128 Program Counter (PC) is 16 bits wide, thus addressing the 64K program memory locations. Whether an AVR is likely to squeeze more functionality into 64K words of flash than an 8051 gets into 64K bytes is, of course, another story... |