PEmicro logo
Cart New Account Login

Logo image
HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
search inside all forums
What is the difference between nxp_s32k144f512m15_sector_erase.arp and freescale_s32k144f512m15_pflash_dflash_eeprom.arp ?
. Apr 18, 2021 at 09:50 PM (21:50 hours)
Staff: Juan S.

  • Hi,PEmicro 
    My question is as described in the title, details can be found in the link "https://community.nxp.com/t5/S32K/Preserve-memory-lead-to-debug-fail/m-p/1259447";.
    Looking forward to your replay.

    Best,
    Bob




    Comments

  • Hi Bob, 

    The nxp_s32k144f612m15_sector_erase.arp does not perform a mass erase when the "Erase Module" command is executed.

    The freescale_s32k144f512m15_pflash_dflash_eeprom.arp performs a mass erase when the "Erase Module" command is executed.

    Regards,
    Juan See

    • Hi Juan See,

      Thank you for your quick reply.
      1.So that means that if I want to preserve memory range I have to use nxp_s32k144f612m15_sector_erase.arp, right?
      2.Is there any other difference in how they use it?

      Regards,
      Bob

  • Hi Bob, 

    Sorry, please let me clarify.

    The "Erase Module" command in the nxp_s32k144f612m15_sector_erase.arp will erase the pflash and dflash of the s32k144 by performing a sector by sector erase until all of the pflash and dflash are erased. It will not perform a mass erase meaning that your partition and eeprom data, if there are any, remains intact.

    The "Erase Module" command in the freescale_s32k144f512m15_pflash_dflash_eeprom.arp performs a mass erase. The mass erase will erase pflash,dflash, eeprom, and partition data.

    You can preserve memory with either .arp files. For more information on how to preserve memory, please visit the following link:

    http://www.pemicro.com/blog/index.cfm?post_id=47

    Regards,
    Juan See

    • Hi Juan See,

      1.Mass erase will erase dflash(when it all as eeprom) and partition dataļ¼Œand nxp_s32k144f612m15_sector_erase.arp does not.Is that so?

      2.When I use S32 Design Studio for ARM 2.2, only preserve a segment PFlash through IDE's debug configuration interface, without directly editing .arp files, nxp_s32k144f612m15_sector_erase.arp is used normally, but freescale_s32k144f512m15_pflash_dflash_eeprom.arp will check the error.

      "Programmed

      Error communicating to target processor -try a RESET.

      CMD>VC

      Error loading CRC-16 algorithm.

      Error loading CRC-16 algorithm. Error loading CRC-16 Algorithm. Error verifying flash of device

      Error occured during Flash programming.

      PEmicro GDB Launch Failure: Error during flash programming. Terminating debug session."

      3.Is it not necessary to update the checksum with command-line ADDCRC utility if I preserve range through IDE's debug configuration interface instead of modify the configuration section to change the behavior of the programming algorithm, as link:

      http://www.pemicro.com/blog/index.cfm?post_id=47

      Is it convenient for you to provide the explanation documents related to the two algorithm files? This kind of question-and-answer communication is inefficient.

      Regards,
      Bob

    • Hi Juan See,

      Are you still paying attention to this issue?
      Looking forward to your answer.

      Thank you very much.

      Regards,
      Bob

  • Hi Bob, 

    1. Yes nxp_s32k144f512m15_sector_erase.arp does not.

    2. If you are using S32DS ARM 2.2, then please ignore http://www.pemicro.com/blog/index.cfm?post_id=47. The preserve range functionality is built into the IDE. In S32DS ARM 2.2, can you please make sure you are using the latest version of our plugin? Please see the following blog for instructions on how to update the plugin: http://www.pemicro.com/blog/index.cfm?post_id=124

    3. It is not necessary to update or modify the .arp file in S32DS ARM 2.2.

Add comment


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







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