Internal eeprom acces with Atmega16

Started by Yannick in comp.arch.embedded11 years ago 6 replies

I have a problem with using the internal eeprom of the atmega16. I am using codevision C and in the help file they say to do something like this...

I have a problem with using the internal eeprom of the atmega16. I am using codevision C and in the help file they say to do something like this : //declare global eeprom a=0; then then you can write the eeprom with changing the value for a , the eeprom adress is the adress the compiler has given soo you should not worry about that. but this doesnt work, in my opinion due that ever...


Log runtime to EEPROM?

Started by Bubb in comp.arch.embedded11 years ago 10 replies

I want to log the total runtime of an application to an EEPROM. But I must have a secure method to do that if the application get turned of at...

I want to log the total runtime of an application to an EEPROM. But I must have a secure method to do that if the application get turned of at that moment when I write the data to the EEPROM. The runtime is going to be saved to the EEPROM about every 30 minutes or so. Any suggestions? I thought of an idea where i save the runtime at two different locations in the EEPROM +...


How to use the EEPROM on MC9S12XDP512?

Started by jeasey in comp.arch.embedded8 years ago 4 replies

Hi,Everyone, NOW,I use XDP512. I can not use the Internal EEPROM of XDP512 after serveral EEPROM wrting,erasing and reading test. Could...

Hi,Everyone, NOW,I use XDP512. I can not use the Internal EEPROM of XDP512 after serveral EEPROM wrting,erasing and reading test. Could anyone give me how to initialize the Internal EEPROM . It is best if procedure,i can learn it. Thinks!!


EEPROM page writes???

Started by ssubbarayan in comp.arch.embedded10 years ago 1 reply

Hi all, This is again a follow up on EEPROM discussion I had previously a few days back.Regarding I2C based EEPROM I recently came across...

Hi all, This is again a follow up on EEPROM discussion I had previously a few days back.Regarding I2C based EEPROM I recently came across an application note from Microchip company (Document name AN709). The note says : "FORCING INTERNAL RESET VIA SOFTWARE In all designs it is recommended that a software reset sequence be sent to the EEPROM as part of the microcontrollers power up seque...


Accessing external I2C EEPROM with Cypress EZ-USB dev kit

Started by galapogos in comp.arch.embedded10 years ago 1 reply

Hi, I have the Cypress FX2LP development kit, and according to the manual, I can select either large EEPROM(Microchip 24LC128) for simulation...

Hi, I have the Cypress FX2LP development kit, and according to the manual, I can select either large EEPROM(Microchip 24LC128) for simulation or small EEPROM(Microchip 24LC00) for debugging. Since I'm still in my development stage, I'm debugging the firmware, so I'm choosing small EEPROM. The problem is that I wish to address another I2C EEPROM chip in my firmware, a Microchip 24AA08. Acco...


Initializing RTL8019AS in C

Started by Trespasser in comp.arch.embedded10 years ago 1 reply

Hi, I can start a RealTek 8019AS network interface controller IC when it has the 9346 EEPROM attached, but can't get it going without the...

Hi, I can start a RealTek 8019AS network interface controller IC when it has the 9346 EEPROM attached, but can't get it going without the EEPROM. I know it can be done, though. Anyone have a C code example of how to initialise the 8019AS NIC to start without the serial EEPROM? Regards,


IAR linker: too smart

Started by Dirk Zabel in comp.arch.embedded11 years ago 15 replies

Hi, I am using the IAR toolchain for our Renesas M16C based project. The device uses a lot of configuration data which are stored within an...

Hi, I am using the IAR toolchain for our Renesas M16C based project. The device uses a lot of configuration data which are stored within an eeprom. In order to define the placement, I have something like this: eeprom.c: #pragma dataseg="E2PROM_DATA" #define extern /* empty */ #include "eeprom.h" #pragma dataseg=default /* EOF */ and eeprom.h: extern __no_init unsigned char MBUS_exist...


