CrazyEngineers
  • shambhu
    shambhu

    MemberDec 1, 2008

    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.:roll:
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • silverscorpion

    MemberDec 2, 2008

    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.
    Are you sure? This action cannot be undone.
    Cancel
  • sauravgoswami

    MemberDec 2, 2008

    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!!!!
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register