12F675 Datasheet


Closed Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2006
    Posts
    91

    Default 12F675 Datasheet

    I'm still trying to figure out how to read everything on the datasheets.
    I was looking for the memory address on a 12F675 to write to. I searched the forum and found that its $C0 and it works... This helps me solve the current problem but where on the datasheet is that found so I can find it myself next time?


    Thanks,
    Daniel

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Hi Daniel,

    What is it you're trying to write to?

    Address $C0 is smack dab in the middle of Bank1 GPR's, which really points to $40 in Bank0.

    There's no reason to be writing anything directly to that address.

    I could understand if you were using that address to move the curson of an LCD display. But that's independant of the chip you're using.
    <br>
    DT

  3. #3
    Join Date
    Aug 2006
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    Oh ok well that address I actually found on another thread tried it and it worked. Where does it start and where in the datasheet does it state it?

    Thanks,
    Daniel

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Look in section 2 (MEMORY ORGANIZATION)

    Figure 2-2 shows the whole layout of GPR's and SFR's.
    <br>
    DT

  5. #5
    Join Date
    Aug 2006
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    I have seen this figure and looked over it many times the problem is I don't really understand it. Maybe you could point me in the right direction for a better breakdown of what all that means?

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Well, other than a complete description of how microcontrollers work, I don't know what I could say that would help you out.

    Each location shown in that table has a corresponding section in the datasheet. I guess you'll just need to spend some time reading it.

    If you were to answer the question ...
    What is it you're trying to write to?
    I could go from there. But an all encompassing explanation is beyond the scope of this forum.
    DT

  7. #7
    Join Date
    Aug 2006
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    What is it you're trying to write to?
    Maybe this will be a direct enough question to explain what im looking for.
    I want to write a byte to the chip to basically save a setting when the chip has no power. Looking at 2.2 What part of that memory is what im looking for.


    Since you pointed me to the table and said the info is there somewhere, I will try looking up everything on that table I don't know what it is and try and figure out what memory im looking for. I know that $C0 is in the range im looking for pickit calles it EEdata memory.


    Thanks,
    Daniel

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


    Did you find this post helpful? Yes | No

    Default

    Daniel,
    Quote Originally Posted by geckogrotto
    I want to write a byte to the chip to basically save a setting when the chip has no power. Looking at 2.2 What part of that memory is what im looking for.
    This will really help Darrel out as he helps you!

    But, in the mean time, take a look at section 8.0 "Data EEPROM Memory". This is the memory that will retain it's data, regardless of power.

    Also, look at the PBP commands that access the EEPROM (EEPROM, DATA, WRITE and READ)

    Steve
    Last edited by SteveB; - 2nd October 2006 at 02:37.

  9. #9
    Join Date
    Aug 2006
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by SteveB
    Daniel,


    This will really help Darrel out as he helps you!

    But, in the mean time, take a look at section 8.0 "Data EEPROM Memory". This is the memory that will retain it's data, regardless of power.

    Also, look at the PBP commands that access the EEPROM (EEPROM, DATA, WRITE and READ)

    Steve

    Steve this is the point in the right direction I was looking for
    I should have been more clear the first time, I just thought that someone would know where $C0 was and know what I was trying to do

    Thank you for the help.

    Daniel

Similar Threads

  1. 12F675 and LM35 coding issue
    By Bobbo_ZA in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 10th March 2010, 15:52
  2. 12F683 vs 12F675.
    By sccoupe in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th July 2009, 04:58
  3. 18LF6720 Datasheet ???
    By Darrel Taylor in forum Off Topic
    Replies: 3
    Last Post: - 13th August 2007, 23:51
  4. 2.4Ghz Transceiver Module (TRW-24G)
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th June 2006, 15:16
  5. 12F675 Calibration?
    By brodin in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th January 2004, 01:41

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