Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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:
 

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.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top