+ Reply to Thread
Results 1 to 3 of 3

How to calculate ROM size.

This is a discussion on How to calculate ROM size. within the Electrical & Electronics Engineering forums, part of the CE : Technical Discussions category; Hi, can any one Please tell me how to calculate ROM size for the source code. E.g:- Imagine my source ...

  1. #1
    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.

  2. #2
    CE - Star
    CeOM April '09
    silverscorpion's Avatar
    Join Date
    8th October 2007
    I'm a crazy: Electronics and communication engineer

    Location
    Bangalore
    Posts
    1,130

    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.

  3. #3
    CE - Ambassador sauravgoswami's Avatar
    Join Date
    26th February 2008
    I'm a crazy: Electronics engineer

    Location
    India
    Posts
    1,385

    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

+ Reply to Thread

LinkBacks (?)


Similar Threads

  1. Does ANYONE knows how to size a vacuum breakers in pipelines?
    By rahuljha in forum Other Engineering Trades
    Replies: 4
    Last Post: 27th April 2009, 02:10 PM
  2. Replies: 0
    Last Post: 11th October 2008, 04:31 AM
  3. How to increase Clipboard size
    By 4IPacino in forum Computer Science & IT Engineering
    Replies: 1
    Last Post: 28th July 2008, 06:36 PM
  4. Calculate the magnitude and phase angle of the circuit impedence
    By Raith in forum Electrical & Electronics Engineering
    Replies: 6
    Last Post: 4th March 2008, 08:50 PM
  5. window Size
    By pagalguy in forum Computer Science & IT Engineering
    Replies: 0
    Last Post: 18th October 2007, 02:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts