1 2 3 Previous Next 34 Replies Latest reply on Aug 9, 2019 4:15 AM by SudheeshK_26

    S29GL256S10DHV020  is not writing to the FLASH .

    CHKA_4329876

      Chip is not writing to the FLASH location .

       

      I am using NOR FLASH S29GL256S10DHV020 and programming a FLASH BYTE .  using following steps , but non of the data is written .

       

          uint16_t *base_addr = (uint16_t *)0x60000000;

          uint16_t *pa = (uint16_t *)0x60000100;

          uint16_t data = 0x1234;

       

       

        *( (uint16_t *)base_addr + 0x555 ) = 0x00AA;   /* write unlock cycle 1            */

        *( (uint16_t *)base_addr + 0x2AA ) = 0x0055;   /* write unlock cycle 2            */

        *( (uint16_t *)base_addr + 0x555 ) = 0x00A0;   /* write program setup command     */

        *( (uint16_t *)pa )                = data;     /* write data to be programmed     */

       

        1 2 3 Previous Next