Jalen Zhang

Problem of EEPROM Write and read

Discussion created by Jalen Zhang on Nov 20, 2010
Latest reply on Nov 22, 2010 by bigmac

Hi all:

     The MCU is S08EL16, development tool is CW6.3, use "Full chip simulation"

     Please see the attached project file, the questions:

             Q1: In the main.c file, I want to read a data from the eeprom, when I read data from the address 0x1700, the return value is 0x33 but not 0x22, why this happend?

             Q2: I also want to wrtie a data(0x55) into the address 0x1700 use the function " write_eeprom_byte", but it's not work, why?

 

    Thanks!

Outcomes