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.

burned program code is stored in which memory of 8051?

Status
Not open for further replies.

logukalipal

Junior Member level 2
Joined
Jan 8, 2012
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Coimbatore, India
Activity points
1,476
Hi,
we(Beginner) are starting a mini project, in that i have a question.
that is,

1.The hex code of program (for 8051) is stored in which memory of 8051?

why i have this question is ,i think our hex code for 8051 excess 4kb. i read in data sheet 8051 have 4kb flash memory.
 

The hex code is stored in the ROM i.e Flash Memory of your controller,
The variables you defined in your code is stored in RAM.

If you are beginner you can't write code having size > 4Kb :p

As 4Kb is too much.

And if it is so, you can try different variants of 8051 like AT89S52 etc etc.
 
Thanx arunsharma..:)

we do the project of home automation using sensors,keypad,lcd...
we use the keil ide to covert the assembly to hex code.
so how i know the size of hex file(instruction set) to select microcontroller?

Thanks in advance..:)
 

its not the absolute method to know hex data size., using keil assembler tool, once target was builded bottom of keil tool showned by like this.
program size: data=__ xdata=__ code=___
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top