w1 command does not write

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • w1 command does not write

      Hello all,
      I would like to write tiny address ranges in the EEPROM.
      The W1 command seems to work according to the display but when I read it out afterwards it has not been written.

      What am I doing wrong?

      best regards
      Raphael


      Script:
      mem8 0x80401, 1
      mem8 0x80402, 1
      mem8 0x80403, 1
      mem8 0x80404, 1
      w1 0x80404, 0x2D
      mem8 0x80401, 1
      mem8 0x80402, 1
      mem8 0x80403, 1
      mem8 0x80404, 1
      Images
      • problem.PNG

        16.89 kB, 573×430, viewed 49 times
    • Hi,

      EEPROM is non-volatile memory and cannot necessarily be written like RAM.
      It depends on the actual MCU if a special write sequence is needed.
      If a special write sequence is needed, you either need to perform it manually, or make sure that J-Link is aware of the fact that writing to this addr. needs special treatment to become effective.

      What MCU do you use?
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.