flash memory vs EEPROM

Started by rashid husain in Piclist15 years ago 4 replies

Hi All, A very naive question. What is the different between flash memory and EEPROM? What do you install in flash memory and...

Hi All, A very naive question. What is the different between flash memory and EEPROM? What do you install in flash memory and EEPROM? As far as I know, flash for program code, and variable in EEPROM or RAM. tq.. hole


Writing to PIC16F626 EEPROM

Started by Sasha in Piclist12 years ago 2 replies

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...

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...


18F252 Base Address - Data EEPROM

Started by tfitzhome in Piclist16 years ago 1 reply

What is the base address for the Data EEPROM on the 18F252. I'm trying to convert some code from a 16F873 and I have, in my...

What is the base address for the Data EEPROM on the 18F252. I'm trying to convert some code from a 16F873 and I have, in my assembly file, code to write, at programming time, some of the Data EEPROM values. On the 16F873, ORG 2100h puts you at the beginning of Data EEPROM.


Another 18F Data EEPROM Question

Started by Rick in Piclist15 years ago

Yes, it's me again. MC makes some cryptic statement about embedding data EEPROM data in the "hex file" by declaring it with a DE...

Yes, it's me again. MC makes some cryptic statement about embedding data EEPROM data in the "hex file" by declaring it with a DE directive with an ORG of 0xF00000. Does this mean that bytes declared from 0xF00000 through 0xF003FF get burned into EEPROM at 0x000 through 0x3FF respectively? And if so, why does MPASM insist


PIC EEPROM Data to PC

Started by Paul in Piclist14 years ago 3 replies

Hi. How would i go about transfering my EEPROM Data from the PIC to either a PC or Floppy/Memory Card? I am currently looking on the Net for...

Hi. How would i go about transfering my EEPROM Data from the PIC to either a PC or Floppy/Memory Card? I am currently looking on the Net for info, but just wondering if anyone has done this or have any information to help me? Cheers Paul


eeprom write errors?

Started by Phil in Piclist15 years ago 21 replies

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...

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.


reading program from external EEPROM

Started by Michael Millikan in Piclist16 years ago 11 replies

Hi 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


24LC00 Microchip EEPROM

Started by erf1779 in Piclist15 years ago 1 reply

I recently came across a number of these 24LC00 T/SN Microchip EEPROM's. Could anyone tell me if these have much use anymore, or...

I recently came across a number of these 24LC00 T/SN Microchip EEPROM's. Could anyone tell me if these have much use anymore, or are they only used in specific applications? I unfortunately don't have the time I would like to have to work with them. I appreciated any infor


Eeprom in 16F648A

Started by wantoniet in Piclist16 years ago 5 replies

Hi, 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

Started by izzy_w_2004 in Piclist15 years ago 1 reply

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...

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


16F628 on-chip eeprom problem

Started by Vladimir M Skrbic in Piclist16 years ago 2 replies

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...

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


PIC 18F452 and internal EEPROM - corrupted

Started by ffvi...@gmail.com in Piclist11 years ago

Hello, I'm new at group, i'm getting some problem with corrupted internal EEPROM on PIC18F452, i believe that it could be happening with some...

Hello, I'm new at group, i'm getting some problem with corrupted internal EEPROM on PIC18F452, i believe that it could be happening with some connection with electrical noise. is it the answer? what more could be happening? it's a C program and this just happened in the outside, here in the lab i'm not able to reproduce the problem. I have tried almost everything. Tks for the help! :-) ...


Can I share an external EEPROM

Started by Floyd Sense in Piclist11 years ago 1 reply

I have an existing PIC based application and need to add RS232 communications to a PC. Due to timing constraints and other factors, I can't add...

I have an existing PIC based application and need to add RS232 communications to a PC. Due to timing constraints and other factors, I can't add that code to the existing PIC and intend to do the RS232 work with an additional and separate PIC. What I need is a way to occasionally pass information between the two. I've never used an external EEPROM chip and wonder if there's a way to share access...


18F Data EEPROM "Refresh" Questions

Started by Rick in Piclist15 years ago 4 replies

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...

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

Started by Chris in Piclist16 years ago 2 replies

Just 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

Started by Basic Poke in Piclist12 years ago 2 replies

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...

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

Started by Scott Kellish in Piclist16 years ago 3 replies

  Hi 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


Data EEPROM Write Problem

Started by ramaraju.elec in Piclist16 years ago

DEAR MEMEBERS  please see the follwing c code. i want to wrire some data in EEPROM in perticular address and ...

DEAR MEMEBERS  please see the follwing c code. i want to wrire some data in EEPROM in perticular address and  afterwords i want read from same location.


Programming AT25/45 serial flash data chip

Started by kjh_us in Piclist11 years ago

I'd like to know how one goes about programming a serial flash data chip such as the AT25/45 or SST25 8pin dip? These chips have an SPI...

I'd like to know how one goes about programming a serial flash data chip such as the AT25/45 or SST25 8pin dip? These chips have an SPI interface. But can I simply use an off the shelf EEPROM programmer like the Olimex PG2? I have few programmers in my stock bin Olimex PG2 with 8pin EEProm socket. Warp13 Kanda ISP (with 5x2) socket. If you have recommendations or tips, please...


Selecting a chip need help

Started by ychan_my in Piclist15 years ago 1 reply

i need a otp 20Mhz with ADC chip for my project ,can someone please recommend a pic chip for me thanks ( ofcouse the cheapest the better ...

i need a otp 20Mhz with ADC chip for my project ,can someone please recommend a pic chip for me thanks ( ofcouse the cheapest the better and a flash tpye or eeprom type for testing the code ) thanks in advance.