CrazyEngineers Forum
Navigation
Go Back   CrazyEngineers Forum > CE : Technical Discussions > Electrical & Electronics Engineering


Advertisements
Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)
Old 1st December 2008, 07:22 PM
CE - Newbie
 
Join Date: 1st December 2008
I'm a Crazy Electronics Engineer
Posts: 1
Angry How to calculate ROM size.

Hi,
can any one Please tell me how to calculate ROM size for the source code.

E.g:- Imagine my source code is 1000Lines of Code.
What shall be the ROM(Microcontroller) size for this code.
shambhu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote


  #2 (permalink)
Old 2nd December 2008, 07:32 PM
CE - Maniac
CeOM April '09
 
silverscorpion's Avatar
 
Join Date: 8th October 2007
I'm a Crazy Electronics and communication Engineer
Location: Chennai, India
Posts: 823
Default Re: How to calculate ROM size.

Compile the code using any code compiler. The particular compiler depends on the micro controller you are using. For 8051 based controllers, you have keil or ride. Similarly for pic or avr, you have the respective developers.
Compile the code and create a hex file of the code. The size of the hex file is the size of ROM required to run the program in that controller.
__________________
Did you know??
Gravitation is not responsible for people falling in love.
silverscorpion is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)
Old 3rd December 2008, 09:59 AM
CE - Ambassador
 
sauravgoswami's Avatar
 
Join Date: 26th February 2008
I'm a Crazy Electronics Engineer
Location: India
Posts: 1,307
Send a message via Yahoo to sauravgoswami
Default Re: How to calculate ROM size.

buddy,if your programme is not fitting in a ROM of a particular microcontroller you can use an external ROM,memory should not be your issue!!!!
__________________
Be HaPpY !!!! U can GET me @ saurav@crazyengineers.com
sauravgoswami is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does ANYONE knows how to size a vacuum breakers in pipelines? rahuljha Other Engineering Trades 4 27th April 2009 02:10 PM
eMachines' $300 EL1200 desktop: "the size of a dictionary" CE-InFocus CE - InFocus 0 11th October 2008 04:31 AM
How to increase Clipboard size 4IPacino Computer Science & IT Engineering 1 28th July 2008 06:36 PM
Calculate the magnitude and phase angle of the circuit impedence Raith Electrical & Electronics Engineering 6 4th March 2008 07:50 PM
window Size pagalguy Computer Science & IT Engineering 0 18th October 2007 02:10 PM


All times are GMT +6.5. The time now is 02:14 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
Member comments are owned by the poster. Copyright © 2005-2009 CrazyEngineers.com. All rights reserved.

Advertisements