Forums Search for: EEPROM
Writing to PIC16F626 EEPROM
inDears, I need help on a code to write to the PIC16F628 EEPROM. I should write decimal '11' in the first two bytes of the EEPROM address. I...
Dears, I need help on a code to write to the PIC16F628 EEPROM. I should write decimal '11' in the first two bytes of the EEPROM address. I have tried a sample code but I need confirmation of the Interrupt controls EEIF and EEIE have and where to put them; main program or in the Interrupt Service Routine program. BSF STATUS,RP0 ;select bank1 MOVLW 0x00 ;EEPROM address MOVWF...
eeprom write errors?
inI'm using a 16F648A and am seeing some errors when writing data to eeprom. I put some verification code in my eewrite routine and...
I'm using a 16F648A and am seeing some errors when writing data to eeprom. I put some verification code in my eewrite routine and am frequently getting back something different from what I wrote. Usually, this happens once every 4-10 writes and appears to be somewhat random.
Eeprom in 16F648A
inHi, I was working at my last project and found a problem so very interesting. My equipament used a 16f628 and i upgraded to...
Hi, I was working at my last project and found a problem so very interesting. My equipament used a 16f628 and i upgraded to 16f648a cause i required more flash memory. On step to write in internal eeprom, i realized that sometimes wrote right, sometimes not. After tw
Problems reading data Eeprom using Pic16F88
inI have been trying to use the 'read data EEPROM' feature of the 16F88, but can't get it to work. I have used the sample...
I have been trying to use the 'read data EEPROM' feature of the 16F88, but can't get it to work. I have used the sample code from Microchip's datasheet. Attached is the (entire) ASM file that I am using. It should (I had hoped) store the value h'BB' in the regist
reading program from external EEPROM
inHi there, I assume that people have attempted to have a PIC execute code that it reads from an external EEPROM (when the PIC...
Hi there, I assume that people have attempted to have a PIC execute code that it reads from an external EEPROM (when the PIC itself doesn't have enough memory.) Does anyone have a good reference on how I might do this? I was thinking of loading an instruction from the
16F628 on-chip eeprom problem
inHello everyone, I'm new to the group and I'd like to ask a question. I've recently moved all my projects from 16F84 to 16F628...
Hello everyone, I'm new to the group and I'd like to ask a question. I've recently moved all my projects from 16F84 to 16F628 mcu's. Yesterday I've tried to write data to the internal (on-chip) eeprom of 16F628 using PicBasic Pro with little (or no ;) sucess. Would anyone care
18F Data EEPROM "Refresh" Questions
inI'm thinking about using the Data EEPROM in an 18F8620, and can't figure out what the datasheet is trying to say. I hope someone can...
I'm thinking about using the Data EEPROM in an 18F8620, and can't figure out what the datasheet is trying to say. I hope someone can clarify. Section 7.8 says, in part "Frequently changing values will typically be updated more often than specification D124. If this is not the case, an array refresh must be performed. For this reason, variables
Programming 16f872 data eeprom memory
inJust checking to see if anyone knows of any problem with the microchip method of programming eeprom data (not program) bytes using ...
Just checking to see if anyone knows of any problem with the microchip method of programming eeprom data (not program) bytes using the method described in the 16f872 datasheet. I can't work out where the problem is, but my code crashes and freezes when I use their example. Wonder
I2C data line (SDA) goes low and hangs
inI have a PIC18F66J50 with a Microchip EEPROM on the I2C port. Sometimes when I program the MCU using MPLAB, the I2C data line (SDA) goes low...
I have a PIC18F66J50 with a Microchip EEPROM on the I2C port. Sometimes when I program the MCU using MPLAB, the I2C data line (SDA) goes low and stays there. Any read or write I then attempt results in a bus collision error and doesn't work. Here is the sequence of events: * cycle power to the MCU/EEPROM board * compile with MPLAB * program the target device with MPLAB. There is cha...
16F628 Data EEPROM Write Problem
inHi Everyone, I'm having some intermittent problems writing to the data eeprom on 16F628 parts. Below is the code...
Hi Everyone, I'm having some intermittent problems writing to the data eeprom on 16F628 parts. Below is the code I'm using. Once in a while, probably on
ICD-2 Problems
inHi! I?m trying to program a circuit... 16F877 and then run it in debugmode... But it doesn?t work... getting the errors listed...
Hi! I?m trying to program a circuit... 16F877 and then run it in debugmode... But it doesn?t work... getting the errors listed below... Does anyone know how to get it to work... Programming Target... ...Erasing Part ...Programming EEPROM Memory
Having to turn off UART continuous receive
inI have a program in my 16F88 that reads data from a GPS (through the hardware UART), stores it in RAM, parses it, and then writes...
I have a program in my 16F88 that reads data from a GPS (through the hardware UART), stores it in RAM, parses it, and then writes certain items to an external EEPROM. What I've discovered, though, is that I have to turn off continuous receive (CREN=0) before I do my processing ro
PIC12F629,JDM programmer and LINUX ??
inHi everybody, does anyone know,how i can programm a PIC12F629 with the JDM programmer under Linux? I added a PIC12F629 entry in...
Hi everybody, does anyone know,how i can programm a PIC12F629 with the JDM programmer under Linux? I added a PIC12F629 entry in hexfile.cc and could then read a PIC12F629 (only Flash,not EEPROM) but when i try to programm it i get verify errors... is there a tool for Linux to p
K149 programmer
inHi, Recently I have just constructed a K149 programmer to program the 93LC46B serial eeprom. I have removed the USB portion. ...
Hi, Recently I have just constructed a K149 programmer to program the 93LC46B serial eeprom. I have removed the USB portion. I have read on the website that this programmer is capable of programming 16F877 chip too. However, although my programmer board can be detec
Troubleshooting I2C
inI have been trying to write to a 24LC1025 EEPROM which uses an I2C interface without success. The software I2C routines that I am using are the...
I have been trying to write to a 24LC1025 EEPROM which uses an I2C interface without success. The software I2C routines that I am using are the same ones that I have successfully used with a Dallas 1307 clock chip and were downloaded from the Dallas website back a few years ago. Using my Pickit2 programmer I wrote some data into the 24LC1025 chip and using these routines I am able to read the data...
PIC Audio project
inHi! Is there any project or tutorial with schematic and code on the web to generate or play audio using PIC? I need to store some...
Hi! Is there any project or tutorial with schematic and code on the web to generate or play audio using PIC? I need to store some audio data in EEPROM and wants to play using PIC. Is this possible for small midi files. I would basically like to imitate ring tone playing as in mobile using PIC.&n