PIC16F628: what's the addr of EEPROM?

Started by Michael in comp.arch.embedded13 years ago 6 replies

Where in the docs is the starting address of EEPROM defined?? A program I wrote a year or so ago has EEPROM data ORG'd and DEFINED at...

Where in the docs is the starting address of EEPROM defined?? A program I wrote a year or so ago has EEPROM data ORG'd and DEFINED at 0x1200, but I have no idea were I got that address! Having a senior moment, I guess. Michael


What is preferable for storing parameters FLASH or on-chip EEPROM ?

Started by yossi_sr in comp.arch.embedded12 years ago 6 replies

Hi All, Where it is preferable to store log/history parameters: in FLASH or in on-chip EEPROM ? I am using AT89C51ED2 8-bit MCU from...

Hi All, Where it is preferable to store log/history parameters: in FLASH or in on-chip EEPROM ? I am using AT89C51ED2 8-bit MCU from Atmel. It has 2k EEPROM on-chip and 64kB Flash. EEPROM programming features: 1) On-chip 2048 Bytes EEPROM. 2) Supports only Byte programming ( no page programming). 3) Programming of each byte 10msec-17msec(Atmel says). 4) 100K write cycles. Flash progr...


Problems Booting TMS320VC5509A from serial EEPROM

Started by Felix Collins in comp.arch.embedded13 years ago 1 reply

Hi All, I am having difficulties getting my TMS320VC5509A to boot from serial eeprom. I can successfully boot from USB. I can write and read...

Hi All, I am having difficulties getting my TMS320VC5509A to boot from serial eeprom. I can successfully boot from USB. I can write and read the EEPROM and it appears that the data is being stored in it correctly. I can use the same boot table to boot from USB. When I try to boot from the EEPROM the application does not start properly. Using a Flexds JTAG emulator I have read out part ...


Cypress FX2 EEPROM image won't run

Started by LeftSpin in comp.arch.embedded11 years ago 2 replies

Cypress technical support has been really horrible, I hope someone here can help. I have a program for the FX2LP part. It runs fine when...

Cypress technical support has been really horrible, I hope someone here can help. I have a program for the FX2LP part. It runs fine when loaded with the Keil debug monitor, but does not run when loaded via CyConsole, or loaded into EEPROM. For the EEPROM, I'm using this command line: hex2bix -i -c 0x00 -f 0xC2 -o test.iic test.hex I have looked at the EEPROM image in the prom burn...


ATMega128 -- Difference between flash/eeprom

Started by Ben Nguyen in comp.arch.embedded14 years ago 2 replies

Im trying to learn microprocessors, and Im a bit confused about flash vs eeprom. 1. Does my program that I download (via ISP ribbon cable) go...

