Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

data storage in EEPROM by PIC microcontrollers.

Status
Not open for further replies.

bikash123

Member level 2
Joined
Feb 19, 2012
Messages
48
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Tezpur University
Activity points
1,672
Dear friends, How to store the data in EEPROM at 10 bits , what will be its programme in microc for Pic microcontrollers, plz if any one have knowledge plz help me.
 

Which PIC? I think mechanisms are different amongst different device families?
 

i am using internal eeprom of this microcontrollers.

---------- Post added at 09:36 ---------- Previous post was at 09:35 ----------

so, i need to know what is the programme. Plz any one is known help me.
 

The mikroC Pro for PIC compiler provides the following functions for EEPROM read and write operations:

unsigned short EEPROM_Read(unsigned short address) :- returns a byte from the specified address

void EEPROM_Write(unsigned short address, unsigned short data) :- writes the data at the specified address
https://embedded-lab.com/blog/?p=2547
 

My advice: get the datasheet, read about write sequence, read up on how to include asm inside mikroc code, use this info to perform write and read. I remember that for example C16 and C18 and C30 don't have routines/functions/library tu use eeprom, u need to write your own functions (which is generally what i do, because Microchip libraries have caused me many hours of hair pulling... and they **** bigtime IMO)
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top