Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
Write data in EEPROM while flashing
Pranav B. Mar 21, 2017 at 10:59 AM (10:59 hours)
Staff: Johnny N.

  • Hi,

    I want to write some data in the EEPROM while flashing. What command and syntax should I use to modify algorithm to write that data on address in the EEPROM.

    Thanks
    Pranav




    Comments

    • Hi Pranav,

      Are you trying to program some data into blank EEPROM or are you trying to keep some data that is already there from being erased?

      If it is the former, you should just program it with our EEPROM algorithm. If it is the latter, you can make modifications to the algorithm to preserve data.

      What MCU are you programming?

      Regards,
      Johnny
      P&E

  • Hi Johnny,

    I am using MM9z1_638(s12Z).

    I want to do first part. I want to set some flag in EEPROM while flashing. I don't want to change my code. Is there any way I can edit the flashing algorithm to set those flags while flashing.

    Where can I find that EEPROM algorithm?

    Thanks,
    Pranav

    • I'm not quite sure what you are trying to do. Do you want to write some registers? Which registers and what are their addresses in memory?

Add comment


   Want to comment? Please login or create a new PEMicro account.







© 2017 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement