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
Hello! I wrote some data in eeprom, but each time I download a program from the debugger, those data are erased (values=0xFF). I need those data to be retained. I searched, the emulator settings but still no luck. I use Mplab X v3.40 with ICD3 emulator and the MCU is a PIC18F25K20. I tried all the combinations with the three settings seen below,
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 period of time after which (...)
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 all, i need a small help from you all.... i am trying to interface AT24C32 eeprom with 89S52. my problem is it works perfectly with proteus stimultion but when i tried to built the circuit it give me an error... code... #include #include #include //For using sbit sda=P1^7; sbit scl=P1^6;
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?
I want to interface with eeprom of (sensor tag UHF RFID) using MCU Microchip by applying SPI. But I cannot write data into eeprom of sensor tag. These are my code: #define SEN PORTC.B1 #define WRITE 0x0000 #define READ 0x4000 #define PAGE_WR 0x0800 unsigned int uiTemp=0; //Write function for the SPI interface void SL90