can AVR program big than 64k byte?

Status
Not open for further replies.

shanren

Advanced Member level 4
Joined
Oct 12, 2001
Messages
102
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
1,071
hi,i am a beginner in AVR,i want to know if my program is big than 64k bytes,can it work?if can work like 8051,how to do?
thanks a lot!
 

Hello, shanren

Re. your questions, unfortunately it's strictly impossible with AVR.
You can only use program memory with in-system amounts but it depend
on your device.
If you want to use more than 64Kbyte, there are two possible methods.
One is you may use MEGA128 which have 128Kbyte in-system memory.
Another methods is, if you possible, seperate your program into two parts.
One is main or control logic and second is data. You can save your data,
like a fonts etc. in external memory.
Because AVR and many RISC MCUs only support internal program memory only. But they support exteranl data memories.
I hope it can be a answer.

Good luck.
:roll:
 

hai,

u can use avr mega family it has above 64 k pgm memory

u can collect information from

www.atmel.com

bye
 

thanks all of you!
if i use data flash bigger than 64k bytes,can i use IO AS upper address of data flash?like 8051?
BEST REGARDS
shanren
 

HI, shanren.

I think you can't do like a 8051 because the adress pointer of AVR can't
reach adress of beyond in-system memory.
If you flash only for the data, as I mentioned before, you can use external
data memories like 24Cxxx/93Cxxx.
There are some big difference in program memory addressing between
8051 and AVR, it maybe make you confusion??
Hope to be a useful info.

Good luck.
:roll:
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…