2 Replies Latest reply on May 5, 2014 7:44 AM by user_1377889

    write data to the E2PROM, ruining the program area

    @qq.com.6

       I used CY8C24533,CY8C27643 and CY8C29666, but only CY8C29666 save data to the E2PROM, if the address is wrong, the program area will be destroyed, such as digital controls are not displayed, the program can not run. Many similar situations happen, I need to address one by one to try, such as 

         

      save six bytes of data should be: E2PROM_E2Read (0, SAVE, 6); 

         

      but I need wirte :

         

             E2PROM_E2Read (1, & SAVE [0], 1); 

         

             E2PROM_E2Read (7, & SAVE [1], 1); 

         

             E2PROM_E2Read (12, & SAVE [2], 1); 

         

             E2PROM_E2Read (18, & SAVE [3], 1); 

         

             E2PROM_E2Read (28, & SAVE [4], 1); 

         

             E2PROM_E2Read (58, & SAVE [5], 1); 

         

      who can help me???