Which pic has a big flash program memory?


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2006
    Location
    Iran
    Posts
    94

    Default Which pic has a big flash program memory?

    Hi,
    i have written a program about 1000 lines and it's hex file is more than 4k so i can't use 16F873A but i use 16F877A.so i have these two questions:
    1- if my program is being more than 8K what should i do?

    2- i used 16F877A instead of 16F873A. but i just need 28 pin micro so i have
    alot of extra pin.so it is effect on the cost of the project because an engineer should do the project with less cost.so whould i do for this?

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by amindzo
    Hi,...and it's hex file is more than 4k so i can't use 16F873A but i use 16F877A.so i have these two questions:
    1- if my program is being more than 8K what should i do?...

    Are you using PBP and Code Studio?
    If yes, how many "words" do you get when you compile your code?
    Remember that the "words used" changes from PIC to PIC.

    If you compile a code for 16F873A, you get say 200 words, but you may get more if you compile the exact same code for 16F877A.

    Thus, you should not look at the size of the HEX file, but the "words used".


    ---------------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    Join Date
    May 2006
    Location
    Del Rio, TX, USA
    Posts
    343


    Did you find this post helpful? Yes | No

    Default

    Start Here. Take your pick. Quite a few (28) in the 96K-128K range. Not so many (11) in the 128K-256K range. To get a large program memory size, you will need to go with an 18 series pic. Use can use the parametric search features to get the pin count/memory size/feature set you desire.

    Steve

  4. #4
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    amindzo, Look at using an 18F252 then in the future you can upgrade to an 18F2620....

    Dave Purola,
    N8NTA

  5. #5
    Join Date
    Aug 2006
    Location
    Iran
    Posts
    94


    Did you find this post helpful? Yes | No

    Default

    Hi,
    i use micro code studio picbasic2.41.
    my program was about 6355 word.

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. Strange pic 16f877a memory loss
    By DavyJones in forum General
    Replies: 23
    Last Post: - 6th July 2009, 20:27
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. IC2 pic 18f452 program problems
    By MrSafe in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 20th September 2007, 18:55
  5. New PIC Flash products
    By svesa in forum Adverts
    Replies: 0
    Last Post: - 9th July 2003, 12:51

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

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