Search Engine www.edaboard.com

476 Threads found on edaboard.com: Eeprom Code
There is a issue regarding code in eeprom. while in debug mode it was showing issue at " if(I2C_transfer(i2cHandle, &i2cTransaction)) " it was not going inside i2c_transfer. I am sharing the code above. please give me a solution to fix it. I modified the i2ctmp007 example code and wrote eeprom by removing (...)
There is a issue regarding code in eeprom. while in debug mode it was showing issue at " if(I2C_transfer(i2cHandle, &i2cTransaction)) " it was not going inside i2c_transfer. I am sharing the code above. please give me a solution to fix it. I modified the i2ctmp007 example code and wrote eeprom by removing (...)
Hi I am working Interface eeprom 24C08 with AT89C2051 controller. I wrote some code for Read/Write the Values(0 to 9) in 24C08. I am starting with Just counter program which shows Read/Write Values in BCD 7 segment. Here Problem is for first time it works well when I press P3^5 button.After enter into forloop It wont execute the Read/write o
Hi I am working to interface eeprom and 89c2051.I am started with counter program (0-9)values display in BCD 7 segment. When I pressed button P3^5 ,R/W process works well.After that in my For loop it wont Write Data in eeprom.I dont know where I am going wrong?I anyone know the reason share with me.Here I attached my code (...)
Dear all, Im using PIC18F4550, im writing some data to eeprom. Then read form the eeprom and write in to another memory.(Just Check) i could not find any error in my code . Please give me some suggestion. in proteus i'm seasoning eeprom data. Here is the code. // PIC18F4550 Configuration Bit Settings (...)
I am using 24LC00 eeprom to store a counter value. Only is counter value is in valid range the device will work. On device startup I am reading this 1 byte counter value. What happens if somebody cuts the I2C tracks of eeprom from the MCU ? If MCU reads the eeprom what will be the returned value ? I have written code suct (...)
I am using PIC18F13K22 to make a project. See attached picture ? What is eeprom code protection and eeprom Write protection eeprom code protection enabled means I can't write to eeprom in run time but data in eeprom can be used. Right ? (...)
I want to store the data when POWER loss or Down. So I connected to the interrupt Pin with help of diode I used 1000uf/25V capacitor to store the power to write eeprom DATA. But interrupt working only when Gnd to VCC trigger but in my case trigger will be VCC to GNd. I attached My circuit and code also.Please Find it, Example code: (...)
Hi arunbharathi.arasu; Your function eeprom_Write() is wrong. Have to wait until the writing is done. Try this one: void eeprom_Write() { EECON1bits.EEPGD = 0; //Points to eeprom EECON1bits.CFGS = 0; //Points to Flash and eeprom EECON1bits.WREN = 1; //eeprom Write Enable bit (...)
Your questions are as usual a bit confusing. You complained from the start that you are having issues with the eeprom, which is apparently being updated after each booting of the uC, however there is no access to this memory in the code above. if you press the reset button 20 or 50 times the device stops functioning and you have to rest
In general, compilers provide directives for programming user defined values on eeprom. I guess this settings supersede the IDE configuration, but you could check on your code if there could be happening conflict on both.
for(v = 0; v<12; v++) { write_eeprom(v,mac); delay_ms(20); } change write_eeprom(v,mac); to write_eeprom(v,0xFF); In other words, just write a fixed value to the eeprom, I think 0xFF is the default for blank eeprom but you can (...)
Hi, This is Ramanan and I would like to interface I2C compatible eeprom (AT24C04) with Spartan3E FPGA..... I have written VHDL code for writing a byte in eeprom but nothing available in that location of eeprom, So kindly help me to complete this task,,,, I have given the VHDL code below,,,, I really (...)
Also be careful of making frequent updates to a value in EPROM ( which I assume is actually an eeprom). Normally eeproms have a fairly limited number of erase/write cycles (typically in the 100,000's) and if you are trying to write to the eeprom after each button press then this could be exhausted in a fairly short perio
Hello I have to program cortex M4 microcontroller with eeprom to receive and send some bytes. I should use bit fields to program it or complete byte registers such as TW_CR? mem
It's probably being bit manipulated in that Cypress USB microcontroller code. Based on the datasheet it has an 8051 embedded in it and the code is run from RAM, eeprom, or an external memory device. I'd wager that the original board designer let the PCB layout person to pin swap on that bus to make routing easier. I'd also wager the (...)
Hi, First check eeprom read & write cycle, if it is correct then you can go for GPIO functionality.
Hello, this is my first Project with microchip microcontrollers. I have to develop a emulated eeprom over embedded flash, and I am using the microchip aplication note AN1095, but it does not work properly. This is developed for C30 compiler, and I have to use XC16. I have been able to compile and execute the code, but when I test the (...)
Hi, Is that eeprom is internal (or) external one?? specify what you want to achieve?
Hi, We need more information.(HF RFID is wireless, not SPI) What eeprom device is it? Does it contain a write protect feature? (Sw or hw) Are there other devices on the SPI bus? **** Klaus