Im trying to learn microprocessors, and Im a bit confused about flash vs eeprom. 1. Does my program that I download (via ISP ribbon cable) go into the EEPROM or the FLASH? 2. Can my user program use the EEPROM at run-time or must it be programmed ahead of time? 3. How does a bootloader work? (If I store a bootloader in flash, will I need the ISP connector to program the chip anymore...


i2c coding problem

Started by tanu in comp.arch.embedded11 years ago 1 reply

Hi all I am using ATmega128 controller and using i2c bus eeprom to increase its memory space . I have i2c header file in my codevision avr and...

Hi all I am using ATmega128 controller and using i2c bus eeprom to increase its memory space . I have i2c header file in my codevision avr and i used them and change that accordingly but when i m reading my eeprom i m geting nothing i think that my code is either not able to generate the clock pulse or not able to write the data into eeprom i m not getting ,how to genrate the clk ? #in...


Sistema antimanomissione e Cancellazione Eeprom

Started by .::[ IchiGeki ]::. in comp.arch.embedded13 years ago 4 replies

Salve, ho la necessit? di realizzare un piccolo circuito con una eeprom che dovrebbe essere utilizzato come sistema antimanomissione. In...

Salve, ho la necessit? di realizzare un piccolo circuito con una eeprom che dovrebbe essere utilizzato come sistema antimanomissione. In pratica verrebbe collegato ad un miniPC inserito all'interno di un contenitore metallico che se aperto dovrebbe far scattare un interruttore e cancellare una eeprom. Al primo avvio del PC andrei a leggere il contenuto della eeprom e mi accorgerei se il ...


AVR (AT90S2313) EEPROM

Started by Tony Smith in comp.arch.embedded13 years ago 6 replies

I have been doing a lot of searching and reading, but haven't found what I need. I would like to store values at a specific EEPROM address and...

I have been doing a lot of searching and reading, but haven't found what I need. I would like to store values at a specific EEPROM address and to have an initial value. I know how to declare a varible that will compile to be programmed in the EEPROM starting at address 0.... But I want to specify the address where it will be programmed. Any docs or examples handy? Thanks


AVR EEPROM writing

Started by Anonymous in comp.arch.embedded12 years ago 12 replies

Hi, I have a problem when using gcc-avr to write internal eeprom. I used library calls eeprom_write_word, eeprom_write_byte,...

Hi, I have a problem when using gcc-avr to write internal eeprom. I used library calls eeprom_write_word, eeprom_write_byte, eeprom_write_block to write the content. However, I found that when I reset the device by powering off and on again, the eeprom reading is refill to be all 0xff. Have I missed some procedures such as saving the content? Thanks!


Cypress EZ-USB FX2 firmware downloading

Started by galapogos in comp.arch.embedded9 years ago 6 replies

Hi, I have a Cypress EZ-USB FX2 USB mass storage device. AFAIK firmware is only allowed to be downloaded to either the external EEPROM...

Hi, I have a Cypress EZ-USB FX2 USB mass storage device. AFAIK firmware is only allowed to be downloaded to either the external EEPROM or internal RAM when the device either 1) Does not have an EEPROM, or 2) Has an empty EEPROM without any existing firmware When this happens, the host PC will load the Cypress generic driver(Cypress FX2 - No EEPROM(0x8613) rather than the default USB Ma...


Saving data in CPU on-chip EEPROM

Started by yossi_sr in comp.arch.embedded12 years ago 36 replies

Hi all, What happens if during saving the parameter in byte of EEPROM( it takes about 5-10 msec)the Power Down occurs.What should be in the...

Hi all, What happens if during saving the parameter in byte of EEPROM( it takes about 5-10 msec)the Power Down occurs.What should be in the byte programmed ? The same value/ The next value/ Undetermined? I developed the diesel controller card which uses AT89C51ED2 processor( 2K bytes onchip EEPROM).The system manages failure table for various parameters and in case of failure the appropriate...


Example code in C for R/W data to EEPROM

Started by comus in comp.arch.embedded12 years ago 2 replies

Hello all, i'm trying to write data into the EEPROM of the PIC 16f877A. I use the CCS-Compler Version 3.219 and an 16f877a with 368kb...

Hello all, i'm trying to write data into the EEPROM of the PIC 16f877A. I use the CCS-Compler Version 3.219 and an 16f877a with 368kb memory. as i want to use the eeprom to store static data i want write into and read from the eeprom. i used the "internal_eeprom.h" from ccs but with no result, i can't read an write anything. can someone post some code example to read and write? do i ...


24C02 and 24C64

Started by Rohan in comp.arch.embedded10 years ago 2 replies

Hi All, I have a routine for 24c02 which works very well. Now on the same PCB I mounted a 24c64 in place of 24c02 EEPROM. The old Read/Write...

Hi All, I have a routine for 24c02 which works very well. Now on the same PCB I mounted a 24c64 in place of 24c02 EEPROM. The old Read/Write routine didn't work on this. I am unable to find what could be the possible problem. What are the changes which have to be made when migrating a code from 24c02 EEPROM to 24c64 EEPROM. Thanks in advance, Rohan