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.

Program size capability for 89S52...

Status
Not open for further replies.

Sudhp

Member level 4
Member level 4
Joined
Oct 11, 2013
Messages
69
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Location
India
Visit site
Activity points
528
hi experts!!!!
My question is...
Is it possible that 89S52 microcontroller work properly for 17 k hex program..????
 

yes it should be if there is no bugs in code and if your controller having that much ROM.
 

then how this controller will accept this hex file you have to choose the controller having that much ROM.
 

then how this controller will accept this hex file you have to choose the controller having that much ROM.


But it is happening.....
I am using AT89S52 micro and it is supporting hex file of 17 k at this time......
So I wanna know how is this happening.....and micro working properly.....
and it is happening only with me...??
Plz help me to solve this problem .......
 

The hex file does not map 1:1 with the rom image.

Consider that a standard hex file has an address field and opcode per line as well as the data (which is represented as two ascii characters per byte), then a checksum...

Even ignoring everything ecept the data, I would expect 8K of binary image to correspond to 16K of hex, so 17K by the time you include all the overhead could quite easily be less then 8K of rom.

Regards, Dan.
 

U have to consider format symbols, spaces, ":", and other staff that doesn't go into Flash/ROM.
For example, this file is for a 166 byte of flash memory data (if u check it manually every 2 numbers count a byte), but the whole file is more the double the size ;)

Now dont' allow me to upload an .hex file... by the way u can check at every hex file that you have.

Code:
:020000020000FC
:1000000000C00FEF0AB903E007B903E000938100D5
:10001000FF27EE2707E7002E00E3102E0BE6202E29
:1000200009E7302E0CE3402E0DE5502E0FE5602E33
:1000300000E7702E0FE7802E0DE7902E4427409AA0
:10004000419810918500209184001038D1F720301C
:10005000C1F700810BB9091511F0E39503C0FF2723
:10006000EE2700C0112722271093850020938400DB
:02007000E8CFD7
:00000001FF
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top